通达信指标公式源码 黑马出枪 源码

合集下载

通达信暴涨黑马指标+选股公式

通达信暴涨黑马指标+选股公式

通达信暴涨黑马指标+选股公式贴上源码:V1:=IF(V=CONST(LLV(V,100)),1,0);V2:=BARSLAST(V1);V3:=REF(H,V2);V4:=EMA(((SLOPE(C,22)*20)+C),55);V5:=EMA(C,12);V6:=LV3 AND C>V4;DRAWICON(V6,LLV(L,10),1);VAR1:=(REF(HIGH,1)+REF(LOW,1))/2;压力线:=MA(CLOSE,20)+2*STD(CLOSE,20);支撑线:=MA(CLOSE,21)-2.2*STD(CLOSE,21);VAR2:=CROSS(VAR1,压力线);VAR3:=REF(CLOSE,1);VAR4:=SMA(MAX(CLOSE-VAR3,0),7,1)/SMA(ABS(CLOSE-VAR3),7,1)*100;VAR5:=CROSS(79,VAR4);VAR6:=FILTER(VAR5,4);DRAWICON(FILTER(VAR6 OR VAR2,5),HIGH*1.035,2);FF:=EMA(CLOSE,3);暴涨大黑马:EMA(CLOSE,21);AA:=(CLOSE - 暴涨大黑马);趋势生命线:MA(CLOSE,72),LINETHICK3,colorblue;STICKLINE((暴涨大黑马> REF(暴涨大黑马,3)),暴涨大黑马,暴涨大黑马,6,6),LINETHICK3,colorred;STICKLINE((暴涨大黑马< REF(暴涨大黑马,3)),暴涨大黑马,暴涨大黑马,6,6),LINETHICK3,color00ff00;===============增加了部分限制条件测试了一下:一般证券类书籍会将24日均线作为生命线(21日也差不多),股价穿越生命线向上,是大牛股形成的必要条件,但不是充分条件。

即大牛股必定要穿越生命线向上走;穿越生命线的股票不一定是牛股。

通达信指标公式源码 黑马王子 副图源码

通达信指标公式源码 黑马王子 副图源码

黑马王子(源码、副图、附图)一切看图,一目了然!黑马王子源码RSV1:=(CLOSE-LLV(LOW,28))/(HHV(HIGH,28)-LLV(LOW,28))*100;RSV2:=(CLOSE-LLV(LOW,39))/(HHV(HIGH,39)-LLV(LOW,39))*100;短跳:SMA(SMA(RSV1,3,1),3,1)+3*STD(CLOSE,28),COLOR00FF00;中跳:SMA(RSV2,6,1)+2*STD(CLOSE,39),COLORRED;RSV3:=(CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89))*100;长跳:SMA(RSV3,6,1),COLORYELLOW;探试底:STICKLINE(中跳<17,中跳,17,6,0),COLORF00FF0;黄金坑:STICKLINE(短跳<28 AND 中跳<28 AND 长跳<28,MAX(长跳,MAX(短跳,中跳)),28,3,0),COLOR00CCFF;探顶:STICKLINE(中跳>80,80,中跳,3,0),COLORFFF000;DRAWICON(CROSS(长跳,17),中跳,1);DRAWTEXT(LONGCROSS(中跳,28,17),28,'追涨');DRAWTEXT(CROSS(短跳,长跳)AND 长跳<18 AND 长跳>REF(长跳,1)OR CROSS(长跳,6),28,'跑道起跳');短中长粘合:DRAWTEXT(ABS(中跳-长跳)<2 AND 中跳>REF(中跳,1),中跳,'**'),COLORBLUE;中跳1:=-100*(HHV(HIGH,50)-CLOSE)/(HHV(HIGH,50)-LLV(LOW,50));底:DRAWTEXT(CROSS(中跳1,-90) AND (长跳<中跳AND 长跳>REF(长跳,1)OR 短跳<28 AND 中跳<28 AND 长跳<28),长跳,'底'),COLORFF00FF;IF(COUNT(CROSS(中跳1,-90),12)=3,40,6);。

精准抄底大黑马通达信指标公式源码

精准抄底大黑马通达信指标公式源码

信号出现时高点低点一目了然,好不好直接上图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;趋势:IF(VAR6>45,VAR6-45,0);0,COLOR00FFFF;20,POINTDOT,COLORFFAA66,LINETHICK1;80,POINTDOT,COLORFFAA66,LINETHICK1;100,COLORFFFF33;V1:=LLV(LOW,10);V2:=HHV(H,25);价位线:=EMA((C-V1)/(V2-V1)*4,4);DRAWTEXT(CROSS(价位线,0.3),20+4,'●买'),COLORRED;DRAWTEXT(CROSS(3.5,价位线),100-4,'●卖'),COLORGREEN;VAR2Q:=REF(LOW,1);VAR3Q:=SMA(ABS(LOW-VAR2Q),3,1)/SMA(MAX(LOW-VAR2Q,0),3,1)*100; VAR4Q:=EMA(IF(CLOSE*1.3,VAR3Q*10,VAR3Q/10),3);VAR5Q:=LLV(LOW,30);VAR6Q:=HHV(VAR4Q,30);VAR7Q:=IF(MA(CLOSE,58),1,0);VAR8Q:=EMA(IF(LOW<=VAR5Q,(VAR4Q+VAR6Q*2)/2,0),3)/618*VAR7Q;VAR9Q:=IF(VAR8Q>100,100,VAR8Q);STICKLINE(VAR9Q>-120,0,VAR9Q,6.1,0),COLOR0000AA;STICKLINE(VAR9Q>-120,0,VAR9Q,4.9,0),COLOR0000BB;STICKLINE(VAR9Q>-120,0,VAR9Q,3.8,0),COLOR0000CC;STICKLINE(VAR9Q>-120,0,VAR9Q,2.7,0),COLOR0000DD;STICKLINE(VAR9Q>-120,0,VAR9Q,1.6,0),COLOR0000EE;STICKLINE(VAR9Q>-120,0,VAR9Q,0.4,0),COLOR4444FF;STICKLINE(趋势,(REF(趋势,1)),趋势,3.2,0) ,COLOR0044FF;STICKLINE(趋势,(REF(趋势,1)),趋势,2.7,0) ,COLOR0066FF;STICKLINE(趋势,(REF(趋势,1)),趋势,2.1,0) ,COLOR0088FF;STICKLINE(趋势,(REF(趋势,1)),趋势,1.5,0) ,COLOR00AAFF;STICKLINE(趋势,(REF(趋势,1)),趋势,0.9,0) ,COLOR00CCFF;STICKLINE(趋势,(REF(趋势,1)),趋势,0.2,0) ,COLOR00FFFF;粉红持有:=REF(趋势>REF(趋势,1),1);STICKLINE(粉红持有,(REF(趋势,1)),趋势,3.2,0),COLOR770077; STICKLINE(粉红持有,(REF(趋势,1)),趋势,2.7,0),COLOR990099; STICKLINE(粉红持有,(REF(趋势,1)),趋势,2.1,0),COLORBB00BB; STICKLINE(粉红持有,(REF(趋势,1)),趋势,1.5,0),COLORDD00DD; STICKLINE(粉红持有,(REF(趋势,1)),趋势,0.9,0),COLORFF00FF; STICKLINE(粉红持有,(REF(趋势,1)),趋势,0.2,0),COLORFF66FF;绿色减仓:=趋势<REF(趋势,1);STICKLINE(绿色减仓,(REF(趋势,1)),趋势,3.2,0 ),COLOR003300; STICKLINE(绿色减仓,(REF(趋势,1)),趋势,2.7,0 ),COLOR006600; STICKLINE(绿色减仓,(REF(趋势,1)),趋势,2.1,0 ),COLOR009900; STICKLINE(绿色减仓,(REF(趋势,1)),趋势,1.5,0 ),COLOR00CC00; STICKLINE(绿色减仓,(REF(趋势,1)),趋势,0.9,0 ),COLOR00FF00; STICKLINE(绿色减仓,(REF(趋势,1)),趋势,0.2,0 ),COLORCCFF66;AA3:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;AA4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;AA5:=SMA(AA4,13,8);走势:=CEILING(SMA(AA5,13,8));AA6:=SMA(AA3,21,8);卖临界:STICKLINE(走势-AA6>85,103,100,15,1),COLOR0000FF,LINETHICK2; N:=21;LC:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;E:=CROSS(83,RSI);STICKLINE( E,E,55,2.7,0),COLORFF6600;STICKLINE( E,E,55,2.1,0),COLORFF8800;STICKLINE( E,E,55,1.5,0),COLORFFAA00;STICKLINE( E,E,55,0.9,0),COLORFFCC00;STICKLINE( E,E,55,0.2,0),COLORFFFF00;DRAWTEXT(E,50,' 逃顶'),COLORFF9966;TYP:=(HIGH+LOW+CLOSE)/3;VAR11:=3;VAR21:=(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(CROSS(VAR21,VAR11),100,0),COLORRED,LINETHICK2;主力线:=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),LINETHIC K1,POINTDOT;超短线:(((主力线-LLV(主力线,21))/(HHV(主力线,21)-LLV(主力线,21)))*(4))*(25),LINETHICK0,COLORLIRED;轴:0,COLORFFFFFF;。

通达信中长线黑马指标公式源码

通达信中长线黑马指标公式源码

通达信中长线黑马指标选股思路,股价前期天量成交后,股价一路下行,经过一段谷底后,缩量突破前期成交量密积期的最高点,说明前期有主力界入,后缩理突破,说明主力控盘力强,现在有拉升的空间。

批标不在好坏,主要是选股的思路,有思路就有指标N:=0;M:=60;TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60, IF(PERIOD=5,240,1)))));MTIME:=MOD(FROMOPEN,TOTAL);CTIME:=IF(MTIME<0.5,TOTAL,MTIME);VVOL:=IF(CURRBARSCOUNT=1,V*TOTAL/CTIME,V);VAR1:=VVOL/CAPITAL*100; {换手率}VAR2:=HHV(VAR1,0); {上市以来的最大换手率}VAR3:=VAR1/VAR2*100; {当前换手率与最大换手率的比值}VAR4:=(H-L)/L*100; {当日涨幅}VAR5:=BARSLAST(VAR3>N); {换手率达80以上至今日的交易天数}VAR6:=REF(HIGH,VAR5);{80以上换手率的最高价}VAR7:=COUNT(CLOSE<VAR6,VAR5);平均成本:=IF(VAR5=0,CLOSE,SUM(CLOSE*VVOL,VAR5)/SUM(VVOL,VAR5)); 进出:=(CLOSE-平均成本)/平均成本*IF((CLOSE-平均成本)/平均成本<1,1000,10);主力入场:=DRAWICON(进出=0,LOW,1);买入:=STICKLINE(CROSS(CLOSE,VAR6) AND VAR3<M ANDVAR7>VAR5*9/10,0,70,1,1);{中线趋势}MDAY:=BARSLAST(VAR3>60 AND VAR3<=70);HIGHM:=REF(HIGH,MDAY);COUNTM:=COUNT(CLOSE<HIGHM,MDAY);MEDIUMCOST:=IF(MDAY=0,CLOSE,SUM(CLOSE*VVOL,MDAY)/SUM(VVOL,MD AY));拉升资金:=(CLOSE-MEDIUMCOST)/MEDIUMCOST*IF((CLOSE-MEDIUMCOST)/MEDIU MCOST<1,1000,10);{LS:=MA(拉升资金,5);}中线买入:=STICKLINE(CROSS(CLOSE,HIGHM) AND VAR3<50 AND COUNTM>MDAY*9/10,0,50,1,1);{短线}SDAY:=BARSLAST(VAR3>40 AND VAR3<=50);HIGHS:=REF(HIGH,SDAY);COUNTS:=COUNT(CLOSE<HIGHS,SDAY);SHORTCOST:=SUM(CLOSE,SDAY)/SDAY;散户进出:=MA((CLOSE-SHORTCOST)/SHORTCOST*IF((CLOSE-SHORTCOST)/SHORT COST<1,1000,10),10);短线买入:=STICKLINE(CROSS(CLOSE,HIGHS) AND VAR3<30 AND COUNTS>SDAY*9/10,0,50,1,1);一剑封喉:=(CROSS(CLOSE,VAR6) AND VAR3<M AND VAR7>VAR5*9/10 AND 拉升资金>散户进出)OR (CROSS(CLOSE,HIGHM) AND VAR3<50 AND COUNTM>MDAY*9/10 AND 拉升资金>散户进出) ;IF(一剑封喉,50,0);。

通达信指标公式源码 黑马信号(选股买点、黑马线、发现黑马)

通达信指标公式源码 黑马信号(选股买点、黑马线、发现黑马)

VAR3:=LLV(HIGH,240);VAR4:=100*(CLOSE-VAR3);VAR5:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100;VAR6:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530))*100;VAR8:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*1 00;VAR9:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)* 100;VARA:=BARSCOUNT(CLOSE);VARB:=VAR8<20 AND VAR9<23 AND VARA>35;VARC:=VARB AND COUNT(VARB,1)=1;VARD:=EMA(CLOSE,21)-EMA(CLOSE,8);VARE:=EMA(VARD,5);VARF:=TROUGHBARS(3,6,1)<4 AND CROSS(VARD,VARE);VAR10:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);VAR11:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);VAR12:=ZIG(3,6)<REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)>=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);VAR13:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3);VAR14:=ZIG(3,22)<REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)>=REF(ZIG(3,22),2) ANDREF(ZIG(3,22),2)>=REF(ZIG(3,22),3);VAR15:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3);VAR16:=ZIG(3,51)<REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)>=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3);VAR17:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3);VAR18:=ZIG(3,72)<REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)>=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3);VAR19:=EMA(CLOSE,2)-EMA(CLOSE,150);VAR1A:=EMA(VAR19,100);VAR1B:=2*(VAR19-VAR1A);VAR1C:=POW(VAR1B,3)*0.1+POW(VAR1B,1);VAR1D:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));VAR1E:=EMA(VAR1D*0.97,3);VAR1F:=(HIGH+LOW+CLOSE)/3;VAR20:=(VAR1F-MA(VAR1F,14))/(0.015*AVEDEV(VAR1F,14));VAR21:=CROSS(VAR1E,LOW);选股买点: VAR10, COLORYELLOW;组合买: (VAR11+VAR13+VAR15+VAR17), COLORRED;组合卖: (VAR12+VAR14+VAR16+VAR18), COLORGREEN;黑码线: IF(MONTH<2008 AND VAR1B>0.1,VAR1C,0)*1, COLOR6699CC;黑码信号介入点: 选股买点AND VARF AND VARC AND VAR21 AND VAR4<0 AND VAR5<2 AND VAR6=0, COLORFFFF99;DRAWTEXT(VAR13,0.6,'●'), COLORRED;DRAWICON(组合买,组合买,1);DRAWICON(组合卖,组合卖,9);DRAWTEXT(黑码信号介入点>0,4.5,'●我的黑码介入点'), COLORRED;DRAWICON(选股买点>0,4.2,1);DRAWTEXT(选股买点AND VARF AND VARC,2.8,' 30%下单莫错过!'), COLORMAGENTA; DRAWTEXT(VAR18,3,'空仓'), COLORGREEN;DRAWTEXT(VAR20<-110 AND 选股买点>0,2,'选股买点'), COLORYELLOW; DRAWTEXT(VAR17,1.3,'发现黑码'), COLORFF6600;DRAWTEXT(选股买点AND VAR20<-100 AND VARF AND VARC>0,4.1,'★组合5分钟线选股思路获利5%以上'), COLORRED;。

黑马决策线 通达信指标公式源码

黑马决策线 通达信指标公式源码

A1:=1;A2:=(5);A3:=(((2*CLOSE)+HIGH)+LOW)/4;A4:=LLV(LOW,34);A5:=HHV(HIGH,34);A6:=EMA((((A3-A4)/(A5-A4))*100),13);A7:=(EMA(((0.667*(REF(A6,1)))+(0.333*A6)),2))*A1;决策线:(EMA(A7,A2))*A1,COLORRED;A8:=(HHV(HIGH,9))-(LLV(LOW,9));A9:=(HHV(HIGH,9))-CLOSE;A10:=CLOSE-(LLV(LOW,9));A11:=((A9/A8)*100)-70;A12:=((CLOSE-(LLV(LOW,60)))/((HHV(HIGH,60))-(LLV(LOW,60))))*100;A13:=SMA(((A10/A8)*100),3,1);A14:=(SMA(A13,3,1))-(SMA(A11,9,1));A15:=IF((A14>100),(A14-100),0);A16:=(EMA((((A3-A4)/(A5-A4))*100),8))*A1;A17:=(EMA(A16,5))*A1;STICKLINE(((A16-A17)>0),A16,A17,3,1),COLORFFAA18;STICKLINE(((A16-A17)<0),A16,A17,3,0),COLORGREEN;A18:=(EMA(CLOSE,2))*A1;A19:=(EMA((((SLOPE(CLOSE,21))*20)+CLOSE),42))*A1;A20:=(HHV((MA(HIGH,13)),13))*A1;A21:=(LLV((MA(HIGH,13)),1))*A1;A22:=(EMA(CLOSE,4))*A1;A23:=((((A18>=A19) AND (A21=A20)) AND (A18>A22)) AND (CLOSE>A21)) AND ((REF(A21,1))<(REF(A20,1)));A24:=BARSLAST(A23)+1;A25:=(LLV(LOW,A24))*1.3;A26:=(LLV(LOW,20))*1.418;A27:=(((((A18>=A19) AND (A21=A20)) AND ((CLOSE/(REF(CLOSE,1)))>=1.07)) AND (A24<=30)) AND (CLOSE<=A25)) AND (CLOSE<=A26);A28:=A27 AND (FILTER(A27,A24));{A29:=(STRFIND(STKNAME,'ST',1)) > 0;}A30:=((((((A18>=A19) AND (A21=A20)) AND ((CLOSE/(REF(CLOSE,1)))>=1.035)) AND (A24<=30)) AND (CLOSE<=A25)) AND (CLOSE<=A26)) ;A31:=A30 AND (FILTER(A30,20));DRAWICON((A28 OR A31),决策线,1);DRAWTEXT((A28 OR A31),决策线,'←黑马'),COLORRED;{选股}{A18:=(EMA(CLOSE,2));A19:=(EMA((((SLOPE(CLOSE,21))*20)+CLOSE),42));A20:=(HHV((MA(HIGH,13)),13));A21:=(LLV((MA(HIGH,13)),1));A22:=(EMA(CLOSE,4));A23:=((((A18>=A19) AND (A21=A20)) AND (A18>A22)) AND (CLOSE>A21)) AND ((REF(A21,1))<(REF(A20,1)));A24:=BARSLAST(A23)+1;A25:=(LLV(LOW,A24))*1.3;A26:=(LLV(LOW,20))*1.418;A27:=(((((A18>=A19) AND (A21=A20)) AND ((CLOSE/(REF(CLOSE,1)))>=1.07)) AND (A24<=30)) AND (CLOSE<=A25)) AND (CLOSE<=A26);A28:=A27 AND (FILTER(A27,A24));A30:=((((((A18>=A19) AND (A21=A20)) AND ((CLOSE/(REF(CLOSE,1)))>=1.035)) AND (A24<=30)) AND (CLOSE<=A25)) AND (CLOSE<=A26)) ;A31:=A30 AND (FILTER(A30,20));A28 OR A31;};。

主升起爆点、黑马起步、空中加油通达信指标公式源码

主升起爆点、黑马起步、空中加油通达信指标公式源码

主升起爆点、黑马起步、空中加油!年:=1+(BARSLAST(YEAR!=REF(YEAR,1) OR DATETODAY(DATE)=1)); 天数:=IF(PERIOD=5,年,DRAWNULL);高1:=HHV(H,天数);低1:=LLV(L,天数);高低:(C-低1)/(高1-低1)*100,,NODRAW,COLORFFFF00;振幅:(高1-低1)/低1*100,NODRAW,COLORWHITE;天:CONST(高1),NODRAW,COLORYELLOW;地:CONST(低1),NODRAW,COLOR00FF00;H66%:CONST(高1-(高1-低1)*1/3),NODRAW,COLORFFFF00;中:CONST(高1-(高1-低1)*1/2),NODRAW,COLORWHITE;H33%:CONST(高1-(高1-低1)*2/3),NODRAW,COLOR0099FF;TT3:=(CURRBARSCOUNT=1{5});TT4:=(CURRBARSCOUNT=1{5+3});STICKLINE(C>0,CONST(高1-(高1-低1)*1/4),CONST(高1-(高1-低1)*1/4),2,0),COLORFF00FF;STICKLINE(C>0,CONST(高1-(高1-低1)*3/4),CONST(高1-(高1-低1)*3/4),2,0),COLORFF00FF;STICKLINE(C>0,天,天,10,0),COLORYELLOW;STICKLINE(C>0,地,地,10,0),COLOR00FF00;STICKLINE(C>0,H66%,H66%,10,0),COLORFFFF00;STICKLINE(C>0,中,中,10,0),COLORWHITE;STICKLINE(C>0,H33%,H33%,10,0),COLOR0099FF;H75%:CONST(高1-(高1-低1)*1/4),NODRAW;H25%:CONST(高1-(高1-低1)*3/4),NODRAW;均价线:=AMOUNT/V/100;C2:=REF(C,1);涨停:=IF(REF(C,1)*1.1-C<0.01 ,1,0);STICKLINE(涨停,OPEN,CLOSE,3,0),COLORRED;STICKLINE(涨停,OPEN,CLOSE,2.8,0),COLORYELLOW;STICKLINE(涨停,H,L,0,0),COLORYELLOW;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,OPEN,CLOSE,0.8,0),COLORBLUE; STICKLINE(PP AND HH,OPEN,CLOSE,0.8,0),COLORBLUE; STICKLINE(PP3 AND HH,OPEN,CLOSE,0.8,0),COLORBLUE;A:=SMA(L,4,3);{}DRAWTEXT("KDJ.J"-REF("KDJ.J",1)>30 AND C/REF(C,1)>1.043 AND EXPMA(C,12)>EXPMA(C,50),L*0.95,'起爆'),COLORRED;星板:=ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.03&& CLOSE/OPEN>1.03&&CLOSE>REF(CLOSE,2) AND C/REF(C,1)>1.071; DRAWTEXT(星板,L*0.950,'主升'),COLORMAGENTA;DRAWICON(星板,L*0.97,1);。

精准抄底大黑马通达信指标公式源码

精准抄底大黑马通达信指标公式源码

精准抄底大黑马通达信指标公式源码在通达信软件中,精准抄底大黑马指标源码如下:```python#快线指标计算公式def fast_line(close_prices, n):high_prices = rolling_max(close_prices, n)low_prices = rolling_min(close_prices, n)fast_line = (close_prices - low_prices) / (high_prices - low_prices) * 100return fast_line#慢线指标计算公式def slow_line(fast_line, m):slow_line = moving_average(fast_line, m)return slow_line#大黑马指标计算公式def dahema(close_prices, n, m):fast = fast_line(close_prices, n)slow = slow_line(fast, m)dahema = (fast - slow) * 2return dahema#主函数:以收盘价为例进行计算def main(:close_prices = [100, 105, 98, 102, 110, 115, 120, 118, 110, 105]n=5#计算快线指标的周期m=3#计算慢线指标的周期result = dahema(close_prices, n, m)print(result)#运行主函数if __name__ == "__main__":main```以上代码中,包含了计算精准抄底大黑马指标的各个公式。

1. `fast_line`: 通过计算最高价的n周期内最大值和最低价的n周期内最小值,计算快线指标的数值。

2. `slow_line`: 通过对快线指标进行移动平均线的计算,得到慢线指标的数值。

通达信主图指标黑马(附源码)

通达信主图指标黑马(附源码)

通达信主图指标黑马(附源码){获利盘:WINNER(CLOSE)*100,NODRAW;DRAWBAND(MA(CLOSE,20),RGB(33,0,0),MA(CLOSE,60),RGB(0,0,0));DRAWBAND(MA(CLOSE,5),RGB(150,150,0),MA(CLOSE,10),RGB(0,0,150));DRAWKLINE(H,O,L,C);}上:=(SMA(HIGH,21,2) * 1.05);DRAWTEXT(FILTER(((((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,1))) AND (HIGH > 上)) AND (CLOSE < 上)),5),HIGH*1.02,'减仓'),COLORFFFFFF;下轨道:(SMA(LOW,21,2) * 0.969),POINTDOT,COLOR00FFFF;BMA:=MA(CLOSE,118);阻挡:=(SMA(HIGH,21,2) * 1.05);RSV:=(((CLOSE - LLV(LOW,13)) / (HHV(HIGH,13) - LLV(LOW,13))) * 100);K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=((3 * K) - (2 * D));RSV12:=(((CLOSE - LLV(LOW,34)) / (HHV(HIGH,34) - LLV(LOW,34))) * 100);K12:=SMA(RSV12,3,1);D12:=SMA(K12,3,1);J12:=((3 * K12) - (2 * D12));RSV24:=(((CLOSE - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100);K24:=SMA(RSV24,3,1);D24:=SMA(K24,3,1);J24:=((3 * K24) - (2 * D24));支撑位:=IF(CROSS(J,J24),LOW,REF(LOW,BARSLAST(CROSS(J,J24))));压力位:IF(CROSS(J24,J),HIGH,REF(HIGH,BARSLAST(CROSS(J24,J)))),COLOR00FF00;CB:=((AMOUNT / VOL) / 100);CD:=((CB > HIGH) OR (CB < LOW));黑马趋势:=MA(CLOSE,3);MA8:MA(CLOSE,8),COLORWHITE;MA13:MA(CLOSE,13),COLORRED;BB8:=((ATAN((MA8 - REF(MA8,1))) * 3.1416) * 10);DRAWTEXT(FILTER(((((((CLOSE / OPEN) > 1.04) AND ((CLOSE - REF(CLOSE,1)) > 0)) AND (CLOSE > 下轨道)) AND ((MA8 - REF(MA8,1)) > 0)) AND (CLOSE < 上)),3),LOW*0.98,'追击'),COLORD1E768; VARD:=((((OPEN + LOW) + HIGH) + CLOSE) / 4);支撑:=EMA(VARD,5);短期底部0:=LLV(OPEN,30);X1:=(((((3 * CLOSE) + HIGH) + LOW) + OPEN) / 6);X2:=EMA(X1,10);X3:=REF(X2,1);X4:=((REF(HIGH,1) + REF(LOW,1)) / 2);X5:=(MA(CLOSE,21) + (2 * STD(CLOSE,21)));X6:=REF(CLOSE,1);X7:=((SMA(MAX((CLOSE - X6),0),7,1) / SMA(ABS((CLOSE - X6)),7,1)) * 100);X8:=CROSS(79,X7);X9:=FILTER(X8,4);MAP1:=MA(CLOSE,60);均线30:=MA(CLOSE,30);均线89:=MA(CLOSE,89);均线:=MA(CLOSE,16);均线34:=MA(CLOSE,34);均线55:=MA(CLOSE,55);VAR1:=EMA(CLOSE,8);VAR2:=EMA(VAR1,20);VAR3:=CROSS(VAR1,VAR2);VAR4:=(VAR1 < MA(CLOSE,60));VAR5:=(((HHV(HIGH,36) - CLOSE) / (HHV(HIGH,36) - LLV(LOW,36))) * 100);VAR6:=SMA(VAR5,5,1);VAR7:=SMA(VAR6,8,1);VAR8:=(CROSS(VAR6,VAR7) AND (VAR7 < 16));VAR9:=((CLOSE > (LLV(CLOSE,60) + (0.3 * LLV(CLOSE,60)))) AND VAR8);VARA:=IF((CLOSE > 1000),VAR8,VAR9);黑马起步:=(VAR3 AND VAR4);逃遁:=VARA;均线20:=MA(CLOSE,20);均线120:=MA(CLOSE,120);牛熊线:=MA(CLOSE,250);VA:=CROSS(MA(CLOSE,19),MA(CLOSE,120));VB:=(MA(CLOSE,20) > MA(CLOSE,120));VC:=CROSS(MA(CLOSE,120),MA(CLOSE,89));VD:=(MA(CLOSE,20) < MA(CLOSE,120));VE:=CROSS(MA(CLOSE,20),MA(CLOSE,250));VF:=(MA(CLOSE,20) > MA(CLOSE,250));VG:=CROSS(MA(CLOSE,250),MA(CLOSE,20));DRAWTEXT((((((均线- REF(均线,1)) > 0) AND CROSS(均线20,均线120)) AND (LOW <= 均线120)) AND (CLOSE >= 均线120)),LOW,'三线开花'),COLORFFFFFF;短期底部:LLV(HIGH,30),COLOR0000FF;上轨:(SMA(HIGH,21,2) * 1.092),POINTDOT,COLORFFFFFF;中轨道:(SMA(HIGH,21,2) * 1.017),POINTDOT,COLORFFFFFF;DRAWTEXT(FILTER(((((LOW < 下轨道) AND (CLOSE > MA(CLOSE,15))) AND (CLOSE > 短期底部)) AND (HIGH < 压力位)),10),LOW,'★短线5%'),COLOR9DC522;DRAWTEXT(((((((HIGH >= 均线120) AND (CLOSE < REF(CLOSE,1))) AND (CLOSE < REF(CLOSE,1))) AND (HIGH > 上)) AND (CLOSE < 上)) AND (CLOSE < 均线120)),HIGH*1.02,'减仓'),COLOR00FF00;DRAWTEXT(FILTER(((HIGH > 阻挡) AND (CLOSE < 阻挡)),5),HIGH*1.02,'逃命');DRAWTEXT(((VE > VG) AND (HIGH < 阻挡)),LOW*0.96,'★短线'),COLOR00FFFF;DRAWTEXT(FILTER(((((((((((OPEN < X2) AND (CLOSE > X2)) AND ((支撑- REF(支撑,1)) > 0)) AND ((支撑- REF(支撑,1)) > 0)) AND (CLOSE < 阻挡)) AND ((均线- REF(均线,1)) > 0)) AND (CLOSE >= 均线)) AND (HIGH < 阻挡)) AND ((MA8 -REF(MA8,1)) > 0)) AND ((阻挡-REF(阻挡,2)) > 0)),11),LOW*0.98,'★快马加鞭'),COLOR0000FF;DRAWTEXT(FILTER(((((((OPEN < X2) AND (WINNER(CLOSE) < 0.2)) AND (CLOSE > X2)) AND ((X2 -REF(X2,1)) > 0)) AND (HIGH < 阻挡)) AND ((CLOSE - REF(CLOSE,1)) > 0.35)),4),LOW*0.98,'★狂奔'),COLORD18073;DRAWTEXT((((((((CROSS(支撑,均线) AND (HIGH < 中轨道)) AND (WINNER(CLOSE) < 0.2)) AND (CLOSE < 阻挡)) AND (CLOSE > OPEN)) AND (LOW <= X2)) AND (CLOSE >= X2)) AND CROSS(支撑,X2)),LOW,'★起步'),COLOR00FFFF;DRAWTEXT(CROSS(X4,X5),HIGH,'●减仓'),COLOR00B4FF;DRAWTEXT(X9,(HIGH * 1.03),'出货'),COLOR9000F5;DRAWTEXT((((黑马起步> 0) AND (LOW <= X2)) AND ((均线- REF(均线,1)) > 0)),(LOW*0.98),'★黑马起步'),COLOR00FF00;DRAWTEXT((逃遁> 0),(HIGH * 1.03),'●逃命'),COLOR0000FF;RDV:=SMA(LOW,8,1);DRAWTEXT(((((CROSS(K,D) AND (CLOSE >= OPEN)) AND ((X2 -REF(X2,1)) > 0)) AND ((RDV -REF(RDV,1)) > 0)) AND (K <= 33)),(LOW *0.98),'★黑马初现'),COLOR8500DE;DRAWTEXT(FILTER((((((((LOW <= 短期底部0) AND (WINNER(CLOSE) < 0.2)) AND (CLOSE < 牛熊线)) AND (HIGH < 阻挡)) AND ((X2 -REF(X2,1)) > 0)) AND (CLOSE > OPEN)) AND (HIGH >= X3)),5),LOW*0.98,'筑底'),COLOR85B256;RCK:=(SMA(LOW,21,2) * 0.95);趋势线:=SMA(LOW,5,1);大胆买入:DRAWTEXT(((CROSS(趋势线,RCK) AND (LOW <= X2)) AND ((X2 - REF(X2,1)) > 0)),LOW,'★大胆买入'),COLORE50000;B1:=(((HIGH + LOW) + CLOSE) / 3);B6:=HHV(B1,(4 * 15));B7:=LLV(B1,(4 * 15));B8:=(B6 - B7);飞龙顶底线:=(MA(((B1 - B7) / B8),2) * 80);DRAWTEXT(FILTER(((((((飞龙顶底线<= 1) AND (WINNER(CLOSE) < 0.02)) AND (HIGH < 趋势线)) AND (CLOSE > OPEN)) AND (LOW <= 短期底部0)) AND (CLOSE > 短期底部0)),8),LOW*0.99,'黑马寻底'),COLORE7DD1F;DRAWTEXT(FILTER((((((((LOW <= 短期底部0) AND (WINNER(CLOSE) < 0.015)) AND ((OPEN / CLOSE) > 0.99)) AND ((J -REF(J,1)) > 0)) AND (CLOSE > OPEN)) AND (HIGH < 支撑位)) AND (CLOSE > 短期底部0)),25),LOW*0.98,'开始建仓'),COLOR00FFFF;DRAWTEXT(FILTER((((((((LOW <= 均线30) AND ((MA8 - REF(MA8,1)) > 0)) AND ((均线- REF(均线20,1)) > 0)) AND ((趋势线- REF(趋势线,1)) > 0)) AND (CLOSE >= 均线30)) AND (WINNER(CLOSE) < 0.15)) AND ((CLOSE / OPEN) > 1.01)),3),LOW,'★天马奔月'),COLOR76B0FC;DRAWTEXT((((((OPEN <= 均线) AND ((均线30 - REF(均线30,1)) > 0)) AND (CLOSE > 均线89)) AND (BB8 > 1)) AND ((CLOSE / OPEN) > 1.04)),LOW,'★天马过桥'),COLORCC99FF;VAR001:=(CLOSE*2+HIGH+LOW)/4;SK:= EMA(VAR001,13)-EMA(VAR001,73);SD:= EMA(SK,2);DRAWTEXT((CROSS(SK,SD) AND SK<-0.04 AND (C-REF(C,1))/REF(C,1)>=0.03) OR (CROSS(SK,SD) AND SK<=-0.14 )OR (CROSS(SK,SD) AND SK<=0.05 AND (V/MA(V,5)>2 OR C/REF(C,1)>0.035)) ,LOW,'黑马短线'),COLORGREEN;。

通达信指标公式源码黑马出枪公式选股 副图 源码

通达信指标公式源码黑马出枪公式选股 副图 源码

通达信黑码出枪公式选股LC:=REF(CLOSE,1);RSI5:=((SMA(MAX((CLOSE - LC),0),5,1) / SMA(ABS((CLOSE - LC)),5,1)) * 100); TR1:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),10);HD:=(HIGH - REF(HIGH,1));LD:=(REF(LOW,1) - LOW);DMP:=SUM(IF(((HD > 0) AND (HD > LD)),HD,0),10);DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),10);PDI:=((DMP * 100) / TR1);MDI:=((DMM * 100) / TR1);ADX:=MA(((ABS((MDI - PDI)) / (MDI + PDI)) * 100),5);AV:=(RSI5 + ADX);DXR:=(((ADX + REF(ADX,5)) / 2) + RSI5);0,COLORFF00FF;WR10:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,13) - LLV(LOW,13))); NEWVOL:=(RSI5 - WR10);阶段底部:=(AV + NEWVOL);趋势线:=LLV(阶段底部,1),COLORWHITE,LINETHICK0;STICKLINE(CROSS(阶段底部,0),0,-10,0.1,1),LINETHICK6,COLORRED; STICKLINE((趋势线>230 ),100,90,0.1,1),LINETHICK6,COLORGREEN;Y1:=LLV(L,17);Y2:=SMA(ABS(L-REF(L,1)),17,1);Y3:=SMA(MAX(L-REF(L,1),0),17,2);Q:=-(EMA(IF(L<=Y1,Y2/Y3,-3),1));STICKLINE(CROSS(Q,0),15,0,4,0), , COLORYELLOW;强拉升: IF(CROSS(Q,0),1,0),COLORYELLOW;Q1:= (CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100, ,COLOR00FF00,LINETHICK2;STICKLINE(CROSS(Q1,-24),20,0,4,0), , COLORMAGENTA;加强拉升: IF(CROSS(Q1,-24),1,0),COLORMAGENTA;VAR1:=EMA(EMA(CLOSE,9),9);控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;VAR2:=EXPMA(EXPMA(EXPMA((2*CLOSE+HIGH+LOW)/4,4),4),4);天:=( MA((VAR2-REF(VAR2,1))/REF(VAR2,1)*100,2));地:=( MA((VAR2-REF(VAR2,1))/REF(VAR2,1)*100,1));STICKLINE(地>天AND 地<0,10,0,1,0),COLORRED;开始拉升:STICKLINE(地>天AND 地<0,10,0,1,0)=1,COLORRED;LOWV:=LLV(LOW,9);HIGHV:=HHV(HIGH,9);RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,3);K:EMA(RSV,3);D:MA(K,3);STICKLINE(K>D , K,D ,1.1,0),COLORRED,LINETHICK2;STICKLINE(D>K,K,D,1.1,0),COLORGREEN,LINETHICK2;逃顶线:90,COLORGREEN;抄底线:10,COLORGREEN;警戒:阶段底部< 0,LINETHICK0,COLORYELLOW;出击:CROSS(阶段底部,0),LINETHICK0,COLORRED;R1:=1;R2:=((((2*CLOSE)+HIGH)+LOW) / 4);R4:=LLV(LOW,5);R5:=HHV(HIGH,4);C1:=(EMA((((R2-R4)/(R5-R4))*100),4)*R1),COLORFF00FF,LINETHICK2;C2:=(EMA(((0.667*REF(C1,1))+(0.333*C1)),2)*R1),COLORFFFFFF,LINETHIC K2;条:=CROSS(C1,C2) AND C1<40;STICKLINE(条,0,-10,2,0),COLORRED;DRAWTEXT(条,20,'出枪'),COLORYELLOW;A10:=CROSS(控盘,0);无庄控盘:IF(控盘<0,控盘,0),COLORWHITE,NODRAW;开始控盘:IF(A10,20,0),LINETHICK1,COLORYELLOW;AAZ2:=(MIN(O,C)-L)/L*100>1.4;BBZ2:=L/MA(C,30)<1.03 AND L/MA(C,30)>0.99 AND C<=O;准备抓:IF(AAZ2 AND BBZ2,20,0);DRAWTEXT(AAZ2 AND BBZ2,20,'准备')COLORLIBLUE;。

通达信中长线黑马指标公式源码

通达信中长线黑马指标公式源码

通达信中长线黑马指标公式源码通达信中的长线黑马指标是一种用于寻找潜在上涨股票的指标,通过分析股票的长期趋势和波动情况来筛选出有潜力的个股。

下面是该指标的公式源码:```参数:N:长线天数M:短线天数变量:HIGH1:前N天最高价LOW1:前N天最低价HIGH2:前M天最高价LOW2:前M天最低价计算:HIGH1:=HHV(HIGH,N);LOW1:=LLV(LOW,N);HIGH2:=HHV(HIGH,M);LOW2:=LLV(LOW,M);IFHIGH=LOWTHENLONGDAY:=0ELSELONGDAY:=FLOOR(((CLOSE-LOW2)/(HIGH2-LOW2)-1)*100)*(N-M)/N;IFHIGH1=LOW1THENSHORTDAY:=0ELSESHORTDAY:=FLOOR(((CLOSE-LOW1)/(HIGH1-LOW1)-1)*100)*M/N;LONGHANDLE:=IF(LONGDAY>0,LONGDAY,0);SHORTHANDLE:=IF(SHORTDAY>0,SHORTDAY,0);LONGMA:MA(LONGHANDLE,N);SHORTMA:MA(SHORTHANDLE,M);SIGNAL:=IF(LONGMA>SHORTMA,1,IF(LONGMA<SHORTMA,-1,0));DRAWLINE(LONGHANDLE,'LONGHANDLE',RED);DRAWLINE(SHORTHANDLE,'SHORTHANDLE',BLUE);```这段代码首先定义了两个参数:N为长线天数,M为短线天数。

接着定义了四个变量:HIGH1、LOW1、HIGH2和LOW2,分别表示前N天最高价、前N天最低价、前M天最高价和前M天最低价。

然后,通过调用HHV函数和LLV函数分别计算了最高价和最低价的历史最高值和最低值。

通达信选股公式黑马起动原码无未来

通达信选股公式黑马起动原码无未来
(MA5,MA13))+1),L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS
(MA13,MA5))+1),0),COLOR00FF00;
BT:=(LLV(VAR2,2)=LLV(VAR2,7) AND COUNT(VAR2<0,2) AND CROSS(VAR2,MA(VAR2,2))) AND
LC:=REF(CLOSE,1);
RSI5:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*10,COLORFF00FF,LINETHICK1;
RSI10:=SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*10,COLOR00FFFF;
Y1:=LLV(L,17);
Y2:=SMA(ABS(L-REF(L,1)),17,1);
Y3:=SMA(MAX(L-REF(L,1),0),17,2);
Q:=-ቤተ መጻሕፍቲ ባይዱEMA(IF(L<=Y1,Y2/Y3,-3),1));
条:=IF(CROSS(Q,0),1,0),COLORYELLOW;
N1:=5;N2:=10;
通达信选股公式:黑马起动(原码无未来 ) y1:=llv(l,17);y2:=sma(abs(l-ref(l,1)),17,1); y3:=sma(max(l-ref(l,1),0),17,2); q:=-(ema(if(l<=y1,y2/y3,-3),1));条:=if(cross(q,0),1,0),coloryellow; n1:=5;n2:=10; lc:=ref(close,1); rsi5:=sma(max(close-lc,0),n1,1)/sma(abs(close-lc),n1,1)*10,colo rff00ff,linethick1; rsi10:=sma(max(close-lc,0),n2,1)/sma(abs(close-lc),n2,1)*10,col or00ffff; var1:=c-ref(c,1); var2:=100*ema(ema(var1,6),6)/ema(ema(abs(var1),6),6); ma5:=ema(c,5); ma13:=ema(c,13); up:=drawline(l=llv(l,barslast(cross(ma13,ma5))+1),llv(l,barsla st(cross (ma13,ma5))+1),h=hhv(h,barslast(cross(ma5,ma13))+1),hhv(h,ba rslast(cross (ma5,ma13))+1),0),color0000ff; down:=drawline(h=hhv(h,barslast(cross(ma5,ma13))+1),hhv(h,barslast(cross (ma5,ma13))+1),l=llv(l,barslast(cross(ma13,ma5))+1),llv(l,barsl ast(cross (ma13,ma5))+1),0),color00ff00; bt:=(llv(var2,2)=llv(var2,7) up>ref(down,1);tj1:=ref(down,1)<ref(down,2) c<hhv(h,21)*0.82;bt pxektf62 分享于 2017-04-21 05:02:10.0 通达信选股公式:黑马起动(原码无未来 ) 文档格式: .doc 文档页数: 2页 文档大小: 15.23k 文档热度: 文档分类: 幼儿/小学教育 -- 教育管理
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

LC:=REF(CLOSE,1);
RSI5:=((SMA(MAX((CLOSE - LC),0),5,1) / SMA(ABS((CLOSE - LC)),5,1)) * 100);
TR1:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),10);
HD:=(HIGH - REF(HIGH,1));
LD:=(REF(LOW,1) - LOW);
DMP:=SUM(IF(((HD > 0) AND (HD > LD)),HD,0),10);
DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),10);
PDI:=((DMP * 100) / TR1);
MDI:=((DMM * 100) / TR1);
ADX:=MA(((ABS((MDI - PDI)) / (MDI + PDI)) * 100),5);
AV:=(RSI5 + ADX);
DXR:=(((ADX + REF(ADX,5)) / 2) + RSI5);
0,COLORFF00FF;
WR10:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,13) - LLV(LOW,13))); NEWVOL:=(RSI5 - WR10);
阶段底部:=(AV + NEWVOL);
趋势线:=LLV(阶段底部,1),COLORWHITE,LINETHICK0;
STICKLINE(CROSS(阶段底部,0),0,-10,0.1,1),LINETHICK6,COLORRED; STICKLINE((趋势线>230 ),100,90,0.1,1),LINETHICK6,COLORGREEN;
Y1:=LLV(L,17);
Y2:=SMA(ABS(L-REF(L,1)),17,1);
Y3:=SMA(MAX(L-REF(L,1),0),17,2);
Q:=-(EMA(IF(L<=Y1,Y2/Y3,-3),1));
STICKLINE(CROSS(Q,0),15,0,4,0), , COLORYELLOW;
强拉升: IF(CROSS(Q,0),1,0),COLORYELLOW;
Q1:= (CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100, , COLOR00FF00,LINETHICK2; STICKLINE(CROSS(Q1,-24),20,0,4,0), , COLORMAGENTA;
加强拉升: IF(CROSS(Q1,-24),1,0),COLORMAGENTA;
VAR1:=EMA(EMA(CLOSE,9),9);
控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;
VAR2:=EXPMA(EXPMA(EXPMA((2*CLOSE+HIGH+LOW)/4,4),4),4);
天:=( MA((VAR2-REF(VAR2,1))/REF(VAR2,1)*100,2));
地:=( MA((VAR2-REF(VAR2,1))/REF(VAR2,1)*100,1));
STICKLINE(地>天AND 地<0,10,0,1,0),COLORRED;
开始拉升:STICKLINE(地>天AND 地<0,10,0,1,0)=1,COLORRED;
LOWV:=LLV(LOW,9);
HIGHV:=HHV(HIGH,9);
RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,3);
K:EMA(RSV,3);
D:MA(K,3);
STICKLINE(K>D , K,D ,1.1,0),COLORRED,LINETHICK2;
STICKLINE(D>K,K,D,1.1,0),COLORGREEN,LINETHICK2;
逃顶线:90,COLORGREEN;
抄底线:10,COLORGREEN;
警戒:阶段底部< 0,LINETHICK0,COLORYELLOW;
出击:CROSS(阶段底部,0),LINETHICK0,COLORRED;
R1:=1;
R2:=((((2*CLOSE)+HIGH)+LOW) / 4);
R4:=LLV(LOW,5);
R5:=HHV(HIGH,4);
C1:=(EMA((((R2-R4)/(R5-R4))*100),4)*R1),COLORFF00FF,LINETHICK2;
C2:=(EMA(((0.667*REF(C1,1))+(0.333*C1)),2)*R1),COLORFFFFFF,LINETHICK2; 条:=CROSS(C1,C2) AND C1<40;
STICKLINE(条,0,-10,2,0),COLORRED;
DRAWTEXT(条,20,'出枪'),COLORYELLOW;
A10:=CROSS(控盘,0);
无庄控盘:IF(控盘<0,控盘,0),COLORWHITE,NODRAW;
开始控盘:IF(A10,20,0),LINETHICK1,COLORYELLOW;
AAZ2:=(MIN(O,C)-L)/L*100>1.4;
BBZ2:=L/MA(C,30)<1.03 AND L/MA(C,30)>0.99 AND C<=O;
准备抓:IF(AAZ2 AND BBZ2,20,0);
DRAWTEXT(AAZ2 AND BBZ2,20,'准备')COLORLIBLUE;。

相关文档
最新文档