【股票指标公式下载】-【通达信】大波黑马起步(百万测底、庄吸筹、灵桥黑马)
【炒股必看】通达信机构抓黑马主图指标公式
通达信机构抓黑马主图指标公式V1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);V2:=(1-7/100)*(DMA(CLOSE,V1));V3:=(1+7/100)*(DMA(CLOSE,V1));V5:=MA((LOW+HIGH+CLOSE)/3,5);支撑:RE FDATE(V2,DATE),POINTDOT,LINETHICK3,COLORCC66FF;阻力:REFDATE(V3,DATE),POINTDOT,LINETHICK3,COLORGREEN;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 ORVAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND VAR1;STICKLINE(VAR19,L,L*0.98,3,0),COLORYELLOW;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;STICKLINE(VAR1A,H*1.01,H,3,0),COLOR00FF00{98FD};MA3:MA(C,3);MA5:MA(C,5),COLORWHITE;MA10:=MA(C,10),NODRAW;MA30:MA(C,34),NODRAW;五日乖离率:=(C-MA5)/MA5*100;BB5:=ATAN((MA5/REF(MA5,1)-1)*100)*180/3.1416;IF(BB5>30 AND MA5>REF(MA5,1), MA5,DRAWNULL),LINETHICK1,COLORRED;BB10:=ATAN((MA10/REF(MA10,1)-1)*100)*180/3.1416;IF(BB5<0 AND MA5<REF(MA5,1), MA5,DRAWNULL),LINETHICK1,COLORGREEN; DD5:=MA5<REF(MA5,1);IF(DD5,MA5,DRAWNULL),COLOR00FF00;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,LINETHICK1;{用法:黄托底买进,绿压顶买出。
【股票指标公式下载】-【通达信】庄赢时(大底、发财、闪人)
【通达信】庄赢时(大底、发财、闪人)-指标公式源码VAR1:=(CLOSE+HIGH+LOW+OPEN)/4;VAR2:=SUMBARS(VOL,CAPITAL);VAR3:=HHV(VAR1,VAR2);VAR4:=LLV(VAR1,VAR2);VAR5:=(2*VAR1-VAR4-REF(VAR4,1))/(VAR3-VAR4);VAR6:=(VAR1-VAR4)/(VAR3-VAR4);VAR7:=IF(VAR1<=VAR4,VAR5*60,VAR6*60);VAR8:=600*(EMA(CLOSE,3)-EMA(LOW,30))/EMA(LOW,30);VAR9:=EMA(VAR8,7);VARA:=(WINNER(120*CLOSE/100)-WINNER(100*CLOSE/100))*100; VARB:=(-100)*(WINNER(120*CLOSE/100)-WINNER(100*CLOSE/100))+5; VARC:=HHV(HIGH,9)-LLV(LOW,9);VARD:=HHV(HIGH,9)-CLOSE;VARE:=CLOSE-LLV(LOW,9);VARF:=VARD/VARC*100-70;VAR10:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100; VAR11:=(2*CLOSE+HIGH+LOW)/4;VAR12:=SMA(VARE/VARC*100,3,1);VAR13:=LLV(LOW,34);VAR14:=SMA(VAR12,3,1)-SMA(VARF,9,1);VAR15:=IF(VAR14>100,VAR14-100,0);VAR16:=HHV(HIGH,34);VAR17:=EMA((VAR11-VAR13)/(VAR16-VAR13)*100,8);VAR18:=EMA(VAR17,5);STICKLINE(VAR17-VAR18>0,VAR17,VAR18,8,1), ,COLORRED ; STICKLINE(VAR17-VAR18<0,VAR17,VAR18,8,1), ,COLORGREEN ;Q1:=(CLOSE-REF(CLOSE, 1))/REF(CLOSE, 1)*100;Q2:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100;Q3:=SMA(Q2, 9, 1);Q4:=SMA(Q3, 3, 1);AA:3*Q3-2*Q4, ,COLORYELLOW;Q5:=AA>1*REF(AA, 1);Q6:=LLVBARS(LOW, 50);Q7:=SUM(VOL, Q6);Q8:=HHVBARS(HIGH, 50);Q9:=SUM(VOL, Q8);Q10:=(CLOSE-REF(OPEN, Q8))/REF(OPEN, Q8)*100;Q11:=HHV(AA,5);A1:EMA(Q3, 3) , COLORFFDDCC;A2:EMA(A1, 3) , COLORFFBBCC;A3:EMA(A2, 3) , COLORFF99CC;A4:EMA(A3, 3) , COLORFF55CC;A5:EMA(A4, 3) , COLORFF33CC;A6:EMA(A5, 3) , COLORFF11CC;A:EMA(A4, 3), , COLORFF00CC;DRAWTEXT(CROSS(AA, 20) AND Q10<-13,10,'☆大底'), COLOR00FF00; DRAWTEXT(CROSS(AA, A5) AND REF(AA,1)<34,REF(AA,1),'☆发财了'), COLORRED ;DRAWTEXT(CROSS(A1, AA) AND REF(AA,1)>80, REF(AA,3), '☆闪人'), COLORCFB53B;DRAWTEXT(CROSS(AA, A1) AND Q5 AND A1<20 AND Q1>9 OR A1>1*REF(A1, 1) AND Q1>4 AND A1<60, 30, '拉'), COLORFFFFCC;DQ:=CROSS(AA,A1) AND CROSS(A1,A2) AND AA>A6;STICKLINE(DQ,30,80,1.2,0);【通达信】庄赢时(大底、发财、闪人)-指标公式效果图(文档来源:若水财经社区)。
【股票指标公式下载】-【通达信】抓黑马(网均线、高低线、大阴线)
【通达信】抓黑马〔网均线、高低线、大阴线〕-指标公式源码网1:EXPMA(CLOSE,5),COLORWHITE;网2:EXPMA(CLOSE,12),POINTDOT;网3:EXPMA(CLOSE,33),COLORFF00FF,LINETHICK3;IF(网3<REF(网3,1),网3,DRAWNULL),COLOR00FF00,LINETHICK3;IF(网3<REF(网1,1),网1,DRAWNULL),COLORWHITE,LINETHICK1;IF(网1<REF(网3,1),网1,DRAWNULL),COLORGREEN,LINETHICK1;阻力:REFDATE(REF(HHV(H,22),1),DATE),COLORGRAY;底:REFDATE(REF(LLV(L,22),1),DATE),COLORGRAY;网A:=EMA(EMA(EMA(EMA(C,1),2),2),2);DRAWTEXT(CROSS(网A,REF(网A,1)),L,'买'),COLORFF00FF;STICKLINE(CURRBARSCOUNT=1,阻力,阻力,10000,-1),COLORWHITE; STICKLINE(CURRBARSCOUNT=1,底,底,10000,-1),COLORWHITE;{3日高低线}三日最低:=EMA((REF(L,4)+REF(L,3)+REF(L,2))/3,3);三日最高:=EMA((REF(H,4)+REF(H,3)+REF(L,2))/3,3),COLORWHITE;底线:=IF(C>三日最低,三日最低,DRAWNULL),COLOR8000FF;高线:=IF(C<三日最高,三日最低,DRAWNULL),COLORWHITE;STICKLINE(CURRBARSCOUNT=1,三日最高,三日最高,100,-1),COLORRED; STICKLINE(CURRBARSCOUNT=1,三日最低,三日最低,100,-1),COLORWHITE;{大阴线:大跌超2.3}C2:=REF(C,1);BG:=IF((C2-C)*100/C2>=2.3,1,0) OR IF((O-C)*100/O>=5,1,0){ ORIF((H-L)*100/REF(C,1)>5,1,0)};{第二个条件开盘价过高掉下来}BG2:=IF((H-L)*100/C2>=3.58,1,0);BB1:=L<REF(L,1);{卖点信号}SELL1:=BG AND BB1 ;{大阳线:升幅超2.64}BR:=IF((C-C2)*100/C2>=2.59,1,0) OR IF((C-O)*100/O>=4.5,1,0) ORIF((C-L)*100/L>5,1,0);{第二个条件开盘价太低升上来}STICKLINE(BR,O,C,3,0),COLORRED;{以下条件记住最近一次卖出点}DAY1:=BARSLAST(SELL1);JIA1:=REF(O,DAY1);JIA2:=REF(O,1);BB4:=C>JIA2;BB2:=H>JIA1;{买入信号}BUY1:=BR AND BB2 AND BB4;{记住最后一次买点}DAY2:=BARSLAST(BUY1);{买卖谁先}S1:=DAY1<DAY2;B1:=DAY2<DAY1;{画出卖出信号}{DRAWTEXT(S1,H*1.05,'S'),COLORGREEN;}STICKLINE(S1,O,C,3,0),COLORGREEN;{画出买入信号}{DRAWTEXT(B1,L-0.2,'B'),COLORRED;}STICKLINE(B1,H,L,0.3,0),COLORRED;STICKLINE(B1,O,C,3,1),LINETHICK2,COLORRED;{其它补充1:买点}AA2:=AMOUNT/VOL;BB3:=L<AA2*0.9;CC2:=(C-REF(C,1))/REF(C,1)*100>1.2;DD2:=L<MA(C,6)*0.921;DD1:=L<MA(C,5)*0.921;EE2:=VOL<MA(V,5)*1.5;FF2:=BB3 AND CC2 AND DD2 AND EE2;老鼠仓:=BB3 AND CC2 AND DD1 AND EE2,LINETHICK0,COLOR0099FF; DRAWTEXT(老鼠仓,L*0.97,'老鼠仓'),COLOR0099FF; {DRAWTEXT(FF2,L*0.99,'买点'),COLOR00FFFF;}STICKLINE(FF2,H,L,0.3,0),COLOR00FFFF;{STICKLINE(FF2,O,C,3,1),LINETHICK2,COLOR00FFFF;}{检查买点是否成立}B4:=BARSLAST(FF2);{底点日期}E4:=B4<5;{5日内的线}F4:=E4 AND C>REF(C,1);STICKLINE(F4,H,L,0.3,0),COLOR00FFFF;{其它补充2:卖点}A2:=(C-REF(C,1))/REF(C,1)*100<1.02;A3:=H>MA(C,5)*1.12;AA:= A2 AND A3;DRAWTEXT(AA,H*1.05,'卖点'),COLORFF0000;STICKLINE(AA,H,L,0.3,0),COLORFF0000;{STICKLINE(AA,H,L,3,0),COLORFF0000;};{补充阳光买点}VAR1:=4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1) ;VAR2:=8;CC:=CROSS(VAR1,VAR2);CCC:=CROSS(VAR1,VAR2) AND H>REF(H,1) AND C>REF(C,1) ;DRAWICON(CCC,L*0.99,1);STICKLINE(CC,H,L,0.3,0),COLORRED;STICKLINE(CC,O,C,3,1),LINETHICK2,COLORRED;CF1:=BARSLAST(CC);{买点日期}CF2:=CF1<3;{5日内的线}CF3:=CF2 AND C>REF(C,1);STICKLINE(CF3,O,C,3,0),COLOR00FFFF;CD:=CROSS(VAR2,VAR1);STICKLINE(CD,H,L,0.3,0),COLORYELLOW;STICKLINE(CD,O,C,3,1),LINETHICK2,COLORYELLOW;DRAWTEXT(CD,H*1.01,'准备'),COLORYELLOW;DRAWTEXT(CC,L*0.98,'买'),COLORFF00FF;{输出粉红色的买字};{牛窝}VAR1A:=LLV(LOW,21);VAR2A:=HHV(HIGH,21);AK1:=EMA((((CLOSE - VAR1A) / (VAR2A - VAR1A)) * 100),5);AK:=EMA((((CLOSE - VAR1A) / (VAR2A - VAR1A)) * 50),13);AB:=CROSS(AK1,AK);DRAWTEXT((AB = 1),(LOW * 0.95),'○牛窝'),COLORYELLOW;{大胆博、加仓、小心变盘、逃顶}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.93),'★大胆搏'),COLOR00FFFF;DRAWTEXT(FILTER((VAR4AA>90),35),(LOW)*(0.99000001),'★加仓'),COLOR00FFFF;A1AA:=9;A2AA:=(REF(CLOSE,A1AA+1)<CLOSE);DRAWTEXT(FILTER((A2AA>-0.5),84),(HIGH)*(1.05),'小心变盘'),COLORFFFFFF;VAR6:=REF(C,1);VAR7:=SMA(MAX(C-VAR6,0),6,1)/SMA(ABS(C-VAR6),6,1)*100;DRAWTEXT(CROSS(82,VAR7),H*1.02,'逃顶'),COLORYELLOW;{主力进场}VAR9:=((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100);VAR10:=SMA(VAR9,3,1);VAR11:=SMA(VAR10,3,1);VAR12:=SMA(VAR11,3,1);主力出现:DRAWICON(CROSS(VAR11,VAR12) AND (VAR11<40),L*0.98,1);{黑马}A1A:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*1,5,1)-2*SMA((C-LLV(L, 55))/(HHV(H,55)-LLV(L,55))*1,5,1),COLOR330066;A5A:=(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60))*1;DRAWTEXT(CROSS(A1A,EMA(A1A,5))AND EMA(A1A,5)<A5A,L*0.98,'黑马'),COLORYELLOW;{主力成本及短期支撑}A:=(3*C+L+O+H)/6;X:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+ 14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A, 11)+8*REF(A,12)+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A, 18)+REF(A,20))/210;S2:=SMA(C,3,1);S6:=SMA(C,5,1);DK:=2*(S2-S6);主力成本:=EMA(X,13),LINETHICK1,COLORLIGRAY;短期支撑:=LLV(HIGH,30),LINETHICK2,COLORFFCC00;Z1:=MA(C,13);ZX:=REF(Z1,13/2+1);DRAWICON(CROSS(C,ZX),L*0.99,1);DRAWICON(CROSS(ZX,C),H*1.01,2);【通达信】抓黑马〔网均线、高低线、大阴线〕-指标公式效果图(文档来源:假设水财经社区)。
【股票指标公式下载】-【通达信】庄见愁(庄筹线、散筹线)
【通达信】庄见愁(庄筹线、散筹线)-指标公式源码获利线:EMA(WINNER(C)*100,3),COLORWHITE;庄筹线:EMA(WINNER(C)*70,5),COLORRED,LINETHICK2;散筹线:EMA((WINNER(C*1.1)-WINNER(C*0.9))*70,5),COLORYELLOW,LINETHICK2; 收:=WINNER(C)*100;开:=WINNER(O)*100;博弈K线长:MAX(ABS(收-开),ABS(收-REF(收,1))),POINTDOT,COLORWHITE; STICKLINE(庄筹线>散筹线,庄筹线,散筹线,0,0),COLORWHITE;STICKLINE(收>=REF(收,1),0,博弈K线长,0,0),COLORRED;STICKLINE(收<=REF(收,1),0,博弈K线长,0,0),COLOR00FF00;5,COLORWHITE,POINTDOT;20,COLORYELLOW,POINTDOT;40,COLORFFCC66,POINTDOT;60,COLORFF00FF,POINTDOT;CC:FILTER((CROSS(5,庄筹线) AND 散筹线<20 )*60,10 ),COLORFF00FF; DRAWTEXT(CC ,60 ,'海底捞活鱼(抄底)' ),COLORFF00FF;AA:= REF(庄筹线,30)>40 OR REF(庄筹线,20)>40;AA1:=CROSS(庄筹线,散筹线);DRAWTEXT(AA1,70,'鸡雀升天'),COLOR00FF00;BB:=CROSS(28,庄筹线) AND 散筹线>40 AND AA=1 AND LLV(L ,60 )>LLV(L ,250 ); DRAWTEXT(BB,30,'决战诱空'),COLORWHITE;IF(BB,30,60 ),COLORFFCCCC;【通达信】庄见愁(庄筹线、散筹线)-指标公式效果图(文档来源:若水财经社区)。
强庄黑马起爆点指标公式
强庄黑马起爆点指标公式
强庄黑马起爆点指标公式是一个基于技术分析的指标,用于判断股价的走势和风险。
该指标主要由以下公式组成:强庄黑马起爆点=均线值+ 2倍标准差值。
其中,均线值是指股价的移动平均值,标准差是指数据分布的离散程度。
通过计算强庄黑马起爆点指标,可以更准确地判断股价的波动范围和预测未来走势。
如果股价穿越强庄黑马起爆点指标,说明市场可能出现大幅度波动或者反转。
除了强庄黑马起爆点指标,还有很多其他的技术指标可以用于股价分析和风险控制,例如MACD、RSI、布林带等等。
投资者可以根据自己的投资风格和偏好选择适合自己的指标进行分析和决策。
通达信公式跟庄庄股启动指标
通达信公式跟庄庄股启动指标通达信公式跟庄庄股启动指标VAR6:=MA(WINNER(CLOSE),1)*100,COLORYELLOW,LINETHI CK2;底部:CROSS(VAR6,2.5)*30,COLOR000080,LINETHICK2;VR4:=3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH, 75)-LLV(LOW,75))*100, 20, 1)-2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100, 20, 1), 15, 1);VR5:=3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH, 75)-LLV(LOW,75))*100, 20, 1)-2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100, 20, 1), 15, 1);VR6:=100-VR5;VR7:=100-VR4;A1:=REF(C,1);A2:=100*V/CAPITAL*10;AA:=CROSS(VR6,VR7) AND VR4<25 ;AAB:=CROSS(VR6,VR7) AND VR4>30 AND VR4<50 ;ABC:=CROSS(VR6,VR7) AND VR4>50 AND VR4<65;TMP:FORCAST(1*VAR6,21);STICKLINE(TMP>0,0,TMP,1,0),COLORFF8080;STICKLINE(TMP<0,0,TMP,1,0),COLORBLUE;STICKLINE(VR7<REF(VR6, 1),1*VR7,1*VR7+2, A2,1), COLORRED;VA1:=MA(VR6,3);STICKLINE(1*VR7>VA1,1*VR7,1*VR6,A2,0), COLORYELLOW;STICKLINE(VR7>=REF(VR6, 1),1*VR7,1*VR6,A2+2,0), COLORGREEN;百万:MA(WINNER(C),9)*100,COLOR00FF00,LINETHICK2;BB:((CROSS(百万,2.5) OR CROSS(VAR6,百万)) AND20 >VAR6>REF(VAR6,1))*30;STICKLINE(BB=30,0,30,1,1),COLORYELLOW;STICKLINE(AA=1,20,40,1,0),COLORLIRED;DRAWTEXT(BB=30,10,'..介入'),LINETHICK3;DRAWTEXT(AA,20,'跟庄'),COLORYELLOW;DRAWTEXT(AA,30,'庄股');DRAWTEXT(AA,40,'启动'),COLORGREEN;WY1001:=(2*CLOSE+HIGH+LOW)/4;WY1002:=EMA(WY1001,4);WY1003:=EMA(WY1002,4);WY1004:=EMA(WY1003,4);XYS0:=(WY1004-REF(WY1004,1))/REF(WY1004,1)*100;跟庄庄股启动:((AA OR BB) AND VR7<REF(VR6,1) AND CROSS(XYS0,0) AND DYNAINFO(4)>0)*35,COLORRED,LINETHICK3;DRAWLINE(百万>=HHV(百万,10),百万,百万<=LLV(百万,3),HHV(百万,3),3),COLORCYAN,LINETHICK2;WL:=((CLOSE-MA(CLOSE,9))/MA(CLOSE,9))*50,LINETHICK2,COLOR0000FF;WL3:(MA(WL,3))*10,COLOR00FFFF,LINETHICK2;DRAWLINE(WL3>=HHV(WL3,10),WL3,WL3<=LLV(WL3,3),H HV(WL3,3),1),COLORWHITE,LINETHICK2;。
通达信很牛的批标黑马必抓主图指标公式贴图源码
通达信很牛的批标黑马必抓主图指标公式贴图源码EMA13:EMA(C,5),COLORWHITE; {13-21-34-60}EMA21:EMA(C,13),COLORYELLOW;EMA34:EMA(C,21),COLORFF00FF;EMA60:MA(C,60),COLORFFCC66;{大阴线:大跌超2.3}C2:=REF(C,1);BG:=IF((C2-C)*100/C2>=2.3,1,0) OR IF((O-C)*100/O>=5,1,0){ OR IF((H-L)*100/REF(C,1)>5,1,0)};{第二个条件开盘价过高掉下来}BG2:=IF((H-L)*100/C2>=3.58,1,0);BB1:=L<REF(L,1);{卖点信号}SELL1:=BG AND BB1 ;{大阳线:升幅超2.64}BR:=IF((C-C2)*100/C2>=2.59,1,0) OR IF((C-O)*100/O>=4.5,1,0) OR IF((C-L)*100/L>5,1,0);{第二个条件开盘价太低升上来}STICKLINE(BR,O,C,3,0),COLORRED;{以下条件记住最近一次卖出点}DAY1:=BARSLAST(SELL1);JIA1:=REF(O,DAY1);JIA2:=REF(O,1);BB4:=C>JIA2;BB2:=H>JIA1;{买入信号}BUY1:=BR AND BB2 AND BB4;{记住最后一次买点}DAY2:=BARSLAST(BUY1);{买卖谁先}S1:=DAY1<DAY2;B1:=DAY2<DAY1;{画出卖出信号}{DRAWTEXT(S1,H*1.05,'S'),COLORGREEN;}STICKLINE(S1,O,C,3,0),COLORGREEN;{画出买入信号}{DRAWTEXT(B1,L-0.2,'B'),COLORRED;}STICKLINE(B1,H,L,0.3,0),COLORRED;STICKLINE(B1,O,C,3,1),LINETHICK2,COLORRED;{其它补充1:买点}AA2:=AMOUNT/VOL;BB3:=L<AA2*0.9;CC2:=(C-REF(C,1))/REF(C,1)*100>1.2;DD2:=L<MA(C,6)*0.921;DD1:=L<MA(C,5)*0.921;EE2:=VOL<MA(V,5)*1.5;FF2:=BB3 AND CC2 AND DD2 AND EE2;老鼠仓:=BB3 AND CC2 AND DD1 AND EE2,LINETHICK0,COLOR0099FF;DRAWTEXT(老鼠仓,L*0.97,'老鼠仓'),COLOR0099FF;{DRAWTEXT(FF2,L*0.99,'买点'),COLOR00FFFF;}STICKLINE(FF2,H,L,0.3,0),COLOR00FFFF;{STICKLINE(FF2,O,C,3,1),LINETHICK2,COLOR00FFFF;}{检查买点是否成立}B4:=BARSLAST(FF2);{底点日期}E4:=B4<5;{5日内的线}F4:=E4 AND C>REF(C,1);STICKLINE(F4,H,L,0.3,0),COLOR00FFFF;{其它补充2:卖点}A2:=(C-REF(C,1))/REF(C,1)*100<1.02;A3:=H>MA(C,5)*1.12;AA:= A2 AND A3;DRAWTEXT(AA,H*1.05,'卖点'),COLORFF0000;STICKLINE(AA,H,L,0.3,0),COLORFF0000;{STICKLINE(AA,H,L,3,0),COLORFF0000;};{补充阳光买点}VAR1:=4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1);VAR2:=8;CC:=CROSS(VAR1,VAR2);CCC:=CROSS(VAR1,VAR2) AND H>REF(H,1) AND C>REF(C,1) ;DRAWICON(CCC,L*0.99,1);STICKLINE(CC,H,L,0.3,0),COLORRED;STICKLINE(CC,O,C,3,1),LINETHICK2,COLORRED;CF1:=BARSLAST(CC);{买点日期}CF2:=CF1<3;{5日内的线}CF3:=CF2 AND C>REF(C,1);STICKLINE(CF3,O,C,3,0),COLOR00FFFF;CD:=CROSS(VAR2,VAR1);STICKLINE(CD,H,L,0.3,0),COLORYELLOW;STICKLINE(CD,O,C,3,1),LINETHICK2,COLORYELLOW;DRAWTEXT(CD,H*1.01,'准备'),COLORYELLOW;DRAWTEXT(CC,L*0.98,'买'),COLORFF00FF;{输出粉红色的买字};{牛窝}VAR1A:=LLV(LOW,21);VAR2A:=HHV(HIGH,21);AK1:=EMA((((CLOSE - VAR1A) / (VAR2A - VAR1A)) * 100),5);AK:=EMA((((CLOSE - VAR1A) / (VAR2A - VAR1A)) * 50),13);AB:=CROSS(AK1,AK);DRAWTEXT((AB = 1),(LOW * 0.95),'○牛窝'),COLORYELLOW;{主力成本及短期支撑}A:=(3*C+L+O+H)/6;X:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A, 4)+15*REF(A,5)+14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF (A,10)+9*REF(A,11)+8*REF(A,12)+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*RE F(A,17)+2*REF(A,18)+REF(A,20))/210;S2:=SMA(C,3,1);S6:=SMA(C,5,1);DK:=2*(S2-S6);主力成本:EMA(X,13),LINETHICK1,COLORLIGRAY;短期支撑:LLV(HIGH,30),LINETHICK2,COLORFFCC00;{大胆博、加仓、小心变盘、逃顶}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.93),'★大胆搏'),COLOR00FFFF;DRAWTEXT(FILTER((VAR4AA>90),35),(LOW)*(0.99000001),'★加仓'),COLOR00FFFF;A1AA:=9;A2AA:=(REF(CLOSE,A1AA+1)<CLOSE);DRAWTEXT(FILTER((A2AA>-0.5),84),(HIGH)*(1.05),'小心变盘'),COLORFFFFFF;VAR6:=REF(C,1);VAR7:=SMA(MAX(C-VAR6,0),6,1)/SMA(ABS(C-VAR6),6,1)*100;DRAWTEXT(CROSS(82,VAR7),H*1.02,'逃顶'),COLORYELLOW;{主力进场}VAR9:=((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100);VAR10:=SMA(VAR9,3,1);VAR11:=SMA(VAR10,3,1);VAR12:=SMA(VAR11,3,1);主力出现:DRAWICON(CROSS(VAR11,VAR12) AND (VAR11<40),L*0.98,1);{黑马}A1A:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*1,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*1,5,1),COLOR330066;A5A:=(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60))*1;DRAWTEXT(CROSS(A1A,EMA(A1A,5))ANDEMA(A1A,5)<A5A,L*0.98,'黑马'),COLORYELLOW;{波段上行和买入};多:EMA(C,3),COLORYELLOW;空:EMA(C,5),COLOR00FF00;均衡:EMA(空,5),COLORWHITE,;VVARF1:=COUNT(CROSS(多,均衡),2)=1;VVARF2:=COUNT(CROSS(空,均衡),2)=1;ZAI:=FILTER(VVARF1 AND VVARF2,2);DRAWTEXT(ZAI,均衡*0.985,' ▲'),COLORRED;VV2:=REF(CLOSE,1);VV3:=SMA((CLOSE-VV2),6,1)/SMA(ABS(CLOSE-VV2),6,1)*100;DRAWICON(REF(VV3,1)>81 AND VV3<80,HIGH,2);VF1:=MA(CLOSE,60)-MA(CLOSE,5)/3.2;DRAWTEXT(IF(CLOSE<VF1 AND VOL/240>MA(VOL,5)/240 AND CLOSE>=REF(CLOSE,1)*1.08 AND CLOSE<MA(CLOSE,13)*1.3,1,0),LOW,'☆'),COLORRED;VVARA:=(CLOSE-REF(OPEN,29))/REF(OPEN,29)*100;VVARB:=EMA(0.667*REF(VVARA,1)+0.333*VVARA,5);DRAWTEXT(IF(VOL>=1.3*MA(VOL,5) AND COUNT(VVARA>=VVARB AND VVARA<-17,3) AND REF(LOW,1)=LLV(LOW,120),1,0),LOW,'★注意买入');VVARR1:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100;DRAWICON(CROSS(82,VVARR1),HIGH,2);DRAWTEXT(CROSS(82,VVARR1),HIGH,''),COLORYELLOW;VVAR1:=(HIGH+LOW+OPEN+2*CLOSE)/5;VVAR2:=REF(VVAR1,1);VVAR3:=SMA(MAX(VVAR1-VVAR2,0),10,1)/SMA(ABS(VVAR1-VVAR2),10,1)*100;HY3:=IF(COUNT(VVAR3<20,5)>=1 AND COUNT(VVAR1=LLV(VVAR1,10),10)>=1 AND CLOSE>=OPEN*1.038 AND VOL>MA(VOL,5)*1.2,1,0);DRAWTEXT(HY3,LOW,' 注意买入'),COLORRED;。
黑马必抓通达信指标公式源码
{黑马}AHC1:=CLOSE*VOL;AHC22:=EMA((EXPMA(AHC1,23)/EXPMA(VOL,23)+EXPMA(AHC1,54)/EXPMA(VOL,54)+EX PMA(AHC1,108)/EXPMA(VOL,108)+EXPMA(AHC1,316)/EXPMA(VOL,316))/4,34);通道:=1.0668*AHC22;起爆:=CROSS(C,通道) AND REF(C,1)*1.05-C<0.008 AND C>O*0.5;RRF:=起爆;A1:=ABS(((3.48*CLOSE+HIGH+LOW)/4-EMA(CLOSE,23))/EMA(CLOSE,23));A2:=DMA(((2.15*CLOSE+LOW+HIGH)/4),A1);金线王:=EMA(A2,200)*1.118;金线王2:=EMA(A2,200)*1.118;条件:=(C-REF(C,1))/REF(C,1)*100>8;金K线:=CROSS(C,金线王) AND 条件;AA05:=MA(C,5);AA30:=MA(C,30);MA05:=MA(C,5);MA10:=MA(C,13);MA30:=MA(C,34);速度5:=SMA(EMA((MA05-REF(MA05,1))/REF(MA05,1),3)*100,3,1);加速度5:=EMA((速度5-REF(速度5,1)),3);五日乖离率:=(C-AA05)/AA05*100;三拾日乖离率:=(C-MA30)/MA30*100;MR:=COUNT(CROSS(五日乖离率,0),3)>=1 AND 三拾日乖离率>REF(三拾日乖离率,1) AND AA05>REF(AA05,1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1)<AA30;买入:=FILTER(MR,10);STICKLINE(IF(RRF,-120,0),+12,0,5,0),COLOR000088;STICKLINE(IF(RRF,-120,0),+12,0,5,0),COLOR0000AA; STICKLINE(IF(RRF,-120,0),+12,0,5,0),COLOR0000CC; STICKLINE(IF(RRF,-120,0),+12,0,5,0),COLOR0000EE; STICKLINE(IF(RRF,-120,0),+12,0,5,0),COLOR0000EE; STICKLINE(IF(RRF,-120,0),+12,0,5,0),COLORLIMAGENTA; STICKLINE(IF(RRF,-120,0),+9,0,5,0),COLOR770077; STICKLINE(IF(RRF,-120,0),+9,0,5,0),COLOR990099; STICKLINE(IF(RRF,-120,0),+9,0,5,0),COLORBB00BB; STICKLINE(IF(RRF,-120,0),+9,0,5,0),COLORDD00DD; STICKLINE(IF(RRF,-120,0),+9,0,5,0),COLORFF00FF; STICKLINE(IF(RRF,-120,0),+9,0,5,0),COLORDD00DD; STICKLINE(IF(RRF,-120,0),+6,0,5,0),COLOR003300; STICKLINE(IF(RRF,-120,0),+6,0,5,0),COLOR005500; STICKLINE(IF(RRF,-120,0),+6,0,5,0),COLOR007700; STICKLINE(IF(RRF,-120,0),+6,0,5,0),COLOR009900; STICKLINE(IF(RRF,-120,0),+6,0,5,0),COLOR00CC00; STICKLINE(RRF,0,3,5,0),COLOR008888;STICKLINE(RRF,0,3,5,0),COLOR00AAAA;STICKLINE(RRF,0,3,5,0),COLOR00CCCC;STICKLINE(RRF,0,3,5,0),COLOR00FFFF;STICKLINE(IF(金K线,-120,0),+12,0,4,0),COLOR000088; STICKLINE(IF(金K线,-120,0),+12,0,4,0),COLOR0000AA; STICKLINE(IF(金K线,-120,0),+12,0,4,0),COLOR0000CC; STICKLINE(IF(金K线,-120,0),+12,0,4,0),COLOR0000EE; STICKLINE(IF(金K线,-120,0),+12,0,4,0),COLOR0000EE; STICKLINE(IF(金K线,-120,0),+12,0,4,0),COLORLIMAGENTA; STICKLINE(IF(金K线,-120,0),+9,0,4,0),COLOR770077; STICKLINE(IF(金K线,-120,0),+9,0,4,0),COLOR990099; STICKLINE(IF(金K线,-120,0),+9,0,4,0),COLORBB00BB; STICKLINE(IF(金K线,-120,0),+9,0,4,0),COLORDD00DD; STICKLINE(IF(金K线,-120,0),+9,0,4,0),COLORFF00FF; STICKLINE(IF(金K线,-120,0),+9,0,4,0),COLORDD00DD; STICKLINE(IF(金K线,-120,0),+6,0,4,0),COLOR003300; STICKLINE(IF(金K线,-120,0),+6,0,4,0),COLOR005500; STICKLINE(IF(金K线,-120,0),+6,0,4,0),COLOR007700; STICKLINE(IF(金K线,-120,0),+6,0,4,0),COLOR009900; STICKLINE(IF(金K线,-120,0),+6,0,4,0),COLOR00CC00; STICKLINE(IF(金K线,-120,0),+3,0,4,0),COLOR666666; STICKLINE(IF(金K线,-120,0),+3,0,4,0),COLOR777777; STICKLINE(IF(金K线,-120,0),+3,0,4,0),COLOR888888; STICKLINE(IF(金K线,-120,0),+3,0,4,0),COLOR999999; STICKLINE(IF(金K线,-120,0),+3,0,4,0),COLORDDDDDD;STICKLINE(IF(金K线,-120,0),+3,0,4,0),COLORFFFFFF; DRAWTEXT(RRF,10.5,'黑马一号'),COLORYELLOW; {DRAWTEXT(RRF,8.5,'黑'),COLORYELLOW;} DRAWTEXT(金K线,6,'黑马启动'),COLORYELLOW; {DRAWTEXT(RRF,3.5,'启'),COLORRED; DRAWTEXT(RRF,1,'动'),COLORRED;}STICKLINE(买入,10,0,3,0),COLORRED; {DRAWTEXT(买入,10.5,'黑'),COLORYELLOW; DRAWTEXT(买入,7.5,'马'),COLORYELLOW; DRAWTEXT(买入,4.5,'必'),COLOR00FFFF;} DRAWTEXT(买入,1.5,'黑马必抓'),COLOR00FFFF;。
【股票指标公式下载】-【通达信】精准趋势波段(趋势、风险、底部、逃顶)
【通达信】精准趋势波段(趋势、风险、底部、逃顶)-指标公式源码趋势: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),COLOR7F52AF;趋势1:EMA(MA(趋势,5),3),COLORA6B8C1;STICKLINE(趋势>=趋势1,趋势,趋势1,2,0),COLOR7F52AF;STICKLINE(趋势<趋势1,趋势,趋势1,2,0),COLORA6B8C1;STICKLINE(趋势>108 AND 趋势>=趋势1,趋势,108,2,0),COLORBLUE ; STICKLINE(趋势1>108 AND 趋势<趋势1,趋势1,108,2,0),COLORWHITE; STICKLINE(趋势<0 AND 趋势<趋势1,趋势,0,2,0),COLORF00FF0 ; STICKLINE(趋势1<0 AND 趋势>趋势1,趋势1,0,2,0),COLORF0F000;V1:=MA(C,5)=HHV(MA(C,5),20);V2:=MA(C,5)>MA(C,20);V3:=COUNT(MA(C,1)>REF(C,1),3)=3;风险:IF(V1 AND V2 AND V3,30,0),STICK,COLOR00FF00;V11:=MA(C,5)=HHV(MA(C,5),120);V21:=MA(C,5)>MA(C,120);V31:=COUNT(MA(C,1)>REF(C,1),3)=3;风险1:IF(V11 AND V21 AND V31,60,0),STICK,COLORF0F000;底部:5;抄底:IF(CROSS(趋势,底部),60,0),STICK,COLORYELLOW,LINETHICK4; DRAWTEXT(抄底,50,'抄底'),COLORRED;天线:108,COLORFF9D00;逃顶:IF(CROSS(天线,趋势),1,0),STICK,COLORFF9D00;STICKLINE(CROSS(天线,趋势),90,108,6,0),COLORFF9D00;【通达信】精准趋势波段(趋势、风险、底部、逃顶)-指标公式效果图(文档来源:若水财经社区)。
精准抄底大黑马通达信指标公式源码
精准抄底大黑马通达信指标公式源码在通达信软件中,精准抄底大黑马指标源码如下:```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`: 通过对快线指标进行移动平均线的计算,得到慢线指标的数值。
【股票指标公式下载】-【通达信】黑马主图(下轨道、支撑位、压力位、黑马趋势)
【通达信】黑马主图(下轨道、支撑位、压力位、黑马趋势)-指标公式源码上:=(SMA(HIGH,21,2) * 1.05);DRAWTEXT(FILTER(((((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,1))) AND (HIGH > 上)) AND (CLOSE < 上)),5),(HIGH + 0.05),'-减仓'),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 ;{U2L:=IF((CLOSE >= MA(CLOSE,20)),80,50);L2L:=IF((CLOSE >= MA(CLOSE,20)),50,20);RH1:=IF(((J < U2L) AND (REF(J,1) >=U2L)),HHV(REF(HIGH,1),(BARSLAST(((J >= U2L) AND (REF(J,1) < U2L))) - 1)),REF(HHV(REF(HIGH,1),(BARSLAST(((J >= U2L) AND (REF(J,1) < U2L))) - 1)),BARSLAST(((J < U2L) AND REF(J,1)))));RH4:=IF((HIGH > RH1),LOW,REF(LOW,BARSLAST((HIGH > RH1))));RH42:=IF((HIGH > RH1),J,REF(J,BARSLAST((HIGH > RH1))));RH5:=IF((((HIGH > RH4) AND (J < RH42)) AND (J <J24)),HIGH,REF(HIGH,BARSLAST((((HIGH > RH4) AND (J < RH42)) AND (J < J24)))));RL1:=IF(((J > L2L) AND (REF(J,1) <= L2L)),LLV(REF(LOW,1),(BARSLAST(((J <= L2L) AND (REF(J,1) > L2L))) - 1)),REF(LLV(REF(LOW,1),(BARSLAST(((J <= L2L) AND (REF(J,1) > L2L))) - 1)),BARSLAST(((J > L2L) AND REF(J,1))))); RL4:=IF((LOW < RL1),HIGH,REF(HIGH,BARSLAST((LOW < RL1))));RL42:=IF((LOW < RL1),J,REF(J,BARSLAST((LOW < RL1))));RL5:=IF((((LOW < RL4) AND (J > RL42)) AND (J >J24)),LOW,REF(LOW,BARSLAST((((LOW < RL4) AND (J > RL42)) AND (J >J24)))));}CB:=((AMOUNT / VOL) / 100);CD:=((CB > HIGH) OR (CB < LOW));黑马趋势:=MA(CLOSE,3);MAP:=MA(CLOSE,8);AA5:=MA(CLOSE,21);AA10:MA(CLOSE,8),COLOR0000FF;AA12:MA(CLOSE,12),COLOR0000FF;BB10:=((ATAN((AA10 - REF(AA10,1))) * 3.1416) * 10);BB12:=((ATAN((AA12 - REF(AA12,1))) * 3.1416) * 10);MA13:=MA(CLOSE,13);DRAWTEXT(FILTER(((((((CLOSE / OPEN) > 1.04) AND ((CLOSE - REF(CLOSE,1)) > 0)) AND (CLOSE > 下轨道)) AND ((AA10 - REF(AA10,1)) > 0)) AND (CLOSE < 上)),3),(LOW - 0.07),'追击'),COLORD1E768;{STICKLINE((((AA12 <= AA10) AND (BB12 >= 1)) AND (BB10 >=1)),AA10,AA12,4,0),COLOR0000FF;STICKLINE((((AA12 >= AA10) AND (BB10 <= 1)) AND (BB10 <=1)),AA10,AA12,4,0),COLOR00FF00;}VARD:=((((OPEN + LOW) + HIGH) + CLOSE) / 4);支撑:=EMA(VARD,5);短期底部:=LLV(OPEN,30);{DRAWTEXT(((((((CROSS(黑马趋势,短期底部) AND ((RL5 - REF(RL5,1)) > 0)) AND ((黑马趋势 - REF(黑马趋势,1)) > 0)) AND (黑马趋势 > 1)) AND (LOW <= 支撑位)) AND (CLOSE > 支撑位)) AND (HIGH < 压力位)),(LOW - 0.15),'←黑马发现'),COLOR00FFFF;DRAWTEXT((((((((CROSS(黑马趋势,RL5) AND ((黑马趋势 - REF(黑马趋势,1)) > 0)) AND (HIGH < 压力位)) AND (LOW <= 短期底部)) AND (CLOSE > 支撑位)) AND (CD < 1)) AND (CLOSE > OPEN)) AND (CLOSE > RL5)),LOW,'←短买'),COLOR00FF00;DRAWTEXT(FILTER((((((((LOW <= 短期底部) AND ((CLOSE - REF(CLOSE,1)) > CLOSE)) AND ((MA(CLOSE,10) - REF(MA(CLOSE,10),1)) > 0)) AND (WINNER(CLOSE) < 0.05)) AND (短期底部 = RL5)) AND (LOW <= RL5)) AND (HIGH < 压力位)),3),LOW,'★机会难得'),COLORFFFFFF;历史大底:DRAWTEXT(FILTER((((((LLV(LOW,0) AND (WINNER(CLOSE) < 0.08)) AND (LOW <= 短期底部)) AND (CLOSE > 短期底部)) AND (J < 80)) AND ((CLOSE / OPEN) > 1.08)),20),(LOW - 0.45),'★★历史大底');DRAWTEXT(FILTER(((((((((LOW <= 短期底部) AND (CLOSE > 压力位)) AND ((AA5 - REF(AA5,1)) > 0)) AND (J < 80)) AND (CLOSE > 支撑位)) AND ((黑马趋势- REF(黑马趋势,1)) > 0)) AND (WINNER(CLOSE) < 0.1)) AND (CLOSE > OPEN)),5),(LOW - 0.15),'★黑马登天'),COLORCDEEC5; }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(FILTER(((((((((OPEN > 均线120) AND (均线20 < 均线120)) AND (LOW <= 均线120)) AND ((均线20 - REF(均线20,1)) > 0)) AND (CLOSE > OPEN)) AND ((均线120 - REF(均线120,1)) > 0)) AND (HIGH < RH5)) AND (CLOSE >= 均线120)),15),LOW,'★120跳马'),COLOR0089E0;DRAWTEXT((((VA AND ((均线120 - REF(均线120,1)) > 0)) AND (HIGH < RH5)) AND (CLOSE > OPEN)),LOW,'★宝马望月'),COLORFFFFFF;}DRAWTEXT((((((均线 - REF(均线,1)) > 0) AND CROSS(均线20,均线120)) AND (LOW <= 均线120)) AND (CLOSE >= 均线120)),LOW,'三线开花'),COLORFFFFFF; 短期底部2:LLV(HIGH,30),LINETHICK2,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 > 短期底部2)) 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 + 0.05),'减仓'),COLOR00FF00;DRAWTEXT(FILTER(((HIGH > 阻挡) AND (CLOSE < 阻挡)),5),(HIGH + 0.15),'←逃命');DRAWTEXT(((VE > VG) AND (HIGH < 阻挡)),(LOW - 0.65),'★黑马短线'),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 ((AA10 - REF(AA10,1)) > 0)) AND ((阻挡 - REF(阻挡,2)) > 0)),11),(LOW - 0.11),'★快马加鞭'),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.05),'★黑马狂奔'),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.11),'★黑马起步'),COLOR00FF00;DRAWTEXT((逃遁 > 0),(HIGH * 1.14),'●逃命'),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.08),'★黑马初现'),COLOR8500DE;DRAWTEXT(FILTER((((((((LOW <= 短期底部) AND (WINNER(CLOSE) < 0.2)) AND (CLOSE < 牛熊线)) AND (HIGH < 阻挡)) AND ((X2 - REF(X2,1)) > 0)) AND (CLOSE > OPEN)) AND (HIGH >= X3)),5),(LOW - 0.03),'←黑马筑底'),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 <= 短期底部)) AND (CLOSE > 短期底部)),8),(LOW - 0.02),'←黑马寻底'),COLORE7DD1F;DRAWTEXT(FILTER((((((((LOW <= 短期底部) AND (WINNER(CLOSE) < 0.015)) AND ((OPEN / CLOSE) > 0.99)) AND ((J - REF(J,1)) > 0)) AND (CLOSE > OPEN)) AND (HIGH < 支撑位)) AND (CLOSE > 短期底部)),25),(LOW - 0.09),'←开始建仓'),COLOR00FFFF;DRAWTEXT(FILTER((((((((LOW <= 均线30) AND ((AA10 - REF(AA10,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 (BB10 > 1)) AND ((CLOSE / OPEN) > 1.04)),LOW,'★天马过桥'),COLORCC99FF;【通达信】黑马主图(下轨道、支撑位、压力位、黑马趋势)-指标公式效果图(文档来源:若水财经社区)。
【股票指标公式下载】-【通达信】GD灵感(百万测底、灵桥黑马、大波黑马起步)
【通达信】GD灵感(百万测底、灵桥黑马、大波黑马起步)-指标公式源码A2:=(100 * (CLOSE - (MA(CLOSE,30)))) / (MA(CLOSE,30));A3:=100 - ((90 * ((HHV(HIGH,20)) - CLOSE)) / ((HHV(HIGH,20)) -(LLV(LOW,20))));A4:=100 - (MA(((100 * ((HHV(HIGH,6)) - CLOSE)) / ((HHV(HIGH,6)) - (LLV(LOW,6)))),28));A5:=MA(A4,6);红持股:IF((A3 < A5),A5,A3),COLORRED;绿持币:IF((A3 > A5),A5,A3),COLORGREEN;强弱:(A5),LINETHICK1,COLORYELLOW;A6:=(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)));A7:=10;百万测底:CROSS(A6,A7) * 75,LINETHICK2,COLORCYAN;A8:=(REF(CLOSE,1)) / CLOSE;A9:=MIN((MA(((AMOUNT / VOL) / 100),15)),(EMA(((AMOUNT / VOL) / 100),15)));A10:=((1 - ((SMA(((LOW * A8) - (A8 / 10)),6,1)) / (EMA(((AMOUNT / VOL) / 100),15)))) * 100) - (100 / 10);A11:=((((1 - ((MA((LOW - (A8 / 10)),6)) / A9)) * (DMA(CLOSE,(VOL / CAPITAL)))) / (MA(LOW,6))) * 100) - (100 / 10);A12:=((((A10 + (A11 / 10)) > 0))) AND ((COUNT((((1 - (CLOSE /(REF(CLOSE,1)))) > 0.099) AND ((1 - ((REF(CLOSE,1)) / (REF(CLOSE,2)))) > 0.099)),20)) < 3);A13:=(((((((A10 + (A11 / 10)) > -3.688))) AND ((CLOSE / (REF(CLOSE,1))) > 1.02)) AND ((COUNT((((1 - (CLOSE / (REF(CLOSE,1)))) > 0.099) AND ((1 - ((REF(CLOSE,1)) / (REF(CLOSE,2)))) > 0.099)),20)) < 3)) AND (((REF(CLOSE,1)) / (REF(CLOSE,2))) < 0.95)) AND ((CLOSE / (HHV(HIGH,20))) < 0.855);灵桥黑马:(IF(((((100 < 100) AND ((A10 + (A11 / 10)) > 0)))),(A12 = 1),(A13 = 1))) * 100 ,LINETHICK2,COLORRED;A14:=EMA(CLOSE,8);A15:=EMA(A14,20);A16:=CROSS(A14,A15);A17:=A14 < (EMA(CLOSE,120));大波黑马起步:(A16 AND A17) * 75,LINETHICK2,COLORMAGENTA;A18:=SUM((IF((CLOSE > (REF(CLOSE,1))),VOL,(IF((CLOSE <(REF(CLOSE,1))),(0 - VOL),0)))),0);A19:=SUMBARS(VOL,CAPITAL);A20:=(IF((CLOSE > (LLV(CLOSE,A19))),1,-1)) * (IF((A18 >(LLV(A18,A19))),1,-1));A21:=IF((A20 = -1),1,0);A22:=(COUNT((A21 = 1),8)) > 2;A23:=((SUM(AMOUNT,13)) / ((AMOUNT / VOL) / 100)) / 100;A24:=DMA((((((3 * HIGH) + LOW) + OPEN) + (2 * CLOSE)) / 7),(VOL / A23)); A25:=(((CLOSE - A24) / A24) * 100) < -15;A26:=((CLOSE - (MIN(((REF(CLOSE,5)) * 0.865),((REF(CLOSE,21)) * 0.772)))) / CLOSE) < 0.05;A27:=REF(LOW,1);A28:=((SMA(ABS((LOW - A27)),3,1)) / (SMA((MAX((LOW - A27),0)),3,1))) * 100;A29:=EMA((IF((CLOSE * 1.2),(A28 * 10),(A28 / 10))),3);A30:=LLV(LOW,38);A31:=HHV(A29,38);A32:=IF((LLV(LOW,90)),1,0);A33:=((EMA((IF((LOW <= A30),((A29 + (A31 * 2)) / 2),0)),3)) / 618) * A32; 庄家吸筹留踪影:(STICKLINE(A33,0,A33,6,1)),COLORWHITE;底部不买你后悔:(IF(((A25 AND A26) AND A22),60,0));风险提示线:95,LINETHICK1,COLOR0000AA;强弱分界线:50,LINETHICK1,COLOR858585;安全提示线:20,LINETHICK1,COLOR00AA55;【通达信】GD灵感(百万测底、灵桥黑马、大波黑马起步)-指标公式效果图(文档来源:若水财经社区)。
通达信中长线黑马指标公式源码
通达信中长线黑马指标公式源码通达信中的长线黑马指标是一种用于寻找潜在上涨股票的指标,通过分析股票的长期趋势和波动情况来筛选出有潜力的个股。
下面是该指标的公式源码:```参数: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函数分别计算了最高价和最低价的历史最高值和最低值。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
【通达信】大波黑马起步(百万测底、庄吸筹、灵桥黑马)-指标公式源码
A1:=DATE <= 1070615;
A2:=(100 * (CLOSE - (MA(CLOSE,30)))) / (MA(CLOSE,30));
A3:=100 - ((90 * ((HHV(HIGH,20)) - CLOSE)) / ((HHV(HIGH,20)) -
(LLV(LOW,20))));
A4:=100 - (MA(((100 * ((HHV(HIGH,6)) - CLOSE)) / ((HHV(HIGH,6)) - (LLV(LOW,6)))),28));
A5:=MA(A4,6);
红持股:IF((A3 < A5),A5,A3),COLORRED;
绿持币:IF((A3 > A5),A5,A3),COLORGREEN;
强弱:(A5),LINETHICK1,COLORYELLOW;
A6:=(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)));
A7:=(10);
百万测底:((CROSS(A6,A7)) * 75) * A1,LINETHICK2,COLOR0000FF;
A8:=(REF(CLOSE,1)) / CLOSE;
A9:=MIN((MA(((AMOUNT / VOL) / 100),15)),(EMA(((AMOUNT / VOL) / 100),15)));
A10:=((1 - ((SMA(((LOW * A8) - (A8 / 10)),6,1)) / (EMA(((AMOUNT / VOL) / 100),15)))) * 100) - (100 / 10);
A11:=((((1 - ((MA((LOW - (A8 / 10)),6)) / A9)) * (DMA(CLOSE,(VOL / CAPITAL)))) / (MA(LOW,6))) * 100) - (100 / 10);
A12:=((((A10 + (A11 / 10)) > 0) AND (DATE > 1000101)) AND (DATE < 1991231)) AND ((COUNT((((1 - (CLOSE / (REF(CLOSE,1)))) > 0.099) AND ((1 - ((REF(CLOSE,1)) / (REF(CLOSE,2)))) > 0.099)),20)) < 3);
A13:=(((((((A10 + (A11 / 10)) > -3.688) AND (DATE > 1000101)) AND (DATE < 1991231)) AND ((CLOSE / (REF(CLOSE,1))) > 1.02)) AND ((COUNT((((1 - (CLOSE / (REF(CLOSE,1)))) > 0.099) AND ((1 - ((REF(CLOSE,1)) /
(REF(CLOSE,2)))) > 0.099)),20)) < 3)) AND (((REF(CLOSE,1)) /
(REF(CLOSE,2))) < 0.95)) AND ((CLOSE / (HHV(HIGH,20))) < 0.855);
灵桥黑马:((IF(((((100 < 100) AND ((A10 + (A11 / 10)) > 0)) AND (DATE > 1000101)) AND (DATE < 1991231)),(A12 = 1),(A13 = 1))) * 100) *
A1,LINETHICK2,COLORRED;
A14:=EMA(CLOSE,8);
A15:=EMA(A14,20);
A16:=CROSS(A14,A15);
A17:=A14 < (EMA(CLOSE,120));
大波黑马起步:((A16 AND A17) * 75) * A1,LINETHICK2,COLORYELLOW;
A18:=SUM((IF((CLOSE > (REF(CLOSE,1))),VOL,(IF((CLOSE <
(REF(CLOSE,1))),(0 - VOL),0)))),0);
A19:=SUMBARS(VOL,CAPITAL);
A20:=(IF((CLOSE > (LLV(CLOSE,A19))),1,-1)) * (IF((A18 >
(LLV(A18,A19))),1,-1));
A21:=IF((A20 = -1),1,0);
A22:=(COUNT((A21 = 1),8)) > 2;
A23:=((SUM(AMOUNT,13)) / ((AMOUNT / VOL) / 100)) / 100;
A24:=DMA((((((3 * HIGH) + LOW) + OPEN) + (2 * CLOSE)) / 7),(VOL / A23)); A25:=(((CLOSE - A24) / A24) * 100) < -15;
A26:=((CLOSE - (MIN(((REF(CLOSE,5)) * 0.865),((REF(CLOSE,21)) * 0.772)))) / CLOSE) < 0.05;
A27:=REF(LOW,1);
A28:=((SMA(ABS((LOW - A27)),3,1)) / (SMA((MAX((LOW - A27),0)),3,1))) * 100;
A29:=EMA((IF((CLOSE * 1.2),(A28 * 10),(A28 / 10))),3);
A30:=LLV(LOW,38);
A31:=HHV(A29,38);
A32:=IF((LLV(LOW,90)),1,0);
A33:=((EMA((IF((LOW <= A30),((A29 + (A31 * 2)) / 2),0)),3)) / 618) * A32; (STICKLINE(A33,0,A33,6,1)) ,COLORBLUE;
底部不买你后悔:(IF(((A25 AND A26) AND A22),60,0)) * A1;
【通达信】大波黑马起步(百万测底、庄吸筹、灵桥黑马)-指标公式效果图
(文档来源:若水财经社区)。