通达信财神到副图指标
通达信副图超赢(附源码)
通达信副图超赢(附源码)通达信副图超赢(附源码)JJ:=(CLOSE+HIGH+LOW)/3;A:=EMA(JJ,10);B:=REF(A,1);STICKLINE(A>B,A,B,5,0),COLORYELLOW;STICKLINE(A<B,A,B,5,0),COLORBLUE;M1:EMA(CLOSE,3);M2:EMA(CLOSE,8);M3:EMA(M2,13);M4:EMA(M2,55);VAR1:=EMA(M3,55);M5:EMA(M4,81), COLORRED,LINETHICK2;VAR2:=(REF(HIGH,1)+REF(LOW,1))/2;VAR3:=MA(CLOSE,21)+2*STD(CLOSE,21);DRAWICON(CROSS(VAR2,VAR3),HIGH*1.035,2);DRAWTEXT(CROSS(VAR2,VAR3),HIGH*1.02,'卖出'), COLORGREEN;VAR4:=REF(CLOSE,1);VAR5:=SMA(MAX(CLOSE-VAR4,0),7,1)/SMA(ABS(CLOSE-VAR4),7,1)*100;VAR6:=CROSS(79,VAR5);VAR7:=FILTER(VAR6,4);DRAWICON(VAR7,HIGH*1.035,2);DRAWTEXT(VAR7,HIGH*1.02,'卖出'), COLORGREEN;A7:=(2*C+H+L)/4;VAR10:=LLV(LOW,34);VAR11:=HHV(HIGH,34);SK:=EMA((A7-VAR1)/(VAR2-VAR1)*100,7);SD:=EMA(0.667*REF(SK,1)+0.333*SK,5);DRAWTEXT(IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>6/10 AND VOL>=1.5*MA(VOL,5) ANDCOUNT(SK>=SD,3) AND REF(LOW,1)=LLV(LOW,120),1,0),LOW,'●买进') ,COLORRED;DRAWTEXT(IF(COUNT(CLOSE<REF(CLOSE,1),13)/13>6/10 ANDCOUNT(SK>SD,6) AND REF(LO,5)=LLV(LOW,120) AND REF(CLOSE>=OPEN,4) ANDREF(CLOSE>OPEN,3) AND REF(CLOSE>OPEN,2) AND REF(OPEN>CLOSE,1) ANDOPEN>REF(CLOSE,1),1,0),LOW,'●买进'), COLORRED;D:=MA(CLOSE,80)-MA(CLOSE,10)/3;DRAWTEXT(IF(CLOSE<D AND VOL/240>MA(VOL,5)/240 AND CLOSE>REF(CLOSE,1)*1.08AND CLOSE<MA(CLOSE,13)*1.3,1,0),LOW,'●抄底'),COLORRED;注:平台目前更新的有关公式源码(会有收费,该副图凭1元打赏可得·),有意可联系V,喜欢加关注,感谢点赞支持,后市若有可期,希望越来越好!。
通达信资金流向副图指标(内含选股公式及使用说明)
通达信资金流向副图指标(内含选股公式及使用说明)指标说明:一般情况下资金流向与指数涨跌幅走势非常相近,但在以下两种情况下,资金流向指标具有明显的指导意义:1、当天的资金流向与指数涨跌相反。
比如该板块全天总体来看指数是下跌的,但资金流向显示全天资金净流入为正。
2、当天的资金流向与指数涨跌幅在幅度上存在较大背离。
比如全天指数涨幅较高,但实际资金净流入量很小。
3、当资金流向与指数涨跌幅出现以上背离时,资金流向比指数涨跌幅更能反映市场实际状况。
4、买股票要看四条线集中一起,尽量别买四条线发散的股票。
5、三十、四十、五十和六十线在零轴上面才是个股的主升浪行情,也是强势行情。
四根线在零轴以下运行最好是做波段。
选股公式使用说明:选股公式说明:用周增幅比选出的股票,能不能买要看:周流向金叉BB,三十、四十、五十、六十四条线方向向上。
再参考其它指标研判。
三十、四十、五十、六十线在零轴上方为强势。
副图指标源码:流通:=AMOUNT/VOL;PJJ:=DMA((HIGH+LOW+CLOSE*2)/4,0.9);JJ:=REF(EMA(PJJ,3),1);QJJ:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));XVL:=IF(CLOSE>OPEN,QJJ*(HIGH-LOW),0-QJJ*(HIGH-CLOSE+OPEN-LOW));ZLL:=VOL/CAPITAL;HSL1:=IF(ZLL>10,10,ZLL);HSL:=(XVL/20)/1.15;攻击:=((HSL*0.55+(REF(HSL,1)*0.33))+(REF(HSL,2)*0.22));STICKLINE(HSL*0.4>=0,HSL*0.4*1.5,0,1,0),COLOR808080;STICKLINE(HSL*0.4<0,HSL*0.4*1.5,0,1,0),COLOR808080;GJJ:=EMA(攻击,8);LLJX:=EMA(攻击,3);流向:LLJX,LINETHICK0,COLOR0000FF;STICKLINE(流向>0,流向,0,4,0),COLOR0000FF;STICKLINE(流向<0,流向,0,4,0),COLORFF0000;基线:GJJ,COLOR00FFFF;ZJLL:=REF(LLJX,1);QZJJ:=((LLJX-ZJLL)/ZJLL)*100;增幅比:=IF(LLJX>0 AND ZJLL<0,ABS(QZJJ),qzjj);力度:=HSL/1000;周流向:SUM(LLJX,5),LINETHICK1;BB:REF(周流向,1);ZQZJJ:=((周流向-BB)/BB)*100;周增幅比:IF(周流向>0 AND BB<0,ABS(ZQZJJ),ZQZJJ),color808080;三十:SUM(LLJX,30),COLORYELLOW,LINETHICK4;四十:SUM(LLJX,40),COLORBLUE,LINETHICK5;五十:SUM(LLJX,50),COLOR008800,LINETHICK5;六十:SUM(LLJX,60),COLORRED,LINETHICK5;指标说明:一般情况下资金流向与指数涨跌幅走势非常相近,但在以下两种情况下,资金流向指标具有明显的指导意义:1、当天的资金流向与指数涨跌相反。
通达信主力筹码一目了然副图指标
通达信主力筹码一目了然副图指标这是一个用来监控主力动向很优秀的指标,有100线上下的柱线显示资金进出情况,20线上灰白柱线提示散户筹码,彩色柱线提示主力筹码运行,从吸货拉升到出货(由蓝-黄-红-绿),散兵坑予示底部,20线下深蓝柱提示关注,亮红柱提示建仓。
三根线与柱线综合观察分析,就可以获得极隹的买卖点。
指标源码:{价量线主线快线}价量:3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),COLOR00CCFF,NODRAW;主线:(((价量-LLV(价量,27))/(HHV(价量,27)-LLV(价量,27)))*(4))*(25),COLORCYAN,NODRAW;快线:(((价量-LLV(价量,9))/(HHV(价量,9)-LLV(价量,9)))*(4))*(25),COLOR55AAFF,NODRAW;RSV:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;K1:=SMA(RSV,3,1);D1:=SMA(K1,3,1);KK:=INTPART(K1);DD:=INTPART(D1);TFXXS:=KK+DD;{变异KD风险系数}TGLXS:=(TFXXS-REF(TFXXS,1));{变异KD乖离系数:资金流向}{红}XXX(TGLXS>0 AND TGLXS>REF(TGLXS,1),100,TGLXS+100,2.5,0),COLOR0000A A;STICKLINE(TGLXS>0 AND TGLXS>REF(TGLXS,1),100,TGLXS+100,1.5,0),COLOR0022C C;STICKLINE(TGLXS>0 AND TGLXS>REF(TGLXS,1),100,TGLXS+100,0.5,0),COLOR0055FF ;{粉}XXX(XXX<0 AND TGLXS>REF(TGLXS,1),100,TGLXS+100,2.5,0),COLORAA00B B;STICKLINE(TGLXS<0 ANDTGLXS>REF(TGLXS,1),100,TGLXS+100,1.5,0),COLORCC22B B;STICKLINE(TGLXS<0 AND TGLXS>REF(TGLXS,1),100,TGLXS+100,0.5,0),COLORFF55B B;{黄}XXX(TGLXS>0 ANDXXX<=REF(TGLXS,1),100,TGLXS+100,2.5,0),COLOR00A AFF;XXX(TGLXS>0 ANDXXX<=REF(TGLXS,1),100,TGLXS+100,1.5,0),COLOR00C CFF;XXX(TGLXS>0XXX<=REF(TGLXS,1),100,TGLXS+100,0.5,0),COLOR00FFFF; {蓝}XXX(XXX<0XXX<=REF(TGLXS,1),100,TGLXS+100,2.5,0),COLORFF7700; XXX<0XXX<=REF(TGLXS,1),100,TGLXS+100,1.5,0),COLORFFAA22 ;STICKLINE(TGLXS<0XXX<=REF(TGLXS,1),100,TGLXS+100,0.5,0),COLORFFFF55; STICKLINE(TGLXS=0 ANDREF(TGLXS,1)>=0,100,TGLXS+100,8,0),COLORBROWN;STI CKLINE(TGLXS=0 AND REF(TGLXS,1)<0,100,TGLXS+100,8,0),COLORWHITE;ZLCM: =EMA(WINNER(CLOSE)*70,3);{主力筹马预算}SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);{散户筹码估算}ZSHTL:=SHCM/(ZLCM+SHCM)*100;{散户套牢筹码系数} ZZLKP:=ZLCM/(ZLCM+SHCM)*100;{主力控盘筹码系数} ZSHJJ:=EMA(ZSHTL,55);{散户警戒}ZZLJJ:=EMA(ZZLKP,55);{主力警戒}散兵坑:IF(ZZLKP<=10,ZZLKP,ZZLKP),COLORMAGENTA,NODR AW;{散户套牢筹码}XXX(C>0,ZSHTL,ZZLKP,2,0),COLOR;{散户筹码警戒}XXX(ZSHJJ>REF(ZSHJJ,1),ZSHTL,ZSHJJ,2,0),COLORC0C0C0;{主力控盘筹码}{粉}STICKLINE(ZZLKP>REF(ZZLKP,1) AND ZZLKP>20,ZZLKP,20,2.5,0 ),COLORAA00BB;STICKLINE(ZZ LKP>REF(ZZLKP,1) AND ZZLKP>20,ZZLKP,20,1.5,0 ),COLORCC22BB;STICKLINE(ZZ LKP>REF(ZZLKP,1) AND ZZLKP>20,ZZLKP,20,0.5,0 ),COLOREE44BB;{蓝}XXX(ZZLKP<=REF(ZZLKP,1) AND ZZLKP>20,ZZLKP,20,2.5,0 ),COLORFF7700;STICKLINE(ZZL KP<=REF(ZZLKP,1) AND ZZLKP>20,ZZLKP,20,1.5,0 ),COLORFFAA22;STICKLINE(ZZL KP<=REF(ZZLKP,1) AND ZZLKP>20,ZZLKP,20,0.5 ,0 ),COLORFFFF55;{亮红} STICKLINE(ZZLKP>REF(ZZLKP,1) AND ZZLKP<20,ZZLKP,0,2.5,0 ),COLOR131FFD;STICKLINE(ZZLK P>REF(ZZLKP,1) AND ZZLKP<20,ZZLKP,0,1.5,0 ),COLOR5050FF;STICKLINE(ZZLK P>REF(ZZLKP,1) AND ZZLKP<20,ZZLKP,0,0.5,0 ),COLOR7E7EFF;{深蓝}XXX(ZZLKP<=REF(ZZLKP,1) AND ZZLKP<20,ZZLKP,0,2.5,0 ),COLORAA0000;STICKLINE(ZZLKP<=REF(ZZLKP,1) AND ZZLKP<20,ZZLKP,0,1.5,0 ),COLORCC0000;STICKLINE(ZZLK P<=REF(ZZLKP,1) AND ZZLKP<20,ZZLKP,0,0.5 ,0 ),COLORFF0000;{主力筹马警卫} {黄}STICKLINE(ZZLJJ>REF(ZZLJJ,1),ZZLKP,ZZLJJ,2.5,0 ),C OLOR00AAFF;STICKLINE(ZZLJJ>REF(ZZLJJ,1),ZZLKP,ZZLJJ,1.5,0 ),C OLOR00CCFF;STICKLINE(ZZLJJ>REF(ZZLJJ,1),ZZLKP,ZZLJJ,0.5,0 ),C OLOR00FFFF;{红}XXX(ZZLKP>ZZLJJ AND ZZLJJ>50,ZZLKP,ZZLJJ,2.5,0 ),COLOR0000AA;STICKLINE(Z ZLKP>ZZLJJ AND ZZLJJ>50,ZZLKP,ZZLJJ,1.5,0 ),COLOR0022CC;STICKLINE(Z ZLKP>ZZLJJ AND ZZLJJ>50,ZZLKP,ZZLJJ,0.5 ,0 ),COLOR0055FF;{红} XXX(ZZLKP>ZZLJJ AND ZZLJJ<50 AND ZZLKP>50ANDZZLJJ>REF(ZZLJJ,1),ZZLKP,50,2.5,0 ),COLOR0000AA;XXX(ZZLKP>ZZLJJ AND ZZLJJ<50 AND ZZLKP>50 ANDZZLJJ>REF(ZZLJJ,1),ZZLKP,50,1.5,0 ),COLOR0022CC;XXX(ZZLKP>ZZLJJ AND ZZLJJ<50 AND ZZLKP>50 ANDZZLJJ>REF(ZZLJJ,1),ZZLKP,50,0.5 ,0 ),COLOR0055FF;{铸顶风险区}{绿}STICKLINE(ZZLKP>80,ZZLKP,ZZLKP-(ZZLKP-80)/2,2.5,0),COLOR00AA00;STICKLINE(ZZLKP>80,ZZLKP,ZZLKP-(ZZLKP-80)/2,1.5,0),COLOR00CC00;STICKLINE(ZZLKP>80,ZZLKP,ZZLKP-(ZZLKP-80)/2,0.5,0),COLOR00FF00;{散兵坑}XXX(ZZLKP<=10,ZZLKP,0,5,0),COLORDD00DD;100,COLORGREEN;80,COLORGREEN;{0,COLORGREEN;}{主线快线}价量,COLOR0CC0FF,LINETHICK2;主线,COLOR00FFAA,LINETHICK2;快线,LINESTICK,COLORFF68DD;100线高低的柱线,表现资金收支情形。
通达信副图指标公式源码大全
VAR19:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;VAR20:=VAR18<=25 AND VAR19<-95 AND VAR1F>20 AND VAR1B<-30 AND VAR1E<30 AND VAR11-CLOSE>=-0.25 AND VAR15<22 AND VAR16<28 AND VAR17>50;STICKLINE(VAR20,0,50,10,0),LINETHICK2,COLORBLUE;DRAWTEXT(CROSS(VAR20,0.5) AND COUNT(VAR20=1,10)=1,60,'百万导弹?'),LINETHICK7,COLORWHITE;2、分类资金A:=IF((CLOSE>126.32),(AMOUNT)/(100000),VOL);主力:MA(A,4),LINETHICK0,COLORYELLOW;游资:MA(A,8),LINETHICK0,COLOR00FF00;大户:MA(A,16),LINETHICK0,COLORRED;散户:MA(A,32),LINETHICK0,COLORF0F000;主比:ABS(((主力)/(主力 + 游资 + 大户 + 散户))*(100)),LINESTICK,COLORYELLOW;游比:ABS(((游资)/(主力 + 游资 + 大户 + 散户))*(100)),LINESTICK,COLOR00FF00;大比:ABS(((大户)/(主力 + 游资 + 大户 + 散户))*(100)),LINESTICK,COLORRED;散比:ABS(((散户)/(主力 + 游资 + 大户 + 散户))*(100)),LINESTICK,COLORF0F000;警戒线:MA(A,180),COLORFF66FF,LINETHICK1;STICKLINE((主力 > 0),0,主力,3,0),COLOR009CFF;STICKLINE((主力 > 0),0,主力,2.8,0),COLOR009CFF;STICKLINE((主力 > 0),0,主力,2.5,0),COLOR00C0FF;STICKLINE((主力 > 0),0,主力,1.5,0),COLOR00D1FF;STICKLINE((主力 > 0),0,主力,1,0),COLOR00EAFF;STICKLINE((主力 > 0),0,主力,0.7,0),COLORYELLOW;STICKLINE((游资 > 0),0,游资,3,0),COLOR00C100;STICKLINE((游资 > 0),0,游资,2.8,0),COLOR00CA00;STICKLINE((游资 > 0),0,游资,2.5,0),COLOR00D300;STICKLINE((游资 > 0),0,游资,1.5,0),COLOR00DB00;STICKLINE((游资 > 0),0,游资,1,0),COLOR00EA00;STICKLINE((游资 > 0),0,游资,0.7,0),COLORGREEN;STICKLINE((大户 > 0),0,大户,3,0),COLOR1020AA;STICKLINE((大户 > 0),0,大户,2.8,0),COLOR1020BB;STICKLINE((大户 > 0),0,大户,2.5,0),COLOR1020CC;STICKLINE((大户 > 0),0,大户,1.5,0),COLOR1020DD;STICKLINE((大户 > 0),0,大户,1,0),COLOR1020EE;STICKLINE((大户 > 0),0,大户,0.7,0),COLORRED;STICKLINE((散户 > 0),0,散户,3,0),COLORFF7700;STICKLINE((散户 > 0),0,散户,2.8,0),COLORFF8800;STICKLINE((散户 > 0),0,散户,2.5,0),COLORFF9900;STICKLINE((散户> 0),0,散户,1.5,0),COLORFFAA00; STICKLINE((散户> 0),0,散户,1,0),COLORFFBB00;STICKLINE((散户 > 0),0,散户,0.7,0),COLORLIBLUE;3、黑马起爆点VAR1:=(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100;VAR2:=(CLOSE-LLV(LOW,43))/(HHV(HIGH,43)-LLV(LOW,43))*100;VAR3:=SMA(VAR2,2,1);天:100+(-ABS(VAR1)),COLORRED;下:SMA(VAR3,2,1);无:ABS(VAR1),COLORGREEN;敌:50,COLORFFAA00,LINETHICK3;A:80;B:20;买:STICKLINE(CROSS(下,无),3,20,2,0),COLORRED,LINETHICK1;STICKLINE(CROSS(下,无),20,25,2,0),COLORFF9900,LINETHICK1;DRAWTEXT(CROSS(下,无),30,' '),COLORFFFFCC;卖:STICKLINE(CROSS(下,天),70,90,2,0),COLORRED,LINETHICK1;STICKLINE(CROSS(下,天),90,99,2,0),COLORFF9900,LINETHICK1;DRAWTEXT(CROSS(下,天),70,' '),COLORFFFFCC;选股2:IF(CROSS(下,20),1,0);DRAWICON((CROSS(下,20) ),20,1);DRAWICON((CROSS(下,20) ),-20,25);WOL:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW; STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,WOL,0,3,-1),COLORFFFFFF;VOLUME:VOL,VOLSTICK;V5:MA(VOLUME,5);V10:MA(VOLUME,10);V135:MA(VOLUME,135);VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));主买:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),V OL/2)),COLORRED,POINTDOT;主卖:IF(CLOSE>OPEN,VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,VAR1*(HIGH-LOW),V OL/2)),COLOR00FF00,POINTDOT;STICKLINE(主买>0,0,主买,2,0),COLORRED;{STICKLINE(主卖>0,主买,VOL,2,1),COLOR00FF80;}STICKLINE(主买<REF(主买,1)AND 主买>0,0,主买,2,0),COLOR00FFFF;换手:VOL/CAPITAL*100,POINTDOT;二十日换手:SUM(换手,20);5、起涨点换手率%:VOL/CAPITAL*100,LINETHICK0,COLORYELLOW;量比:V/(REF(MA(V,5),1)),LINETHICK0,COLORRED;VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;虚拟量比:VVOL/(REF(MA(V,5),1)),LINETHICK0,COLORRED;获利比例%:WINNER(C)*100,COLORLIBLUE;涨幅%:(C-REF(C,1))/REF(C,1)*100,LINETHICK0;换手率%1:=换手率%>5;量比1:=量比>1.5 OR 虚拟量比>1.5;获利比例%1:=获利比例%>70;涨幅%1:=涨幅%>3;启动:=换手率%1 AND 量比1 AND 获利比例%1 AND 涨幅%1 ;起涨点:IF(启动,101,0)COLORRED,LINETHICK2;6、庄家建仓VAR1:=REF(LOW,1);VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),13,1)*4;VAR3:=EMA(VAR2,13);VAR4:=LLV(LOW,34);VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3);主力进场:STICKLINE(VAR5>REF(VAR5,1),0,VAR5,7,0 ),COLORRED;7、出色超赢JRH:=HHV(C,2);JRL:=LLV(C,2);MA3:=MA(CLOSE,3);YTSL:=(3*CLOSE+LOW+OPEN+HIGH)/6;VAR1:=(CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2));VAR2:=(REF(VAR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); VAR3:=(REF(VAR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); VAR4:=(REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); VAR5:=(REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); VAR6:=(REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); VAR7:=(REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); VAR8:=(REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); VAR9:=(REF(VAR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); VARA:=(REF(VAR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); VARB:=(REF(VARA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); VARC:=(REF(VARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); VARD:=(CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2));VARE:=(REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); VARF:=(REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); VAR10:=(REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); VAR11:=(REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); VAR12:=(REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); VAR13:=(REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); VAR14:=(REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); VAR15:=(REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR16:=(REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR17:=(REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR18:=(REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR19:=((REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1)) AND VAR1);VAR1A:=((REF(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,1)) AND VARD);红色持股:VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,COLOR0000FF,NODRAW;离场:=IF(红色持股,JRL,DRAWNULL);明离场价:=离场,COLORFF99FF,NODRAW;今离场价:=REF(离场,1)COLOR0000FF,NODRAW;青色观望:VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,COLORFFFF00,NODRAW;进:=IF(青色观望,JRH,DRAWNULL);明进场价:=进,COLOR33AACC,NODRAW;今进场价:=REF(明进场价,1),COLORFF0000,NODRAW;黄色低买:VAR19,COLOR33AACC,NODRAW;洋红离场:VAR1A,COLORMAGENTA,NODRAW;急跌关注:(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100<-14,COLORWHITE,NODRAW;上市日期年:REF(YEAR,BARSCOUNT(CLOSE)-1),NODRAW,COLOR0000FF;月:REF(MONTH,BARSCOUNT(CLOSE)-1),NODRAW,COLORFF00FF;日:REF(DAY,BARSCOUNT(CLOSE)-1),NODRAW,COLOR00FFFF;STICKLINE(ISLASTBAR AND (红色持股OR REF(红色持股,1)=1),今离场价,今离场价,30,1),COLOR0000FF;STICKLINE(ISLASTBAR AND (青色观望OR REF(青色观望,1)=1),今进场价,今进场价,30,1),COLOR00FF00;STICKLINE(C>=O,L,H,0,0),COLOR0000CC;STICKLINE(C<O,L,H,0,0),COLOR999900;STICKLINE(1,C,O,3.5,0),COLOR858500;STICKLINE(C>=O,C,O,3.5,0),COLOR0000E5;STICKLINE(红色持股,CLOSE,O,2.8,0),COLOR000055;STICKLINE(红色持股,CLOSE,O,2,0),COLOR000088;STICKLINE(红色持股,CLOSE,O,1.5,0),COLOR0000AA;STICKLINE(红色持股,CLOSE,O,1,0),COLOR0000CC;STICKLINE(红色持股,CLOSE,O,0.5,0),COLOR0000EE;STICKLINE(青色观望,CLOSE,O,2.8,0),COLOR555500;STICKLINE(青色观望,CLOSE,O,2,0),COLOR888800;STICKLINE(青色观望,CLOSE,O,1.5,0),COLORAAAA00;STICKLINE(青色观望,CLOSE,O,1,0),COLORCCCC00;STICKLINE(青色观望,CLOSE,O,0.5,0),COLOREEEE00;CO:=(C-O);STICKLINE(急跌关注,O,C-CO/2,2.8,0),COLOR555555;STICKLINE(急跌关注,O,C-CO/2,2,0),COLOR888888;STICKLINE(急跌关注,O,C-CO/2,1.5,0),COLORAAAAAA;STICKLINE(急跌关注,O,C-CO/2,1,0),COLORCCCCCC;STICKLINE(急跌关注,O,C-CO/2,0.5,0),COLOREEEEEE;STICKLINE(黄色低买,O,O+CO/3,2.8,0),COLOR335555;STICKLINE(黄色低买,O,O+CO/3,2,0),COLOR338888;STICKLINE(黄色低买,O,O+CO/3,1.5,0),COLOR33AAAA;STICKLINE(黄色低买,O,O+CO/3,1,0),COLOR33CCCC;STICKLINE(黄色低买,O,O+CO/3,0,0),COLOR33EEEE;STICKLINE(洋红离场,O,O+CO/3,2.8,0),COLOR550055;STICKLINE(洋红离场,O,O+CO/3,2,0),COLOR880088;STICKLINE(洋红离场,O,O+CO/3,1.5,0),COLORAA00AA;STICKLINE(洋红离场,O,O+CO/3,1,0),COLORCC00CC;STICKLINE(洋红离场,O,O+CO/3,0.5,0),COLOREE00EE;压力:MA(REF(HHV(C,30),1),2),POINTDOT,COLOR9DFFFF;支撑:MA(REF(LLV(C,30),1),2),POINTDOT,COLORABFF46;PMA:MA(C,5),COLORWHITE,LINETHICK2;IF(PMA>REF(PMA,1),PMA,DRAWNULL),COLORRED,LINETHICK2;IF(PMA<REF(PMA,1),PMA,DRAWNULL),COLORGREEN,LINETHICK2;X:=(3*C+L+O+H)/6;多空线:(20*X+19*REF(X,1)+18*REF(X,2)+17*REF(X,3)+16*REF(X,4)+15*REF(X,5)+14*REF(X,6 )+13*REF(X,7)+12*REF(X,8)+11*REF(X,9)+10*REF(X,10)+9*REF(X,11)+8*REF(X,12)+7*REF(X,13)+6*REF(X,14)+5*REF(X,15)+4*REF(X,16)+3*REF(X,17)+2*REF(X,18)+REF(X,20))/210,COLORFF00FF,LINETHICK2;DD:=多空线<REF(多空线,1);IF(DD,多空线,DRAWNULL),COLOR00FFFF,LINETHICK2;A:=(PMA>多空线);IF(A,多空线,DRAWNULL),COLOR33FF33,POINTDOT,LINETHICK4;RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,9,1);D:=SMA(K,9,1);J:=3*K-2*D;X2:=LLV(J,2)=LLV(J,8);Y:=IF(CROSS(J,REF(J+0.01,1)) AND X2 AND J<20,30,0);DRAWTEXT(CROSS(J,REF(J+0.01,1)) AND X2 AND J<20,LOW*0.98,'★'),COLORYELLOW; 8、彩色成交量STICKLINE(VOL > 0,VOL,0,3,0),COLOR333333;STICKLINE(VOL > 0,VOL,0,2.5,0),COLOR998855;STICKLINE(VOL > 0,VOL,0,1.7,0),COLORBBAA77;STICKLINE(VOL > 0,VOL,0,0.9,0),COLORDDCC99;STICKLINE(VOL > 0,VOL,0,0.04,0),COLORFFEEBB;换手:=VOL/CAPITAL*100,COLORRED;STICKLINE(换手>2 ,VOL ,CAPITAL*0.02,3,0),COLOR00AAAA; STICKLINE(换手>2 ,VOL ,CAPITAL*0.02,2.5,0),COLOR00CCCC; STICKLINE(换手>2 ,VOL ,CAPITAL*0.02,1.7,0),COLOR00EEEE; STICKLINE(换手>2 ,VOL ,CAPITAL*0.02,0.08,0),COLOR00FFFF; STICKLINE(换手>4 ,VOL ,CAPITAL*0.04,3,0 ),COLOR009900; STICKLINE(换手>4 ,VOL ,CAPITAL*0.04,2.5,0 ),COLOR00BB00; STICKLINE(换手>4 ,VOL ,CAPITAL*0.04,1.7,0 ),COLOR00DD00; STICKLINE(换手>4 ,VOL ,CAPITAL*0.04,0.8,0 ),COLOR00FF00; STICKLINE(换手>7 ,VOL ,CAPITAL*0.07,3,0),COLORBROWN;STICKLINE(换手>7 ,VOL ,CAPITAL*0.07,2.5,0),COLOR0000AA; STICKLINE(换手>7 ,VOL ,CAPITAL*0.07,1.7,0),COLOR0000CC; STICKLINE(换手>7 ,VOL ,CAPITAL*0.07,0.8,0),COLOR0000DD;五天均量:MA(VOL,5),COLORRED,LINETHICK0.01;廿天均量:MA(VOL,20),COLORWHITE,LINETHICK0.01;HSS:=V/CAPITAL*100,NODRAW;{显示当日换手}五天换手率:SUM(HSS,5),NODRAW;廿天换手率:SUM(HSS,20),NODRAW;抛压:STICKLINE(CROSS(84,RSI),0 ,VOL,1.5,0),COLORBLUE,LINETHICK5; V24:MA(VOL,24),COLORLIBLUE;V10:MA(VOL,10),COLORRED;V3:MA(VOL,3),COLORLIGRAY;9、涨停回马枪〔有主图〕均价线:=AMOUNT/V/100;C2:=REF(C,1);涨停:=IF(REF(C,1)*1.1-C<0.01 ,1,0);STICKLINE(涨停,0,5,6,0),COLORYELLOW;DRAWTEXT(涨停,8,'涨停'),COLORYELLOW;MA13:=MA(C,13),COLORGRAY;MA21:=MA(C,21),COLORWHITE;支撑线:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4; LC:=REF(CLOSE,1);操作线:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100;趋势线:=SMA(MAX(CLOSE-LC,0),14,1)/SMA(ABS(CLOSE-LC),14,1)*100; 震仓线:=45;震仓线2:=50;逃命线:=80;抄底线:=20;绝底线:=5;PP2:=操作线<震仓线2 AND REF(操作线,1)>震仓线2 ;PP:=操作线<震仓线 AND REF(操作线,1)>震仓线 ;PP3:=操作线<抄底线 AND REF(操作线,1)>抄底线;HH:=COUNT(涨停,13)>=1;STICKLINE(PP2 AND HH,0,5,3,0),COLORRED;STICKLINE(PP AND HH,0,5,3,0),COLORRED;STICKLINE(PP3 AND HH,0,5,3,0),COLORRED;DRAWTEXT(PP2 AND HH,8,'预警'),COLORRED;DRAWTEXT(PP AND HH,8,'预警'),COLORRED;DRAWTEXT(PP3 AND HH,8,'预警'),COLORRED;A:=SMA(L,4,3) ;绿色买入:IF (((A AND REF(PP,1) AND HH) OR (A AND REF(PP3,1) AND HH)),1,0 ); STICKLINE(A AND REF(PP,1) AND HH ,0,10,1,0),COLORGREEN;DRAWICON(A AND REF(PP,1) AND HH,12,1);STICKLINE(A AND REF(PP3,1) AND HH ,0,10,1,0)COLORGREEN;DRAWICON(A AND REF(PP3,1) AND HH,12,1);M1:=MA(CLOSE,1);M2:=(LOW+HIGH+CLOSE)/3;M3:= MA(M2,5);M4:= HHV(M3,10);Z:=HHV((M1<M4),10) OR HHV((M1<M4),10);S:=EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,35)-LLV(LOW,34)),3);DRAWTEXT( FILTER(CROSS(S ,60 ),20),L*0.98,'▲'),COLORYELLOW ; {DRAWTEXT(FILTER( Z,9),H*1.028,'★') ,COLORBLUE;STICKLINE( S>60,O,C,4,0) ,COLORFF9BFB;}STICKLINE( S>60,O,C,2,0) ,COLORRED;{STICKLINE( S>60,O,C,1.5,0) ,COLORFD9BFB; }STICKLINE( S>60,H,L,0,0) ,COLORRED;{STICKLINE( S<60,O,C,4,0) ,COLOR01DC38;STICKLINE( S<60,O,C,2.5,0) ,COLOR01FE41;}STICKLINE( S<60,O,C,2,0) ,COLORGREEN;STICKLINE( S<60,H,L,0,0) ,COLORGREEN;VAR1:MA(CLOSE,5);VAR2:MA(CLOSE,10);VAR3:MA(CLOSE,20);VAR60:MA(CLOSE,60);VAR120:MA(CLOSE,120);VAR4:=OPEN<VAR1 OR OPEN<VAR2 OR OPEN<VAR3;VAR5:=CLOSE>MAX(VAR1,MAX(VAR2,MAX(VAR3,VAR60)));VAR6:=VOL/MA(VOL,30)>1.2;VAR7:=CLOSE/REF(CLOSE,1)>1.049;VAR8:=VAR4 AND VAR5 AND VAR6 AND VAR7;VAR9:=VAR8 AND (REF(BARSLAST(VAR8),1)>60 OR BARSSINCE(VAR8)=0); DRAWICON(VAR9 ,L*0.98,1) ;STICKLINE( VAR9,O,C,6,0) ,COLORYELLOW;STICKLINE( VAR9,H,L,0.6,0) ,COLORYELLOW;11、涨停时间窗〔通达信金融终端副图〕N:=13;WR大于80考虑买:100*(HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N)),LINETHICK0; 均价:AMOUNT/(VOL*100),LINETHICK0,COLORYELLOW;ZT:=C/REF(C,1)>1.097;XH:=FILTER(ZT,13);BH:=BARSLAST(ZT);STICKLINE(ZT,0,L*1,3,0),COLORYELLOW;DRAWTEXT(ZT,L*1.1,'涨停'),COLORF00FF0;VARZT:=BARSLAST(C/REF(C,1)>1.097);AA:=BETWEEN(C,REF(L,BH)*1.01,REF(L,BH)*0.987);STICKLINE(AA,0,L*0.5,2,0),COLORBLUE;DRAWTEXT(AA,L*0.6,'警戒'),COLORWHITE;STICKLINE(AA AND VARZT=2,0,L*0.8,2,0),COLORRED;DRAWTEXT(AA AND VARZT=2,L*0.9,'时间窗'),COLORWHITE;STICKLINE(AA AND VARZT=4,0,L*0.8,2,0),COLORRED;DRAWTEXT(AA AND VARZT=4,L*0.9,'时间窗'),COLORWHITE;STICKLINE(AA AND VARZT=7,0,L*0.8,2,0),COLORRED;DRAWTEXT(AA AND VARZT=7,L*0.9,'时间窗'),COLORWHITE;STICKLINE(AA AND VARZT=12,0,L*0.8,2,0),COLORRED;DRAWTEXT(AA AND VARZT=12,L*0.9,'时间窗'),COLORWHITE;STICKLINE(AA AND VARZT=20,0,L*0.8,2,0),COLORRED;DRAWTEXT(AA AND VARZT=20,L*0.9,'时间窗'),COLORWHITE;。
通达信2指标——买点共振财神到(副图)
RV:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;RG:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;J0:=(HIGH+LOW)/2;QJ:=EMA(J0,3);J1:=IF(CLOSE> QJ,VOL,0);J2:=IF(CLOSE< QJ,VOL,0);量能:IF(CAPITAL< 1,MA(VOL,74),MA(SUM(J1-J2,22),3)),COLOR00DDDD,NODRAW; 趋势:IF(CAPITAL< 1,EMA(量能,360),EMA(量能,21)),COLOR008800,NODRAW;V AR3:=(量能-趋势);V AR44:=SMA(RV,3,1);V AR55:=SMA(VAR44,3,1);STICKLINE(V AR3> 0,20,10,5,1),COLOR0000FF;STICKLINE(V AR3< 0,100,90,10,1),COLOR00FF00;DRAWICON(CROSS(V AR44,V AR55) AND V AR55< 30,2,1);DRAWICON(CROSS(V AR55,V AR44) AND V AR55> 30,97,2);DRAWBAND(VAR55,RGB(0,22,224),V AR44,RGB(255,50,50));遵:IF(V AR55>= V AR44,V AR55,DRAWNULL),COLORRED;守:IF(V AR44>= V AR55,V AR44,DRAWNULL),COLORFF9900;纪:IF(V AR55>= V AR44,V AR44,DRAWNULL),COLOR00FFFF;律:IF(V AR44>= V AR55,V AR55,DRAWNULL),COLOR00FF00;KK:=EMA(SMA(RG,3,1),2),LINETHICK0;DD:=SMA(KK,3,1),LINETHICK0;DRAWBAND(KK,RGB(155,50,50),DD,RGB(0,100,50));持:IF(KK>= DD,KK,DRAWNULL),COLORRED;观:IF(DD>= KK,DD,DRAWNULL),COLORFF9900;股:IF(KK>= DD,DD,DRAWNULL),COLOR00FFFF;望:IF(DD>= KK,KK,DRAWNULL),COLOR00FF00;DRAWICON(CROSS(KK,DD),KK,23);DRAWTEXT(CROSS(V AR44,V AR55) AND CROSS(KK,DD),10,'共振'),COLOR00FFFF;共振点:=(CROSS(V AR44,V AR55) AND CROSS(KK,DD));STICKLINE(共振点> 0,0,30,2,0),COLOR008888;STICKLINE(共振点> 0,0,30,1.5,0),COLOR00AAAA;STICKLINE(共振点> 0,0,30,0.8,0),COLOR00DDDD;STICKLINE(共振点> 0,0,30,0.3,0),COLOR00FFFF;V AR1:=1;V AR2:=((((2*CLOSE)+HIGH)+LOW) / 4);低金叉进:20,COLORFF00FF,LINETHICK2;高死叉出:90,COLORBLUE,LINETHICK2;V AR4:=LLV(LOW,5);V AR5:=HHV(HIGH,4);C1:=(EMA((((V AR2-V AR4)/(VAR5-V AR4))*100),4)*VAR1),COLORFF00FF,LINETHICK2; C2:=(EMA(((0.667*REF(C1,1))+(0.333*C1)),2)*V AR1),COLORFFFFFF,LINETHICK2;条件:=CROSS(C1,C2) AND C1< 40;条件0:=CROSS(C2,C1) AND C1> 90;TJ1:=CROSS(C1,C2);TJ2:=CROSS(C2,C1);TJ3:=CROSS(C1,C2) AND REF(C1,1)< 20;TJ4:=CROSS(C2,C1) AND REF(C1,1)> 80;DRAWTEXT(FILTER((REF(条件,1) AND (REF(LOW,1)> LOW OR TJ2))OR (REF(条件,2) AND (REF(LOW,2)> LLV(LOW,3) OR TJ2))OR (REF(条件,3) AND (REF(LOW,3)> LLV(LOW,4) OR TJ2)),4),70,'止'),COLORRED; {DRAWTEXT(FILTER((REF(条件,1) AND (REF(LOW,1)> LOW OR TJ2))OR (REF(条件,2) AND (REF(LOW,2)> LLV(LOW,3) OR TJ2))OR (REF(条件,3) AND (REF(LOW,3)> LLV(LOW,4) OR TJ2)),4),60,'跌'),COLORRED;} DRAWTEXT(FILTER((REF(条件,1) AND (REF(LOW,1)> LOW OR TJ2)) OR(REF(条件,2) AND (REF(LOW,2)> LLV(LOW,3) OR TJ2))OR (REF(条件,3) AND (REF(LOW,3)> LLV(LOW,4) OR TJ2)),4),65,'买'),COLORRED; DRAWTEXT(条件,20,'买'),COLORRED;STICKLINE(条件,0,20,2,0),COLORRED;DRAWTEXT(条件0,85,'卖'),COLORBLUE;DRAWTEXT(CROSS(C1,75),70,'险区'),COLORGREEN;DRAWTEXT(TJ3,65,'安'),COLORRED;DRAWTEXT(TJ3,60,'买'),COLORRED;DRAWTEXT(TJ4,85,'逃顶'),COLORBLUE;STICKLINE(TJ4,100,80,2,0),COLORGREEN;V AR200:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;V AR300:=SMA(SMA(V AR200,3,1),3,1)/28.57;V AR400:=EMA(V AR300,5);操盘:=3*VAR300-2*V AR400;A1:=CROSS(操盘,V AR300) AND V AR300< 2.1 AND C> O;STICKLINE(A1,20,0,4,0),COLOR770077;STICKLINE(A1,20,0,3,0),COLOR990099;STICKLINE(A1,20,0,2,0),COLORBB00BB;STICKLINE(A1,20,0,1,0),COLORDD00DD;STICKLINE(A1,20,0,0.3,0),COLORFF00FF;DRAWTEXT(A1,30,'财'),COLORFF00FF;★遵守纪律★:100,COLORRED,NODRAW;★交易之魂★:100,COLORRED,NODRAW;。
[转载]通达信主副图指标集锦
[转载]通达信主副图指标集锦好原⽂地址:通达信主副图指标集锦作者:财得海{千载难逢选股}VAR22:=REF(CLOSE,1);VAR23:=SMA(MAX(CLOSE-VAR22,0),7,1)/SMA(ABS(CLOSE-VAR22),7,1)*100;VAR24:=SMA(MAX(CLOSE-VAR22,0),13,1)/SMA(ABS(CLOSE-VAR22),13,1)*100;VAR25:=BARSLAST(VAR24<23)<=3 AND CROSS(VAR23,VAR24);VAR26:=(CLOSE-MA(CLOSE,23))/MA(CLOSE,20)*100<-12.5;VAR27:=LLV(LOW,5);VAR28:=HHV(HIGH,10);VAR29:=EMA((CLOSE-VAR27)/(VAR28-VAR27)*100,4);VAR2A:=EMA(0.667*REF(VAR29,1) 0.333*VAR29,2);千载难逢: 0-(-1)*VAR25 AND VAR26 AND CROSS(VAR29,VAR2A) AND VAR29<=25;{千载难逢低吸}VAR1:=REF(CLOSE,1);VAR2:=SMA(MAX(CLOSE-VAR1,0),18,1)/SMA(ABS(CLOSE-VAR1),13,1)*100;VAR3:=SMA(MAX(CLOSE-VAR1,0),24,1)/SMA(ABS(CLOSE-VAR1),20,1)*100;VAR4:=BARSLAST(VAR3<48)<=3 AND CROSS(VAR2,VAR3);VAR5:=(CLOSE-MA(CLOSE,48))/MA(CLOSE,20)*100<-12.5;VAR6:=LLV(LOW,5);VAR7:=HHV(HIGH,10);VAR8:=EMA((CLOSE-VAR6)/(VAR7-VAR6)*100,4);VAR9:=EMA(0.667*REF(VAR8,1) 0.333*VAR8,2);VARB:=VAR5;低吸: 0-(-1)*VAR4 AND VAR5 AND CROSS(VAR8,VAR9) AND VAR8<=25;{千载难逢枯⽊逢春选股}VARC:=REF(CLOSE,1);VARD:=SMA(MAX(CLOSE-VARC,0),7,1)/SMA(ABS(CLOSE-VARC),7,1)*100;VARE:=SMA(MAX(CLOSE-VARC,0),13,1)/SMA(ABS(CLOSE-VARC),13,1)*100;VARF:=BARSLAST(VARE<43)<=3 AND CROSS(VARD,VARE);VAR10:=(CLOSE-MA(CLOSE,43))/MA(CLOSE,20)*100<-12.5;VAR11:=LLV(LOW,5);VAR12:=HHV(HIGH,10);VAR13:=EMA((CLOSE-VAR11)/(VAR12-VAR11)*100,4);VAR14:=EMA(0.667*REF(VAR13,1) 0.333*VAR13,2);枯⽊逢春:=0-(-1)*VARF AND VAR10 AND CROSS(VAR13,VAR14) AND VAR13<=25;枯⽊逢春选股:枯⽊逢春>0;{难得⼀遇选股}VAR17:=REF(CLOSE,1);VAR18:=SMA(MAX(CLOSE-VAR17,0),7,1)/SMA(ABS(CLOSE-VAR17),7,1)*100;VAR19:=SMA(MAX(CLOSE-VAR17,0),13,1)/SMA(ABS(CLOSE-VAR17),13,1)*100;VAR1A:=BARSLAST(VAR19<33)<=3 AND CROSS(VAR18,VAR19);VAR1B:=(CLOSE-MA(CLOSE,33))/MA(CLOSE,20)*100<-12.5;VAR1C:=LLV(LOW,5);VAR1D:=HHV(HIGH,10);VAR1E:=EMA((CLOSE-VAR1C)/(VAR1D-VAR1C)*100,4);VAR1F:=EMA(0.667*REF(VAR1E,1) 0.333*VAR1E,2);难得⼀遇: 0-(-1)*VAR1A AND VAR1B AND CROSS(VAR1E,VAR1F) AND VAR1E<=25;{对⽐量⽐ DBLB}{N 2,100,11; M 2,100,6}GG:=VOL/SUM(REF(VOL,1),N);ZS:=INDEXV/SUM(REF(INDEXV,1),N);DBLB:GG/ZS;MADBLB:MA(DBLB,M);长短趋势主图Var3:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),18)/4;Var4:=IF(DATE<1091231,IF(Var3>23.16,Var3,0),0);Var5:=Var3<10;Var6:=Var3<2;Var7:=Var5 OR Var6;长期趋势: ZIG(3,19), , COLORBLUE;短期趋势: ZIG(3,6.5), , COLORYELLOW;年线: EMA(CLOSE,250), , COLOR0099FF;三年线: EMA(CLOSE,725), , COLORWHITE;九⽇: EMA(CLOSE,9), , COLOR009090;⼗三⽇: EMA(CLOSE,13), , COLORB0FFFF;七⼗⼆⽇: EMA(CLOSE,72), , COLORRED;IF(CROSS(ZIG(3,13),REF(ZIG(3,13),1)),长期趋势 1,长期趋势-1), COLORRED;{个股⼤盘(120)}{N 1,500,120}个股趋势:MA(C,1)/MA(REF(C,18),18)*100,COLOR0000FF,LINETHICK4;个股风险:MA(FORCAST(个股趋势,20),N),CROSSDOT,COLORFF00FF,LINETHICK2;⼤盘趋势:EMA(INDEXC,1)/MA(REF(INDEXC,18),18)*100,COLORFF9900,LINETHICK2;⼤盘风险:MA(FORCAST(⼤盘趋势,20),N),CIRCLEDOT,COLORCYAN,LINETHICK2; DRAWICON(CROSS(个股趋势,个股风险),个股风险-0.1,13);DRAWICON(CROSS(个股趋势,⼤盘风险),个股风险-0.25,9);DRAWICON(CROSS(⼤盘风险,个股风险),⼤盘风险-0.4,6);PM:=个股趋势,COLOR0000FF,LINETHICK2;K1:=BACKSET(个股趋势IF(K1,个股趋势,DRAWNULL), COLOR00CC33,LINETHICK4;K2:=BACKSET(个股风险IF(K2,个股风险,DRAWNULL),CROSSDOT,COLORFF9900,LINETHICK2;K3:=BACKSET(⼤盘风险IF(K3,⼤盘风险,DRAWNULL),CIRCLEDOT,COLOR0066FF,LINETHICK2;K4:=BACKSET(⼤盘趋势IF(K4,⼤盘趋势,DRAWNULL),COLOR00FFFF,LINETHICK2;DRAWTEXT(⼤盘趋势=0,80,'⼤底将现'),COLORFFFFCC;{上证指数K线副图指标}DRAWKLINE("999999$H","999999$O","999999$L","999999$C");上证:"999999$C",COLORWHITE,NODRAW;_±:"999999$C"-REF("999999$C",1),COLORLIGRAY,NODRAW;五:MA("999999$C",5),COLORWHITE;⼗:MA("999999$C",10),COLORYELLOW;⼆⼗:MA("999999$C",20),COLORMAGENTA;六⼗:MA("999999$C",60),COLORGREEN;{⼤盘指数K线副图指标}DRAWKLINE(INDEXH,INDEXO,INDEXL,INDEXC);⼤盘:INDEXC,COLORWHITE,NODRAW;±:INDEXC-REF(INDEXC,1),COLORLIGRAY,NODRAW;沪深:"000300$CLOSE",NODRAW;_±:"000300$CLOSE"-REF("000300$CLOSE",1),COLORLIGRAY,NODRAW;五:MA(INDEXC,5),COLORWHITE;⼗:MA(INDEXC,10),COLORYELLOW;三⼗:MA(INDEXC,30),COLORMAGENTA;六⼗:MA(INDEXC,60);懒汉操盘A1:=Ma(C,5);A2:=MA(C,10); {可以⾃设均线,⽜市21⽇线,熊市10⽇线}A3:=(A1 A2)/2;IF (A1>A2,A1,A3),COLORRED,LINETHICK2;IF (A1>A2,A2,A3),COLORRED,LINETHICK2;IF (A1<=A2,A1,A3),COLOR00FF00,LINETHICK2;IF (A1<=A2,A2,A3),COLOR00FF00,LINETHICK2;A3,COLORWHITE,LINETHICK2;LC:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),4.1,1)/SMA(ABS(CLOSE-LC),4.1,1)*100;DRAWICON(CROSS(84,RSI) ,H*1.03,5);DRAWICON(CROSS(RSI,11) ,L*0.99,4);VAR27:=REF(CLOSE,1);VAR28:=SMA(MAX(CLOSE-VAR27,0),5.5,1)/SMA(ABS(CLOSE-VAR27),6,1)*100;DRAWICON(IF(CROSS(76,VAR28),1,0),H*1.03,5);DRAWTEXT(FILTER(EMA(CLOSE,60)-EMA(CLOSE,12)>0AND EMA(CLOSE,12)/LOW>1.15,5),LOW,''),LINETHICK7 , COLORFF00FF;VARA:=((AMOUNT)/(VOL))/(100);VARB:=((3)*(HIGH) LOW OPEN (2)*(CLOSE))/(7);VARC:=((SUM(AMOUNT,7))/(VARA))/(100);VARD:=DMA(VARB,(VOL)/(VARC));VARE:=((CLOSE-VARD)/(VARD))*(100);VARF:=((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)))*(100);VARJ:=MA(VARE,20) STD(VARE,20);BIAS18:=((CLOSE-MA(CLOSE,18))/(MA(CLOSE,18)))*(100);AA:=SMA(VARF,3,1);SS:=(REF(BIAS18,1)>=5) AND CROSS(VARJ,VARE) AND (AA>79);DRAWTEXT((REF(BIAS18,1)>=5) AND CROSS(VARJ,VARE) AND(AA>SS),H*1.02,''),LINETHICK7,COLORGREEN;VAR1:=ZIG(3,10)REF(ZIG(3,10),2); {含未来函数ZIG}VAR2:=ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)STICKLINE(VAR1,C,O,8,0),COLORYELLOW,LINETHICK2;STICKLINE(VAR1,C,O,3,0),COLORYELLOW,LINETHICK2;STICKLINE(VAR1,H,L,1,0),COLORYELLOW,LINETHICK2;STICKLINE(VAR2,C,O,8,0),COLORFF00FF,LINETHICK2;STICKLINE(VAR2,C,O,3,0),COLORFF00FF,LINETHICK2;STICKLINE(VAR2,H,L,1,0),COLORFF00FF,LINETHICK2;这个公式可⽤于主图也可⽤于副图.超⼈黄⾦⼩鼹⿏VAR1:=SMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),10,1); VAR2:=HIGH-REF(HIGH,1);VAR3:=REF(LOW,1)-LOW;VAR4:=SMA(IF(VAR2>0 AND VAR2>VAR3,VAR2,0),10,1);VAR5:=SMA(IF(VAR3>0 AND VAR3>VAR2,VAR3,0),10,1);消息1:VAR4/VAR1*3;消息2:VAR5/VAR1*3;买⼊:IF(消息1>消息2,1,0) COLORSTICK;卖出:IF(消息2>消息1,-1,0) COLORSTICK;{新版股海神偷副图}AA:=LLV(LOW,36);BB:=HHV(HIGH,30);风险:80,COLORFF00FF;狼狗:87.5,COLOR00FF00;DD:=(EMA(((CLOSE-AA)/(BB-AA))*(4),4))*(25);股海神偷:DD,COLOR0000FF,LINETHICK2;股海:=(((DD-LLV(DD,21))/(HHV(DD,21)-LLV(DD,21)))*(4))*(25);⽬标出现:IF(CROSS(股海,90) AND (股海神偷<40),70,0),COLORFFFF00;跟踪:10,COLOR0000FF;神偷出现:IF((COUNT((股海神偷>REF(股海神偷,1)),1)=1) AND (REF(股海神偷,1)<跟踪),50,0),COLORF00FF0;{股海神偷}AA:=LLV(LOW,36);BB:=HHV(HIGH,30);DD:=(EMA(((CLOSE-AA)/(BB-AA))*(4),4))*(25);J:= EMA((CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,5) ;股经:J,COLORLIMAGENTA,LINETHICK2;股海:=(((DD-LLV(DD,21))/(HHV(DD,21)-LLV(DD,21)))*(4))*(25);跟踪:10,COLOR0000FF,LINETHICK1;神偷出现:IF((COUNT((DD>REF(DD,1)),1)=1) AND (REF(DD,1)<跟踪),20,0),COLORF00FF0;DRAWICON(CROSS(10,股经),5,1);V1:=(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100;V2:=(CLOSE-LLV(LOW,43))/(HHV(HIGH,43)-LLV(LOW,43))*100;V3:=SMA(V2,2,1);顶:100 (-ABS(V1)),COLORGRAY;底:ABS(V1),COLORGRAY;VR1:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;VR2:=SMA(VR1,3,1);VR3:=SMA(VR2,3,1);VR4:=SMA(VR3,3,1);VR5:=CROSS(VR3,VR4) AND VR3<20;VR8:=CROSS(VR2,VR3) AND VR3>80 AND VR3>VR4;VR9:=CROSS(VR4,VR3) AND VR3>80;DRAWTEXT(FILTER(VR5,10)=1,21,'底'),COLORRED;STICKLINE(FILTER(VR5,10)=1,0,20,2,0),COLORRED;STICKLINE(FILTER(VR9,5)=1,80,100,2,0),COLORGREEN;DRAWTEXT(FILTER(VR9,5)=1,79,'顶'),COLORGREEN;STICKLINE(VR8,85,100,2,0),COLOR0099FF;真实量⽐VAR0:=100*(CLOSE-MA(AMOUNT/(100*VOL),5))/MA(AMOUNT/(100*VOL),5);VAR1:=(HIGH LOW CLOSE*2)/4;VAR2:=((VAR1-EMA(VAR1,21))/STD(VAR1,21)*100 200)/4;VAR3:=(EMA(VAR2,5)-25)*1.56;VAR4:=EMA(EMA(VAR3,2)*1.22,2);VAR5:=3*EMA(VAR3,2)*1.22-2*VAR4;VAR6:=EMA((VAR1-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100,13);VAR7:=EMA(0.667*REF(VAR6,1) 0.333*VAR6,2);VAR8:=EMA(VAR1,13)-EMA(VAR1,21);VAR9:=2*(VAR8-EMA(VAR6,2))*3.8;VAR10:=VAR9>REF(VAR9,1) AND VAR6 < 63 AND VAR7 < 63 AND EMA(VAR3,2)*1.22 < 63 AND VAR4 < 63 AND VAR5 < 63 AND CROSS(VAR5,EMA(VAR3,2)*1.22) AND FINANCE(33)> 0.01 AND FINANCE(34)> 1 ANDREF(CLOSE,23)/CLOSE> 1.2 AND REF(CLOSE,10)/CLOSE < 1.5 ;VAR11:=MIN(REF(CLOSE,2)*0.865,REF(CLOSE,13)*0.772);VAR12:=IF((CLOSE-VAR11)/CLOSE < 4/100 AND SUM(100*VOL/CAPITAL,5)/5 < 1.8 AND WINNER(CLOSE)*100 < 0.1,1,0);VAR13:=CLOSE < (MA(CLOSE,80)-MA(CLOSE,10)/3) AND VOL/240 > MA(VOL,5)/240 AND CLOSE >REF(CLOSE,1)*1.08 AND CLOSE < MA(CLOSE,13)*1.3;VAR14:=VAR0<-10 AND CLOSE < 10 AND CLOSE/REF(CLOSE,1) > 0.935;VAR15:=MA(CLOSE,3)-CLOSE-WINNER(OPEN) (COST(55)-COST(45))/(COST(97)-COST(3)) (WINNER(C)-REF(WINNER(C),4))*0.05/MA(V/CAPITAL,5);STICKLINE(VAR15>=0,0,VAR15,6,0),COLOR6600CC;STICKLINE(VAR15<=0,0,VAR15,6,0),COLOR00FF99;STICKLINE(VAR15<=0,0,VAR15*0.4,6,0),COLORCC0033;STICKLINE(VAR15>=0,0,VAR15*0.4,6,0),COLORCC0033;STICKLINE(VAR12 > 0 OR VAR10 > 0 OR VAR13 > 0 OR VAR14 > 0,0,0.6,6,0),LINETHICK4,STICK,COLOR0000FF;这个横盘三⼗分我没有⽤过,不过在⼀分钟K线图下使⽤有买⼊提⽰。
通达信绝佳买点副图指标公式
通达信绝佳买点副图指标公式VAR2:=(HIGH+LOW+(CLOSE)*(2))/(4);BH:=((EMA((VAR2-LLV(VAR2,15))/(HHV(LOW,15)-LLV(VAR2,15)),2))*(38)),COLOR0000FF,LINESTICK;BL:=((((-1))*(EMA((VAR2-LLV(VAR2,15))/(HHV(LOW,15)-LLV(VAR2,15)),2))+0.01)*(38)),COLOR339999,LINESTICK;VAR22:=((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10)))*(100);VAR33:=EMA(VAR22,10);VAR44:=EMA(VAR33,10);VAR55:=(3)*(VAR33)-(2)*(VAR44);VAR66:=EMA(VAR55,5);桥:(EMA(VAR66,1)),COLORYELLOW,LINETHICK1;跨:(REVERSE(桥)),COLORFFFFFF,LINETHICK1;{(0),COLORFFFF00,LINETHICK3;}趋势:=(5)*(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1))-(3)*(SMA(SMA(((CLOSE-LLV(LOW,27)) /(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1),3,1))-SMA(SMA(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1),3,1),2,1);底部:=5;DRAWTEXT(CROSS((趋势),底部),15,'◆底部'),COLORYELLOW;{DRAWTEXT(CROSS(趋势,底部),0,'▲'),COLORYELLOW;DRAWTEXT(CROSS(趋势,底部),20,'●'),COLORYELLOW;}VARA1:=((CLOSE>=REF(CLOSE,1)) AND (REF(CLOSE,1)>=REF(CLOSE,2)) AND (REF(CLOSE,1)<=REF(CLOSE,3))AND (REF(CLOSE,2)<=REF(CLOSE,3)) AND ((REF(CLOSE,4)>REF(CLOSE,2)) OR (REF(CLOSE,4)<=REF(CLOSE,2))AND (REF(CLOSE,5)>=REF(CLOSE,3))) OR (CLOSE>=REF(CLOSE,1)) AND (REF(CLOSE,1)<=REF(CLOSE,2)) AND (CLOSE>=REF(CLOSE,2)) AND ((REF(CLOSE,3)>REF(CLOSE,1)) OR (REF(CLOSE,3)<=REF(CLOSE,1)) AND (REF(CLOSE,4)>=REF(CLOSE,2))));VARA2:=LLV(LOW,5);VARA3:=HHV(HIGH,5);VARA4:=EMA(((CLOSE-VARA2)/(VARA3-VARA2))*(100),1);VARA5:=EMA((0.66699999)*(REF(VARA4,1))+(0.333)*(VARA4 ),2);VARA6:=(VARA5<24) AND (OPEN<MA(CLOSE,20));STICKLINE(VARA1 AND (VARA6),-40,40,10,1),COLOR2894FF;VARB2:=((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10)))*(100);VARB3:=EMA(VARB2,7);VARB4:=EMA(VARB3,10);VARB5:=(3)*(VARB3)-(2)*(VARB4);VARB6:=EMA(VARB5,5);趋势1:=(3)*(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1))-(2)*(SMA(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1),3,1));探底:IF((趋势<=5),58,0),COLORFF00FF;桥1:=EMA(VARB6,1);美化:=IF(REF((COUNT((桥1<=REF(桥1,1)),5)=5),1) AND (桥1>REF(桥1,1)),10,0);STICKLINE((美化),-20,20,15,1),COLORFFFF00;MTM1:MA((CLOSE-REF(CLOSE,13))*31,5),LINETHICK2,COLOR7711EE;VARF1:=MA(HHV(HIGH,485),17);VARF2:=MA(HHV(HIGH,222),17);VARF3:=MA(HHV(HIGH,96),17);VARF4:=MA(LLV(LOW,485),17);VARF5:=MA(LLV(LOW,222),17);VARF6:=MA(LLV(LOW,96),17);VARF7:=MA((VARF4*0.96+VARF5*0.96+VARF6*0.96+VARF1 *0.558+VARF2*0.558+VARF3*0.558)/6,17);VARF8:=MA((VARF4*1.25+VARF5*1.23+VARF6*1.2+VARF1* 0.55+VARF2*0.55+VARF3*0.65)/6,17);VARF9:=MA((VARF4*1.3+VARF5*1.3+VARF6*1.3+VARF1*0.6 8+VARF2*0.68+VARF3*0.68)/6,17);VARFA:=MA((VARF7*3+VARF8*2+VARF9)/6*1.738,17);VARFB:=IF(C=C,VARFA,VARFA*DAY);VARFC:=LOW;VARFD:=REF(LOW,1);VARFE:=SMA(ABS(VARFC-VARFD),3,1)/SMA(MAX(VARFC-VARFD,0),3,1)*100;VARFF:=MA(IF(CLOSE*1.35<=VARFB,VARFE*10,VARFE/10),3);VARF10:=LLV(LOW,30);VARF11:=HHV(VARFF,30);绝佳买点:IF(C=C,MA(IF(LOW<=VARF10,(VARFF+VARF11*2)/2,0),3),1000 00000)/(200),COLORRED,LINETHICK2;I:=IF(CLOSE<REF(CLOSE,1),0,VOL/CAPITAL);骤雨初晴:=ABS(EMA(I,13.3)-18)/WINNER(CLOSE)*IF((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)<-0.04,1,0);W:=COST(10)*0;DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26),COLORRED;DEA:=EMA(DIFF,9),COLORYELLOW;MACD:=2*(DIFF-DEA)*231,STICK,COLORRED,LINETHICK1;STICKLINE(MACD<REF(MACD,1)ANDMACD>0,0,MACD,0.9,0),COLOR00FFFF;STICKLINE(MACD<=REF(MACD,1)ANDMACD<0,0,MACD,0.8,0 ),COLORFFEE44;STICKLINE(MACD>=REF(MACD,1)ANDMACD>0,0,MACD,1.1,0 ),COLOR0055FF;STICKLINE(MACD>REF(MACD,1)ANDMACD<0,0,MACD,1.1,0 ),COLORFF55BB;DRAWTEXT(CROSS(绝佳买点,1.20000) ,-32,'买点'),COLORYELLOW,LINETHICK2 ;DRAWTEXT(CROSS(绝佳买点,4.50000) ,63,'●'),COLORYELLOW,LINETHICK2;{DRAWTEXT(CROSS(绝佳买点,7.00000) ,88,'↑'),COLORYELLOW,LINETHICK4;}DRAWTEXT(CROSS(绝佳买点,3.60000) ,28,'↑'),COLORYELLOW,LINETHICK4;{DRAWTEXT(CROSS(绝佳买点,2.40000) ,-55,'↑'),COLORYELLOW,LINETHICK3 ; };。
通达信指标公式源码 漂亮实用的三合一副图指标
RV:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;RG:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;J0:=(HIGH+LOW)/2;QJ:=EMA(J0,3);J1:=IF(CLOSE>QJ,VOL,0);J2:=IF(CLOSE<QJ,VOL,0);量能:IF(CAPITAL<1,MA(VOL,74),MA(SUM(J1-J2,22),3)),COLOR00DDDD,NODRA W;趋势:IF(CAPITAL<1,EMA(量能,360),EMA(量能,21)),COLOR008800,NODRAW; VAR3:=(量能-趋势);VAR44:=SMA(RV,3,1);VAR55:=SMA(VAR44,3,1);STICKLINE(VAR3>0,100,50,4,0),COLOR990099;STICKLINE(VAR3<0,0,50,4,0),COLOR008800;STICKLINE(VAR3>0,20,10,5,1),COLOR0000FF;STICKLINE(VAR3<0,100,90,10,1),COLOR00FF00;DRAWICON(CROSS(VAR44,VAR55) AND VAR55<30,2,1);DRAWICON(CROSS(VAR55,VAR44) AND VAR55>30,97,2);DRAWBAND(VAR55,RGB(0,22,224),VAR44,RGB(255,50,50));KK:EMA(SMA(RG,3,1),2),COLORFFFFFF;DD:SMA(KK,3,1),COLOR00FFFF; DRAWTEXT(CROSS(VAR44,VAR55) AND CROSS(KK,DD),10,'共振'),COLOR00FFFF;共振点:=(CROSS(VAR44,VAR55) AND CROSS(KK,DD));STICKLINE(共振点>0,0,100,2,0),COLOR008888;STICKLINE(共振点>0,0,100,1.5,0),COLOR00AAAA;STICKLINE(共振点>0,0,100,0.8,0),COLOR00DDDD;STICKLINE(共振点>0,0,100,0.3,0),COLOR00FFFF;VAR1:=1;VAR2:=((((2*CLOSE)+HIGH)+LOW) / 4);低金叉进:20,COLORFF00FF,LINETHICK2;高死叉出:90,COLORBLUE,LINETHICK2;VAR4:=LLV(LOW,5);VAR5:=HHV(HIGH,4);C1:=(EMA((((VAR2-VAR4)/(VAR5-VAR4))*100),4)*VAR1),COLORFF00FF,LINE THICK2;C2:=(EMA(((0.667*REF(C1,1))+(0.333*C1)),2)*VAR1),COLORFFFFFF,LINETH ICK2;条件:=CROSS(C1,C2) AND C1<40;条件0:=CROSS(C2,C1) AND C1>90;TJ1:=CROSS(C1,C2);TJ2:=CROSS(C2,C1);TJ3:=CROSS(C1,C2) AND REF(C1,1)<20;TJ4:=CROSS(C2,C1) AND REF(C1,1)>80;DRAWTEXT(FILTER((REF(条件,1) AND (REF(LOW,1)>LOW OR TJ2))OR (REF(条件,2) AND (REF(LOW,2)>LLV(LOW,3) OR TJ2))OR (REF(条件,3) AND (REF(LOW,3)>LLV(LOW,4) OR TJ2)),4),70,'止'),COLORRED;DRAWTEXT(FILTER((REF(条件,1) AND (REF(LOW,1)>LOW OR TJ2))OR (REF(条件,2) AND (REF(LOW,2)>LLV(LOW,3) OR TJ2))OR (REF(条件,3) AND (REF(LOW,3)>LLV(LOW,4) OR TJ2)),4),60,'跌'),COLORRED;DRAWTEXT(FILTER((REF(条件,1) AND (REF(LOW,1)>LOW OR TJ2)) OR (REF(条件,2) AND (REF(LOW,2)>LLV(LOW,3) OR TJ2))OR (REF(条件,3) AND (REF(LOW,3)>LLV(LOW,4) OR TJ2)),4),65,'买'),COLORRED;DRAWTEXT(条件,20,'买点'),COLORRED;STICKLINE(条件,0,20,2,0),COLORRED;DRAWTEXT(条件0,85,'卖'),COLORBLUE;DRAWTEXT(CROSS(C1,75),70,'险区'),COLORGREEN;DRAWTEXT(TJ3,65,'安'),COLORRED;DRAWTEXT(TJ3,60,'买'),COLORRED;DRAWTEXT(TJ4,85,'逃顶'),COLORBLUE;STICKLINE(TJ4,100,80,2,0),COLORGREEN;VAR200:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;VAR300:=SMA(SMA(VAR200,3,1),3,1)/28.57;VAR400:=EMA(VAR300,5);操盘:=3*VAR300-2*VAR400;A1:=CROSS(操盘,VAR300) AND VAR300<2.1 AND C>O;STICKLINE(A1,30,0,4,0),COLOR770077;STICKLINE(A1,30,0,3,0),COLOR990099;STICKLINE(A1,30,0,2,0),COLORBB00BB;STICKLINE(A1,30,0,1,0),COLORDD00DD;STICKLINE(A1,30,0,0.3,0),COLORFF00FF;DRAWTEXT(A1,36,'财神到'),COLORRED;★遵守纪律★:100,COLORRED,NODRAW; ★交易之魂★:100,COLORRED,NODRAW;。
通达信超级资金副图指标
通达信超级资金副图指标DDX指标是根据大单买入量和卖出量的差值计算而来,公式为(LARGEINTRDVOL-LARGEOUTTRDVOL)*/FINANCE(7)。
为了更好地展示该指标,我们可以使用绘图函数DRAWRECTREL来绘制一个矩形框架。
具体来说,我们可以使用一系列的DRAWRECTREL函数来绘制不同颜色的矩形,以突出显示DDX的变化。
DDY和DDZ是与DDX相似的指标,它们分别表示交易量的买入占比和大单交易的买入占比。
我们可以使用IF函数来计算这些指标,然后使用DRAWTEXT_FIX函数来将它们显示在图表中。
最后,在图表的左上角,我们可以使用DRAWTEXT_FIX 函数来显示“DDX”、“DDY”和“DDZ”这三个项目的名称。
在每个项目名称的下方,我们可以使用DRAWTEXT_FIX函数来显示相应的数据。
如果数据是正数,则将其显示为蓝色;如果是负数,则将其显示为红色。
特大单:计算方式为当前K线的成交量中,买入量和卖出量均超过手的部分之和。
用DRAWTEXT_FIX函数在图表上显示“特大单”的标签,并将颜色设置为蓝色。
大单:计算方式为当前K线的成交量中,买入量和卖出量均超过1000手但不足手的部分之和。
用DRAWTEXT_FIX 函数在图表上显示“大单”的标签,并将颜色设置为蓝色。
中单:计算方式为当前K线的成交量中,买入量和卖出量均超过100手但不足1000手的部分之和。
用DRAWTEXT_FIX函数在图表上显示“中单”的标签,并将颜色设置为蓝色。
小单:计算方式为当前K线的成交量中,买入量和卖出量均不足100手的部分之和。
用DRAWTEXT_FIX函数在图表上显示“小单”的标签,并将颜色设置为蓝色。
主力力度是指大资金的买卖力量,可以通过大单、特大单等指标来衡量。
大单是指单笔成交金额超过100万元的交易,特大单则是指单笔成交金额超过500万元的交易。
如果特大单买入,则主力力度为正,如果特大单卖出,则主力力度为负。
通达信超级短赚组合副图指标公式
通达信超级短赚组合副图指标公式此指标没有未来函数,很好看的一个指标,值得拥YM:=MA(((WINNER((CLOSE * 0.9)) * 100) * CLOSE),3);DC:=(IF((YM > 10),YM,0) / 2);主力资金:=DC,STICK,LINETHICK4,COLORRED;资金均量:=MA(DC,5),COLORGREEN;资金流入线:=DC,COLORYELLOW,LINETHICK1;资金均量线:=MA(DC,5),COLORMAGENTA;MA2:=MA(CLOSE,19),COLORWHITE,LINETHICK2;获利%:=WINNER(CLOSE)*100,NODRAW,COLORWHITE;超级短赚:=CROSS(资金流入线,资金均量线) AND MA2>REF(MA2,1) AND 获利%>95;DRAWTEXT(超级短赚,60,'爆'),,COLORYELLOW;DRAWTEXT(超级短赚,55,'涨'),,COLORYELLOW;STICKLINE( 超级短赚,超级短赚,10,3.5,0),COLOR000099;STICKLINE( 超级短赚,超级短赚,20,2.5,0),COLOR000099;STICKLINE( 超级短赚,超级短赚,30,1.5,0),COLOR000099;STICKLINE( 超级短赚,超级短赚,40,0.5,0),COLOR000099;STICKLINE( 超级短赚,超级短赚,50,0.1,0),COLOR000099;趋势:SMA(SMA(((CLOSE-LLV(LOW,28))/(HHV(HIGH,28)-LLV(LOW,28))*100),2,1),2,1);判断:SMA(趋势,3,1),COLORYELLOW;DRAWICON(CROSS(趋势,判断),判断,4);LC:= REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;VAR1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;VAR2:=SMA(VAR1,9,1)+100;VAR3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VAR4:=SMA(VAR3,3,1);VAR5:=SMA(VAR4,3,1)+100;VAR6:=VAR5-VAR2;趋势1: IF(VAR6>45,VAR6-45,0),COLOR00FFFF;STICKLINE(REF(趋势1,1)< 趋势1, 趋势1,REF(趋势1,1),3.5,0),COLOR000033;STICKLINE(REF(趋势1,1)< 趋势1, 趋势1,REF(趋势1,1),2.8,0),COLOR000055;STICKLINE(REF(趋势1,1)< 趋势1, 趋势1,REF(趋势1,1),2.0,0),COLOR000077;STICKLINE(REF(趋势1,1)< 趋势1, 趋势1,REF(趋势1,1),1.2,0),COLOR000099;STICKLINE(REF(趋势1,1)< 趋势1, 趋势1,REF(趋势1,1),0.4,0),COLOR0000DD;STICKLINE(REF(趋势1,1)> 趋势1, 趋势1,REF(趋势1,1),3.5,0),COLOR003300;STICKLINE(REF(趋势1,1)> 趋势1, 趋势1,REF(趋势1,1),2.8,0),COLOR005500;STICKLINE(REF(趋势1,1)> 趋势1, 趋势1,REF(趋势1,1),2.0,0),COLOR007700;STICKLINE(REF(趋势1,1)> 趋势1, 趋势1,REF(趋势1,1),1.2,0),COLOR009900;STICKLINE(REF(趋势1,1)> 趋势1, 趋势1,REF(趋势1,1),0.4,0),COLOR00DD00;逃顶:=CROSS(82,RSI);STICKLINE( 逃顶,逃顶,10,3.5,0),COLORFF5500;STICKLINE( 逃顶,逃顶,20,2.5,0),COLORFF8800;STICKLINE( 逃顶,逃顶,30,1.5,0),COLORFFAA00;STICKLINE( 逃顶,逃顶,40,0.5,0),COLORFFCC00;STICKLINE( 逃顶,逃顶,50,0.1,0),COLORFFFF00;强弱线:50,COLORGREEN,POINTDOT;VARR1:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100;DRAWICON(CROSS(82,VARR1),HIGH,15);DRAWTEXT(CROSS(82,VARR1),55,'逃'),COLORYELLOW;买1:=CROSS(趋势,判断) AND 趋势1>0 AND 趋势1>REF(趋势1,1) AND 获利%>95;DRAWTEXT(买1=1,55,'买'),COLORYELLOW;STICKLINE( 买1,买1,10,3.5,0),COLORRED;STICKLINE( 买1,买1,20,2.5,0),COLORRED;STICKLINE( 买1,买1,30,1.5,0),COLORRED;STICKLINE( 买1,买1,40,0.5,0),COLORRED;STICKLINE( 买1,买1,50,0.1,0),COLORRED;。
通达信副图资金线指标
通达信副图资金线指标资金线:MA(C,1)/MA(REF(C,18),18)*100,COLOR00FFFF;生命线:MA(FORCAST(资金线,20),6),COLORMAGENTA;上面两行是源码,这里就不截图了,一旦截图就会有很多人看不见,所以我就这样发了,这是一个副图指标,自己新建一个指标公式就可以使用了。
手机也可以使用。
这个指标还算不错,如果两条线走平上翘出现金叉,都可以看做是一次介入点,当然不能盲目。
任何指标都不可能百分百的准确,一定要多结合别的分析来判断,这样才可以做的更加准确一些。
下面这个指标是看高低点的,很好用,我目前一直在使用。
X_3:=1;X_4:=MA((2*CLOSE+HIGH+LOW)/4,5);X_5:=X_4*1.02;X_6:=X_4*0.98;X_7:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);X_8:=DMA(CLOSE,X_7);X_9:=1.07*X_8;X_10:=0.93*X_8;X_11:=(X_5-REF(X_5,5))/REF(X_5,5)*1000;X_12:=(X_9-REF(X_9,5))/REF(X_9,5)*1000;X_13:=MA(CLOSE,9);X_14:=X_5>X_9;X_15:=COUNT(X_12>=REF(X_12,1),2)>=2;X_16:=MA(VOL,10)>=MA(VOL,55);X_17:=COUNT(CLOSE>OPEN,7)>=4;X_18:=X_14 AND X_15 AND X_16 AND X_17;X_19:=LLV(LOW,10);X_20:=HHV(HIGH,25);X_21:=EMA((CLOSE-X_19)/(X_20-X_19)*4,4);X_22:=(LOW+HIGH+CLOSE*2)/4;X_23:=EMA(X_22,14);X_24:=(X_6-X_13)/X_13*100;X_25:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CL OSE,24))/4;X_26:=REF((X_6-X_25)/X_25*100,1);X_27:=REF(X_18,1) OR REF(X_18,2);X_28:=REF(COUNT(VOL>MA(VOL,5) OR VOL>MA(VOL,20) OR VOL>MA(VOL,135) AND CLOSE>OPEN,10),1)>=6;X_29:=REF(X_5>REF(X_5,1) AND X_9>REF(X_9,1) AND X_5>X_9 AND COUNT(CLOSE>OPEN,7)>=4,1);X_30:=X_5>X_9 AND X_9>=REF(X_9,1);X_31:=MA(CLOSE,5)>MA(CLOSE,10) AND MA(CLOSE,10)>MA(CLOSE,20) AND MA(CLOSE,20)>=REF(MA(CLOSE,20),1) AND MA(CLOSE,55)>=REF(MA(CLOSE,55),1);X_32:=LOW<X_6*1 AND LOW<X_13*1.006;X_33:=X_24<=1.5 OR (X_24>1.5 AND LOW<X_23);X_34:=X_26<=1 OR (X_26>1 AND LOW<X_23);X_35:=CLOSE>DTPRICE(REF(CLOSE,1),0.09);X_36:=X_27 AND X_30 AND X_28 AND X_31 AND X_32 AND X_29 AND X_33 AND X_34 AND X_35;X_37:=IF(REF(EXIST(REF(X_36,1) AND HIGH>ZTPRICE(REF(LOW,1),0.04),4),1),0,1);X_38:=IF(NAMELIKE(55) OR NAMELIKE(56) OR NAMELIKE(10),0,1);X_39:=IF(CODELIKE(57),0,1);NOTEXT阶段卖出:3.2,COLORCYAN;NOTEXT顶部清仓:3.5,COLORGREEN;NOTEXT强弱分界:1.85,DOTLINE,COLORYELLOW;NOTEXT重点关注:0.5,COLORRED;NOTEXT底部介入:0.2,COLORGREEN;NOTEXT乖离1:X_24,NODRAW,COLORYELLOW;NOTEXT乖离2:X_26,NODRAW,COLORYELLOW;STICKLINE(X_21>REF(X_21,1),X_21,REF(X_21,1),3,1),COLORR ED;STICKLINE(X_21<=REF(X_21,1),X_21,REF(X_21,1),3,1),COLOR GREEN;DRAWICON(FILTER(CROSS(X_21,NOTEXT重点关注),20),X_21+0.02,1);DRAWICON(FILTER(CROSS(NOTEXT顶部清仓,X_21),20),X_21+0.02,2);DRAWICON(FILTER(CROSS(X_21,NOTEXT底部介入),20),X_21+0.02,1);DRAWICON(FILTER(CROSS(NOTEXT阶段卖出,X_21),20),X_21+0.02,2);DRAWNUMBER(ISLASTBAR,2.5,X_21),COLORGREEN;DRAWICON(FILTER(CROSS(X_21,NOTEXT重点关注),20),X_21+0.02,1);DRAWICON(FILTER(CROSS(0.5,X_21),20),0.6,2);STICKLINE(X_21>REF(X_21,1),X_21,REF(X_21,1),3,1),COLORR ED;STICKLINE(X_21<=REF(X_21,1),X_21,REF(X_21,1),3,1),COLOR GREEN;DRAWICON(FILTER(CROSS(X_21,NOTEXT重点关注),20),X_21+0.02,1);DRAWICON(FILTER(CROSS(NOTEXT顶部清仓,X_21),20),X_21+0.02,2);DRAWICON(FILTER(CROSS(X_21,NOTEXT底部介入),20),X_21+0.02,1);DRAWICON(FILTER(CROSS(NOTEXT阶段卖出,X_21),20),X_21+0.02,2);DRAWNUMBER(ISLASTBAR,2.5,X_21),COLORGREEN;DRAWICON(FILTER(CROSS(X_21,NOTEXT重点关注),20),X_21+0.02,1);DRAWICON(FILTER(CROSS(0.5,X_21),20),0.6,2);X_40:=X_36 AND X_37 AND X_3;{超短:IF(X_40,2.5,0),STICK,COLORMAGENTA,LINETHICK4;}X_41:=EXIST(X_40,5) AND EXIST(CROSS(MA(CLOSE,9),X_6),2) AND (CLOSE>REF(CLOSE,1) AND CLOSE>OPEN) AND CLOSE>X_6 AND LOW<MA(CLOSE,9) AND CLOSE/OPEN>1.009;NOTEXT持股:FILTER(X_41,2),NODRAW,COLORYELLOW;DRAWICON(NOTEXT持股,1,23);LC:=REF(CLOSE,1);AR:=SUM(HIGH-OPEN,26)/SUM(OPEN-LOW,26)*100;VARWB:=SMA(MAX(CLOSE-LC,0),7,1)/SMA(ABS(CLOSE-LC),7,1)*100;VARWC:=SMA(MAX(CLOSE-LC,0),13,1)/SMA(ABS(CLOSE-LC),13,1)*100;VARWD:=BARSCOUNT(CLOSE);低位买点:=(VARWB< 20 AND VARWC< 25 AND VARWD>50 AND AR<70)*200,COLORRED;这也是一个副图指标,用起来不错,大概率能判断出高低点,当然也不能完全靠这一个指标来操作,那样会很惨。
通达信源码公式指标软件通达信【财神到】主图指标公式 无未来
通达信【财神到】主图指标公式无未来{财神到匘===无未来函数}N:=(27,1,100);N1:=(7,1,100);N2:=(19,1,100);HH:=HHV(H,10);LL:=LLV(L,10);AA:=SMA(C,13,2);DRAWTEXT(ISLASTBAR=1 AND AA>REF(AA,1) AND REF(AA,1)<REF(AA,2) AND REF(AA,2)<REF(AA,3),HH,'激进买入'),COLORRED;DRAWTEXT(ISLASTBAR=1 AND AA>REF(AA,1) ANDREF(AA,1)>REF(AA,2),HH,'激进持股'),COLOR0066FF;DRAWTEXT(ISLASTBAR=1 AND AA<REF(AA,1) ANDREF(AA,1)>REF(AA,2),HH,'激进卖出'),COLORGREEN;A1:=MA(C,13);ZX:=REF(A1,13/2+1);DRAWTEXT(ISLASTBAR=1 AND CROSS(C,ZX),LL,'稳健买入'),COLORRED; DRAWTEXT(ISLASTBAR=1 AND C>ZX AND REF(C,1)>REF(ZX,1),LL,'稳健持股'),COLOR0066FF;DRAWTEXT(ISLASTBAR=1 AND C<ZX AND REF(C,1)>REF(ZX,1),LL,'稳健卖'),COLORGREEN;VAR1111:=FORCAST(CLOSE,5);VAR1:=1;平衡线:=(EMA(EMA(EMA(HIGH,3),3),1) * VAR1);VAR2:=(平衡线* 0.85);临界线:WMA(CLOSE,10),LINETHICK2,COLORRED;VAR1A:=POW((CLOSE - 临界线),1);VAR2A:=MA(VAR1A,3);VAR3A:=SQRT(VAR2A);支撑线:=(临界线- (1.96 * VAR3A));IF((临界线< REF(临界线,1)),临界线,DRAWNULL),LINETHICK2,COLORFFFFFF; VAR1Z:=(((CLOSE - OPEN) / OPEN) * 100);VAR2Z:=REF(CLOSE,1);VAR3Z:=((SMA(MAX((CLOSE - VAR2Z),0),6,1) / SMA(ABS((CLOSE -VAR2Z)),6,1)) * 100);VAR4Z:=(COUNT((VAR3Z < 20),20) >= 1);DRAWTEXT(((VAR1Z > 9) AND VAR4Z),LOW,'★屠龙'),LINETHICK4,COLORFFFFDD;JJJ:=(((CLOSE + HIGH) + LOW) / 3);AAA:=EMA(JJJ,3);BBA:=REF(AAA,1);持股:DRAWICON((AAA > BBA),L*0.99,11);VAR3:=REF(CLOSE,1);VAR4:=REF(CLOSE,2);VAR5:=REF(CLOSE,3);VAR6:=REF(CLOSE,9);VAR7:=HHV(CLOSE,9);VAR8:=LLV(CLOSE,9);VARC:=(((VAR3 = VAR8) AND (CLOSE >= VAR4)) OR ((((VAR4 = VAR8) AND (VAR3 <= VAR5)) AND (VAR4 < VAR6)) AND (CLOSE >= VAR3)));黄色买入:STICKLINE(VARC,(VAR3 * 0.94),(VAR4 * 0.94),25,16),COLORFFFFFF; VAR1B:=((REF(HIGH,1) + REF(LOW,1)) / 2);VAR2B:=((REF(HIGH,1) + REF(LOW,1)) / 2);VAR3B:=(MA(CLOSE,N) + (2 * STD(CLOSE,N)));DRAWICON(CROSS(VAR2B,VAR3B),(HIGH * 1.035),15);DRAWTEXT(CROSS(VAR2B,VAR3B),(HIGH * 1.02),'卖出'),COLORFF00EE; VAR4B:=REF(CLOSE,1);VAR5B:=((SMA(MAX((CLOSE - VAR4B),0),N1,1) / SMA(ABS((CLOSE -VAR4B)),N1,1)) * 100);VAR6B:=CROSS(N2,VAR5B);VAR7B:=FILTER(VAR6B,4);A7:=((((2 * CLOSE) + HIGH) + LOW) / 4);VAR10:=LLV(LOW,34);VAR11A:=HHV(HIGH,34);SK:=EMA((((A7 - VAR1B) / (VAR2B - VAR1B)) * 100),7);SD:=EMA(((0.667 * REF(SK,1)) + (0.333 * SK)),5);DRAWTEXT(IF((((((COUNT((CLOSE < REF(CLOSE,1)),8) / 8) > (6 / 10)) AND (VOL >= (1.5 * MA(VOL,5)))) AND COUNT((SK >= SD),3)) AND (REF(LOW,1) = LLV(LOW,120))),1,0),LOW,'●买进'),COLOR99FFEE;DRAWTEXT(IF((((((((((COUNT((CLOSE < REF(CLOSE,1)),13) / 13) > (6 / 10)) AND COUNT((SK > SD),6)) AND (REF(LOW,5) = LLV(LOW,120))) ANDREF((CLOSE >= OPEN),4)) AND REF((CLOSE > OPEN),3)) AND REF((CLOSE > OPEN),2)) AND REF((OPEN > CLOSE),1)) AND (OPEN >REF(CLOSE,1))),1,0),LOW,'●买进2'),COLORFFFFDD;VAR12:=(MA(CLOSE,80) - (MA(CLOSE,10) / 3));DRAWTEXT(IF(((((CLOSE < VAR12) AND ((VOL / 240) > (MA(VOL,5) / 240))) AND (CLOSE > (REF(CLOSE,1) * 1.08))) AND (CLOSE < (MA(CLOSE,13) *1.3))),1,0),LOW,'●抄底'),COLORFFFFDD;VAR11:=(((((2 * CLOSE) + OPEN) + HIGH) + LOW) / 5);M8:=VOL;主力:=(SUM((VAR11 * M8),3) / SUM(M8,3));散户:=主力;M1:=LLV(散户,5);M5:=(SUM((VAR11 * M8),1) / SUM(M8,1));M13:=(SUM((VAR11 * M8),5) / SUM(M8,5));M21:=(SUM((VAR11 * M8),13) / SUM(M8,13));Y:=(SUM((VAR11 * M8),21) / SUM(M8,21));U1:=M5;U3:=M13;XX1:=M21;C5:=((U3 > 散户) AND (散户> XX1));C8:=IF((C5 > 0),LLV(U3,5),HHV(散户,5));C13:=IF((C5 > 0),LLV(散户,8),HHV(散户,5));VAR1118:=IF((C5 > 0),LLV(XX1,13),HHV(散户,5));M1A:=LLV(散户,20);DRAWTEXT((M1A = REF(M1A,1)),M1A,'┬'),LINETHICK5,COLORCC33FF; DRAWTEXT(((REF(M1A,1) < REF(M1A,2)) AND (M1A = REF(M1A,1))),L*0.97,'★'),COLORFFEEDD;{STICKLINE((CLOSE < OPEN),HIGH,LOW,1,0),COLOR8800;STICKLINE((CLOSE < OPEN),HIGH,LOW,0,0),COLORFF00;STICKLINE((CLOSE < OPEN),CLOSE,OPEN,8,0),COLOR8800;STICKLINE((CLOSE < OPEN),CLOSE,OPEN,7,0),COLOR9900;STICKLINE((CLOSE < OPEN),CLOSE,OPEN,6,0),COLORAA00;STICKLINE((CLOSE < OPEN),CLOSE,OPEN,5,0),COLORBB00;STICKLINE((CLOSE < OPEN),CLOSE,OPEN,4,0),COLORCC00;STICKLINE((CLOSE < OPEN),CLOSE,OPEN,3,0),COLORDD00;STICKLINE((CLOSE < OPEN),CLOSE,OPEN,2,0),COLOREE00;STICKLINE((CLOSE < OPEN),CLOSE,OPEN,1,0),COLORFF00;STICKLINE((CLOSE >= OPEN),HIGH,LOW,1,0),COLORFF;STICKLINE((CLOSE >= OPEN),HIGH,LOW,0,0),COLOREEFF;STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,8,0),COLORFF;STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,7,0),COLOR22FF;STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,6,0),COLOR44FF;STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,5,0),COLOR66FF;STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,4,0),COLOR88FF;STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,3,0),COLORAAFF;STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,2,0),COLORCCFF;STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,1,0),COLOREEFF;}VAR22:=((LLV(LOW,3) = LLV(LOW,3)) AND (CLOSE >= (OPEN * 1.04))); VAR333:=(CLOSE > ((REF(HIGH,1) + REF(LOW,1)) / 2));VAR44:=(VAR22 AND VAR333);VAR55:=BARSLAST(VAR333);VAR66:=BARSLAST(VAR44);VAR77:=IF((VAR66 > 0),(((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) * 100),0); VAR88:=SUM(VAR77,1);VAR93:=IF((VAR55 > 3),(0 - 2),0);DRAWICON(((REF(VAR93,1) = (0 - 2)) AND (VAR93 = 0)),LOW*0.96,1); DRAWICON(((REF(VAR93,1) = (0 - 2)) AND (VAR93 = 0)),LOW*0.98,23); {====}XA:=EMA(((SLOPE(CLOSE,21) * 20) + CLOSE),68);YA:=EMA(CLOSE,10);DRAWTEXT(CROSS(YA,XA),(LOW * 0.95),'←安全C级'),COLORRED;VAR1C:=LLV(LOW,21);VAR2C:=HHV(HIGH,21);AK1:=EMA((((CLOSE - VAR1C) / (VAR2C - VAR1C)) * 100),5);AK:=EMA((((CLOSE - VAR1C) / (VAR2C - VAR1C)) * 50),13);DD:=EMA(((0.667 * REF(AK1,1)) + (0.333 * AK1)),2);VAR3C:=LLV(LOW,55);VAR4C:=HHV(HIGH,34);VAR5C:=EMA((((CLOSE - VAR3C) / (VAR4C - VAR3C)) * 100),3);VAR6C:=((AK + VAR5C) / 2);VAR7C:=EMA(((0.667 * REF(VAR5,1)) + (0.333 * AK1)),2);VAR8C:=EMA(VAR6C,5);BB:=EMA(((0.667 * REF(VAR8C,1)) + (0.333 * VAR8C)),2);AB:=CROSS(AK1,AK);BB1:=(CROSS(AK1,BB) AND (BB < 30));CD:=(BB1 * 0.6);DRAWTEXT((CD = 0.6),(LOW * 0.95),'←安全A级'),COLORGREEN; DRAWTEXT((AB = 1),(LOW * 0.97),'←安全B 级'),COLOR33CC99,COLORYELLOW;{====}压力:MA(REF(HHV(C,30),1),2),COLORGREEN;支撑:MA(REF(LLV(C,30),1),2),COLORRED;STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,3,0 ),COLORFF6600; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2.7,0 ),COLORFF7700; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2.6,0 ),COLORFF9900; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2.5,0 ),COLORFFBB00; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2.4,0 ),COLORFFCC00; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2.3,0 ),COLORFFDD00; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2,0 ),COLORFFEE00; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1,0 ),COLORFFFF00;{立体柱子:红色}STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2.8,0) ,COLOR000033; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2.6,0) ,COLOR000066; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2.4,0) ,COLOR000099; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2.3,0) ,COLOR0000BB; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1,0) ,COLOR0000DD;VAR9Q:=C= HHV(C,4)AND (REF(C,1)>=REF(C,2) OR REF(C,1)>=REF (C,3)) OR REF(C,1)=HHV(C,4) AND CLOSE>=REF(C,2) OR REF(C,2) =HHV(C,4) AND REF(C,3)=LLV(C,4) AND C>=REF(C,1) OR REF(C,3) =HHV(C,4) ANDC>=REF(C,1) AND C>=REF(C,2);红持:VAR9Q,COLOR0000FF,LINETHICK0;{立体柱子:红色}STICKLINE(VAR9Q,C,(O+C)/2,2.8,0),COLOR000044;STICKLINE(VAR9Q,C,(O+C)/2,2.7,0),COLOR000055;STICKLINE(VAR9Q,C,(O+C)/2,2.6,0),COLOR000066;STICKLINE(VAR9Q,C,(O+C)/2,2.5,0),COLOR000077;STICKLINE(VAR9Q,C,(O+C)/2,2.4,0),COLOR000099;STICKLINE(VAR9Q,C,(O+C)/2,2,0),COLOR0000DD;STICKLINE(VAR9Q,C,(O+C)/2,1,0),COLOR0000FF;VARAQ:=C=HHV(C,4) AND REF(C,1)=LLV(C,4);粉变:VARAQ,COLORFF99FF,LINETHICK0;STICKLINE(VARAQ,C,(O+C)/2,2.8,0),COLORFF11FF;STICKLINE(VARAQ,C,(O+C)/2,2.7,0),COLORFF22FF;STICKLINE(VARAQ,C,(O+C)/2,2.6,0),COLORFF33FF;STICKLINE(VARAQ,C,(O+C)/2,2.5,0),COLORFF55FF;STICKLINE(VARAQ,C,(O+C)/2,2.4,0),COLORFF77FF;STICKLINE(VARAQ,C,(O+C)/2,2.3,0),COLORFF99FF;STICKLINE(VARAQ,C,(O+C)/2,2,0),COLORFFBBFF;STICKLINE(VARAQ,C,(O+C)/2,1,0),COLORFFDDFF;VARBQ:=C=LLV(C,4) AND (REF(C,1)<REF(C,2) OR REF(C,1)<REF(C,3)) OR REF(C,1)=LLV(C,4) AND C<REF(C,2) OR REF(C,2)=LLV(C,4) ANDREF(C,1)<>HHV(C,4) AND C<REF(C,1) OR REF(C,3)=LLV(C,4) ANDC<REF(C,1) AND C<REF(C,2);银灰跌:VARBQ,COLOR888888,LINETHICK0;{立体柱子:银色}STICKLINE(VARBQ,C,(O+C)/2,2.8,0),COLOR333333;STICKLINE(VARBQ,C,(O+C)/2,2.7,0),COLOR444444;STICKLINE(VARBQ,C,(O+C)/2,2.6,0),COLOR555555;STICKLINE(VARBQ,C,(O+C)/2,2.5,0),COLOR777777;STICKLINE(VARBQ,C,(O+C)/2,2.4,0),COLOR999999;STICKLINE(VARBQ,C,(O+C)/2,2.3,0),COLORBBBBBB;STICKLINE(VARBQ,C,(O+C)/2,2,0),COLORDDDDDD;STICKLINE(VARBQ,C,(O+C)/2,1,0),COLORFFFFFF;VARCQ:=REF(C,1)=LLV(C,4) AND C>=REF(C,2) OR REF(C,2)=LLV(C,4) AND REF(C,1)<=REF(C,3) AND REF(C,2)<REF(C,4) AND C>=REF(C,1);绿买:VARCQ,COLOR00FF00,LINETHICK0;{立体柱子:绿色}STICKLINE(VARCQ,O,(O+C)/2,2.8,0),COLOR004400;STICKLINE(VARCQ,O,(O+C)/2,2.6,0),COLOR005500;STICKLINE(VARCQ,O,(O+C)/2,2.5,0),COLOR007700;STICKLINE(VARCQ,O,(O+C)/2,2.4,0),COLOR009900;STICKLINE(VARCQ,O,(O+C)/2,2.3,0),COLOR00BB00;STICKLINE(VARCQ,O,(O+C)/2,2,0),COLOR00DD00;STICKLINE(VARCQ,O,(O+C)/2,1,0),COLOR00FF00;VARDQ:=REF(C,1)=HHV(C,4) AND C<REF(C,2) OR (REF(C,2)=HHV(C,4) AND REF(C,1)>REF(C,3) OR REF(C,3)=HHV(C,4) AND REF(C,1)>REF (C,2)) AND REF(C,2)>=REF(C,4) AND C<REF(C,1);蓝抛:VARDQ,COLORFF9900,LINETHICK0;{立体柱子:深蓝色}STICKLINE(VARDQ,O,(O+C)/2,2.8,0),COLORFF1100;STICKLINE(VARDQ,O,(O+C)/2,2.6,0),COLORFF3300;STICKLINE(VARDQ,O,(O+C)/2,2.5,0),COLORFF5500;STICKLINE(VARDQ,O,(O+C)/2,2.4,0),COLORFF7700;STICKLINE(VARDQ,O,(O+C)/2,2.3,0),COLORFF9900;STICKLINE(VARDQ,O,(O+C)/2,2,0),COLORFFBB00;STICKLINE(VARDQ,O,(O+C)/2,1,0),COLORFFDD00;{立体柱子:金色}ZDF:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;STICKLINE(ZDF>9.8,OPEN,CLOSE,2.8,0),COLOR004444;STICKLINE(ZDF>9.8,OPEN,CLOSE,2.7,0),COLOR005555;STICKLINE(ZDF>9.8,OPEN,CLOSE,2.6,0),COLOR006666;STICKLINE(ZDF>9.8,OPEN,CLOSE,2.5,0),COLOR007777;STICKLINE(ZDF>9.8,OPEN,CLOSE,2.4,0),COLOR009999;STICKLINE(ZDF>9.8,OPEN,CLOSE,2.3,0),COLOR00BBBB;STICKLINE(ZDF>9.8,OPEN,CLOSE,2,0),COLOR00DDDD;STICKLINE(ZDF>9.8,OPEN,CLOSE,1,0),COLOR00FFFF;Z:=(CLOSE > REF(CLOSE,1));XL2:=(((CLOSE - EMA(CLOSE,21)) / EMA(CLOSE,21)) * 100);XL3:=CROSS(XL2,(0 - 20));DRAWTEXT((XL3 > 0),(LOW - 0.2),'←绝对底部');VAR2S:=(2*CLOSE+HIGH+LOW)/4;VAR3S:=IF(YEAR>=2099 AND MONTH>2,0,1);VAR4S:=LLV(LOW,5);VAR5S:=HHV(HIGH,4);散户C:=EMA((VAR2S-VAR4S)/(VAR5S-VAR4S)*100,4)*VAR3S;XX:=EMA(0.667*REF(散户C,1)+0.333*散户C,2)*VAR3S;DRAWTEXT(CROSS(散户C,XX) AND 散户C<30,L-0.05,'←吸'),COLORRED; VAR1R:=LLV(LOW,2)=LLV(LOW,16) AND CLOSE>=OPEN*1.04;VAR2R:=CLOSE>(REF(HIGH,1)+REF(LOW,1))/2;VAR3R:=VAR1R AND VAR2R;DRAWTEXT(VAR3R,LOW,'-→逢低买入'),COLORFFFFEE;VAR3AA:=IF((CLOSE>REF(CLOSE,1)),88,0);VAR4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (VAR3AA>0),91,0);DRAWTEXT(FILTER((VAR4AA>90),45),(LOW)*(0.99),'←---大胆搏'),COLORYELLOW;SHORT1:=12;LONG1:=26;M:=9;DIFF:=EMA(CLOSE,SHORT1)-EMA(CLOSE,LONG1);DEA:=EMA(DIFF,M);低位金叉:=CROSS(DIFF,DEA) AND DIFF<-0.1;DRAWTEXT(低位金叉,L*0.92,'*低位金叉'),COLORF00FF0;SHORT:=12;LONG:=26;A1C:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));二次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(A1C=2,21)=1; DRAWTEXT(二次金叉,L*0.90,'*二次金叉'),COLORYELLOW;QC:=REF(CLOSE,1);RSV:=(((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9)))*100);K:=SMA(RSV,3,1);D:=SMA(K,3,1);YX:=((CLOSE>QC) AND C>O);D1:=REF(D,1);DRAWTEXT((((D1<30) AND CROSS(K,D)) AND YX),(LOW * 0.96),'*短买!'),COLORYELLOW;VAR4A:=EMA(CLOSE,3);DRAWTEXT(COUNT(REF(VAR4A,1)<REF(VAR4A,2),5)=5 ANDVAR4A>REF(VAR4A,1),L*0.96,'出拳'),COLORRED;DA:=(EMA(C,1)+EMA(C,2)+EMA(C,3)+EMA(C,4))/4;DB:=(EMA(C,10)+EMA(C,20)+EMA(C,40)+EMA(C,80))/4; DRAWTEXT(CROSS(DA-DB,0),L*0.98,'★B'),COLORMAGENTA;AA1:=MA(C,5);BB1C:=MA(C,15);AF:=CROSS(AA1,BB1C);DRAWTEXT(AF,LLV(L,4),'止损线'),COLORYELLOW;。
通达信精准抄底副图指标公式
M:=-15;P:=-20;VAR1:=((LLV(LOW,5) = LLV(LOW,45)) AND (CLOSE >= (OPEN * 1.04)));VAR2:=(CLOSE > ((REF(HIGH,1) + REF(LOW,1)) / 2));VAR3:=REF(CLOSE,1);VAR4:=((SMA(MAX((CLOSE - VAR3),0),6,1) / SMA(ABS((CLOSE - VAR3)),6,1)) * 100);红白出现可追涨:(VAR1 AND VAR2)*80,STICK,COLORFFFFFF;R1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;R2:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;R3:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;R4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;R5:=(R2+2*R3+3*R4)/6;R6:=MA(R5,3);VAR1A:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VAR2A:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;VAR3A:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;VAR4A:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;VAR5A:=(VAR2A+2*VAR3A+3*VAR4A)/6;VAR6A:=MA(VAR5A,3);绿白出现可以买: STICKLINE(VAR6A<=P,60,0,2,0),COLORGREEN;BIAS := (CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*100;ENTERLONG:=CROSS(-14,BIAS);青白出现可以买:STICKLINE(ENTERLONG,0,99,1,0),COLORCYAN;MID := MA(CLOSE,26);LOWER:= MID - 2*STD(CLOSE,26);EN:=CROSS(CLOSE,LOWER);紫白出现可追涨:STICKLINE(EN,0,40,4,0),COLORFF00FF;VAR2W:=100-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));MW:= EMA(VAR2W,3);VAR3W:=EMA(VAR2W,7);M1:= EMA(VAR3W,5);MB1:=CROSS(MW,M1) AND M1<20;黄白出现可追涨:IF((MB1),90,0),STICK,COLORYELLOW;VAD1:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,5);VAD2:=INDEXC;VAD3:=INDEXC;VAD4:=CLOSE/MA(CLOSE,50)<0.74;VAD5:=(CLOSE/MA(CLOSE,40)<0.78 OR CLOSE/MA(CLOSE,60)<0.74) AND HIGH>LOW*1.049;VAD6:=EMA(WINNER(CLOSE)*70,3);VAD7:=CLOSE/MA(CLOSE,40);VAD8:=MA(VAD2,6);VAD9:=MA(VAD3,6);VAD10:=HIGH>LOW*1.048;VAD11:=MA(CLOSE,27)/CLOSE>1.169 AND MA(CLOSE,17)/CLOSE>1.158 ANDCLOSE/COST(5)<=0.8;VAD12:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);VAD13:=LOW*1.051<HIGH;VAD14:=MA(VAD2,24);VAD15:=MA(VAD3,24);VAD16:=VAD10 AND COUNT(VAD10,4)>2;VAD17:=EMA(CLOSE,30);VAD18:=CLOSE/MA(CLOSE,40)*100<76;VAD19:=VAD13 AND COUNT(VAD13,5)>1;VAD20:=MA(VAD2,32);VAD21:=MA(VAD3,32);VAD22:=VAD16 AND (VAD4 OR VAD4);VAD23:=VAD5 AND VAD11 AND VAD17;VAD24:=CLOSE/MA(CLOSE,60)*100<74;VAD25:=INDEXC;VAD26:=MA(VAD2,62);VAD27:=MA(VAD3,62);VAD28:=DMA(EMA(CLOSE,10),SUM(VOL,5)/3/CAPITAL);VAD29:=HIGH>LOW*1.051;VAD30:=MA(VAD25,5);VAD31:=MA(VAD2,105);VAD32:=MA(VAD3,105);VAD33:=REF(HIGH,10)/CLOSE>1.26;VAD34:=VAD29 AND COUNT(VAD29,5)>1;VAD35:=MA(VAD25,20);VAD36:=VAD26<REF(VAD26,1) AND VAD31<REF(VAD31,1) AND VAD26<VAD31*0.98; VAD37:=VAD27<REF(VAD27,1) AND VAD32<REF(VAD32,1) AND VAD27<VAD32*0.98; VAD38:=CLOSE/VAD28<0.65 AND VAD33;VAD39:=VAD34 AND (VAD18 OR VAD24) AND VAD12<20 AND VAD6<20 AND (WINNER(CLOSE*125/100)-WINNER(CLOSE))*100<7.5;VAD40:=(VAD1<6 AND VAD7<0.76 AND VAD19)*70;VAD41:=VAD20>VAD8*1.11 AND VAD14>VAD8*1.095;VAD42:=VAD21>VAD9*1.11 AND VAD15>VAD9*1.095;VAD43:=REF(CLOSE,8);VAD44:=VAD8>VAD2*0.95;VAD45:=VAD9>VAD3*0.95;VAD46:=VOL/CAPITAL;VAD47:=VAD36 AND VAD41 AND VAD44 AND CLOSE/COST(8)<=0.8 AND (CLOSE>OPEN OR CLOSE<OPEN) AND (REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)<REF(OPEN,1)); VAD48:=CLOSE/MA(CLOSE,48)*100<67;VAD49:=(EMA(CLOSE,28)-EMA(CLOSE,13))/EMA(CLOSE,28);VAD50:=CLOSE/MA(CLOSE,50)*100<69;VAD51:=CLOSE/VAD43<0.79 AND MA(VAD46,5)<0.02 AND VAD49>0.06;VAD52:=HIGH>LOW*1.078;VAD53:=VAD22 AND (VAD38 OR VAD51);VAD54:=VAD52 AND COUNT(VAD52,4)>2;VAD55:=VAD54 AND (VAD48 OR VAD50) OR VAD37 AND VAD42 AND VAD45 AND CLOSE/COST(8)<=0.8 AND (CLOSE>OPEN OR CLOSE<OPEN) AND (REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)<REF(OPEN,1));AA:=VAD23 OR VAD39 OR VAD40 OR VAD47 OR VAD53 OR VAD55 OR (CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100<-15 AND (MIN(OPEN,CLOSE)-LOW)/LOW*100>0.1 AND MA((HHV(HIGH,5)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,13))*100,5)<60;STICKLINE(AA,0,99,1,0),COLORCYAN;VAR1B:=INDEXC;VAR2B:=MA(VAR1B,6);VAR3B:=MA(VAR1B,24);VAR4B:=MA(VAR1B,32);VAR5B:=MA(VAR1B,62);VAR6B:=MA(VAR1B,105);VAR7B:=VAR5B<REF(VAR5B,1) AND VAR6B<REF(VAR6B,1) AND VAR5B<VAR6B*0.98; VAR8B:=VAR4B>VAR2B*1.11 AND VAR3B>VAR2B*1.095;VAR9B:=VAR2B>VAR1B*0.95;中:=VAR7B AND VAR8B AND VAR9B AND CLOSE/COST(10)<=1 AND(CLOSE>OPEN OR CLOSE<OPEN) AND (REF(CLOSE,1)>REF(OPEN,1) ORREF(CLOSE,1)<REF(OPEN,1));VAR1N:=MA(CLOSE,5);VAR2N:=MA(CLOSE,10);VAR3N:=(VAR1N-CLOSE)/CLOSE>3/100;VAR4N:=(VAR2N-VAR1N)/VAR1N>0.03;VAR5N:=LLV(CLOSE,30)=LLV(CLOSE,120);部:=VAR3N AND VAR4N AND VAR5N;{绿白出现可以买}门:=中=1 AND 部=1 ;STICKLINE(门,60,0,2,0),COLORGREEN;底部:IF(R6<M,20,0),LINETHICK1 , COLORWHITE;。
通达信副图指标源码【大全】
庄筹散筹(幅图)庄筹估算:EMA(WINNER(C)*70,5) COLORMAGENTA LINETHICK2;散筹估算:EMA((WINNER(C*1.1)-WINNER(C*0.9))*80,5) COLORGREEN LINETHICK2; CC:=FILTER( (CROSS(5,庄筹估算) AND 散筹估算<20 )*60,10 );抄底:CC,COLORYELLOW;DRAWTEXT(CC ,11 ,'抄底' ) ,COLORYELLOW;AA:= REF(庄筹估算,30)>40 OR REF(庄筹估算,20)>40;BB:=CROSS(28,庄筹估算) AND 散筹估算>40 AND AA=1 {AND LLV(L ,60 )>LLV(L ,250 )}; 洗盘:IF(BB ,30 ,60 ) COLORCY AN;DRAWTEXT(FILTER(BB,4) ,66 ,'洗盘' ) COLORCY AN;DRAWTEXT(庄筹估算>60,58,'★'),COLORRED;STICKLINE(庄筹估算<散筹估算AND 散筹估算<60,散筹估算,55,1,0),COLORGREEN; STICKLINE(庄筹估算>散筹估算,散筹估算,50,1,0),COLORRED;STICKLINE(庄筹估算<散筹估算,庄筹估算,0,0,0),COLORYELLOW;操盘频率(幅图)V AR1:=MA(CLOSE,26);持仓线: V AR1, , ;V AR2:=V AR1-0.25;空仓线: V AR2, , ;操盘频率: EMA(CLOSE,3);操盘频率是一个趋势类的指标,它由三根线条组成,分别是:操盘趋势,持仓线,空仓线组成,通常这个指标为我们明确指出了一个中期趋势的大方向机构能量线(幅图){坐标线;20.00;50.00;80.00}V AR1:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;机构做空能量线: SMA(V AR1,3,1),LINETHICK2,COLORGREEN;V AR2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;机构做多能量线: SMA(V AR2,5,1)-8,LINETHICK2,COLORRED;弱势区:20,POINTDOT,COLORGREEN;强弱分水岭:50,POINTDOT,COLORWHITE;强势区:80,POINTDOT,COLORF00FF0;该指标共四根线,分别为机构做空能量线(绿色粗线)、机构做多能量线(红色粗线),这两条线代表中期趋势;能量超买线(红色细线)、能量超卖线(绿色细线),这两条线代表短期趋势。
通达信买了后大涨的副图指标(可做选股公式)
注意:指标是参考,决策在Байду номын сангаас己!
X_2:=(CLOSE-REF(CLOSE,1))*100/REF(CLOSE,1)>=9.9 AND CLOSE=HIGH;
X_3:=CLOSE=OPEN AND HIGH>LOW AND HIGH!=CLOSE AND LOW!=OPEN;
XG:REF(X_2,2) AND EVERY(X_1,2);
这个指标是理想金钻级别指标大家可以安装看看效果并且没有未来函数
通达信买了后大涨的副图指标(可做选股公式)
这个副图还可不错,我看了几个,出现信号后有很大的概率会大涨。这个指标是理想金钻级别指标,大家可以安装看看效果,并且没有未来函数。
副图公式源码:
X_1:=(MAX(CLOSE,OPEN)-MIN(CLOSE,OPEN))/MIN(CLOSE,OPEN)*100<=2 OR ABS(CLOSE/OPEN)=1 AND NOT(HIGH=LOW) AND NOT(HIGH=MAX(OPEN,CLOSE)) AND NOT(MIN(CLOSE,OPEN)=LOW);