通达信最火的指标源码

通达信最火的指标源码

通达信趋势大王主图

通达信最火的指标源码

通达信最火的指标源码

MA7:=MA(H,7)*0.99,COLORMAGENTA;

空线:MA(C,25),COLORGREEN;

AA:=空线>REF(空线,1);

多线:IF(AA,空线,DRAWNULL),COLORRED;

N:=MA(CLOSE,34);

F1:=REF(L,1)=LLV(L,30) AND REF(C>O*1.2,1) AND L>REF(L,1);

F2:=BARSLAST(F1);

F3:=COUNT(CROSS(C,空线),F2) AND AA AND CROSS(C,空线);

DRAWICON(F3,L,9);

MA77:=H>MA7 AND O<MA7 AND MA7>REF(MA7,1) AND REF(MA7>REF(MA7,1),2) AND REF(MA7>空线,2) AND 空线>REF(空线,1) AND MA7>空线 AND O/空线<1.036 AND MA7/空线<1.036 AND DYNAINFO(4)!=0 ;

STICKLINE(C>=N AND C>=O,C,O,2.8,0),COLORRED;

STICKLINE(C>=N AND C>=O,H,L,0,0),COLORRED;

STICKLINE(C>=N AND C<O,C,O,2.8,1),COLORRED;

STICKLINE(C>=N AND C<O,O,H,0,0),COLORRED;

STICKLINE(C>=N AND C<O,C,L,0,0),COLORRED;

STICKLINE(C<N AND C>O,C,O,2.8,1),COLORFFFF00;

STICKLINE(C<N AND C<=O,C,O,2.8,1),COLORFFFF00;

STICKLINE(C<N AND C<=O,H,L,0,1),COLORFFFF00;

STICKLINE(C<N AND C>O,C,H,0,1),COLORFFFF00;

STICKLINE(C<N AND C>O,O,L,0,1),COLORFFFF00;

AA1:=MA(C,5);

BB1:=MA(C,15);

A:=CROSS(AA1,BB1);

STICKLINE(A AND C<N,HHV(H,4),HHV(H,4),50,1),COLORGREEN;

DRAWTEXT(A AND C<N,HHV(H,4),’加做空’),COLORGREEN;

STICKLINE(A AND C>=N,LLV(L,4),LLV(L,4),50,1),COLORMAGENTA;

DRAWTEXT(A AND C>=N,LLV(L,4),’加做多’),COLORMAGENTA;

X:=ATAN((MA(CLOSE,5)/REF(MA(CLOSE,5),1)-1)*100)*59.3;

XX:=X>40;

AF:=C/REF(C,1)>1.095;

BB:=BARSLAST(AF);

CC:=L<=(REF(H,BB)+REF(L,BB))/2*0.98;

DD:=COUNT(CC,BB)=1 AND CC AND BB<10 AND C>L AND XX ;

GG:=BARSLAST(DD);

HH:=H>0.01*REF(L,GG)*N;

卖出:=COUNT(HH,GG)=1 AND HH AND GG<10;

STICKLINE(AF,C,O,2,0),COLORMAGENTA;

STICKLINE(DD,C,O,2,0),COLORBLUE;

STICKLINE(卖出,C,O,2,0),COLORYELLOW;

DRAWICON(DD,L,27);

STICKLINE(DD,L,L,0,0),COLORGREEN;

DRAWTEXT(DD,L,’▲伏击’),COLORGREEN;

DRAWICON(卖出,H,26);

STICKLINE(卖出,H,H,0,0),COLORYELLOW;

DRAWTEXT(卖出,H,’$中枪’),COLORYELLOW;

STICKLINE(MA77,C,O,3,0),COLORGREEN;

SS:=BARSLAST(F3);

S1:=COUNT(L<REF(C,SS),SS)=1 AND L<REF(C,SS) AND SS<5;

{DRAWTEXT(S1,DYNAINFO(6)=REF(C,SS)*0.8,’————-‘),COLORYELLOW;}

MA5:=MA(O,7)*0.96;

AX:=REF(C<MA5,1) AND O<MA5 AND L<MA5 AND REF(MA(H,3),1)>REF(MA(H,3),2) AND MA(O,3)>MA(O,6);

AO:=MA(O,7);

A2:=MA(H,7);

A3:=AO>REF(AO,1) AND REF(AO,1)<REF(AO,2);

A4:=BARSLAST(A3);

A5:=REF(C<AO,1) AND O<AO AND AO>REF(AO,1)*1.0019 AND REF(A2,1)> REF(A2,2)*1.009 ;

AY:=COUNT(A5,A4)=1 AND A5 AND REF(MA(H,3),1)>REF(MA(H,3),2);

A10:=AX OR AY;

A11:=BARSLAST(A10);

B10:=H>REF(O,A11)*1.05 OR REF(O,A11)/L>1.05 ;

B11:=COUNT(B10,A11)=1 AND B10 AND A11>=1 AND A11<6;

买入:=FILTER(A10,2);

卖:=B11;

STICKLINE(买入,(O+C)/2,O,2.3,0)COLORGREEN;

STICKLINE(卖,(O+C)/2,C,2.3,0)COLORYELLOW;

DRAWTEXT(买入,L,’C’)COLORYELLOW;

DRAWTEXT(卖,H,’C’)COLORRED;

通达信最火的指标源码通达信最火的指标源码

通达信精进叁号主图指标(源码)

A0:=(L+H+C*2)/4;

A1:EMA(A0,14)COLORBLUE,LINETHICK2;

A2:=EMA(A0,25)COLORLIBLUE,LINETHICK2;

A1X:=(A1-REF(A1,1))/REF(A1,1)*100,NODRAW;

A2X:=(A2-REF(A2,1))/REF(A2,1)*100,NODRAW;

出击:IF(A1X>=0 AND BARSLAST(CROSS(A1X,0))>0,REF((C+O)/2,BARSLAST(CROSS(A1X,0))),DRAWNULL),COLORMAGENTA,LINETHICK2;

逃遁:IF(A1X<0 AND BARSLAST(CROSS(0,A1X))>0,REF((C+O)/2,BARSLAST(CROSS(0,A1X))),DRAWNULL),COLORGREEN,LINETHICK2;

铁:IF(A1X>=0,A1,DRAWNULL)COLORRED,LINETHICK2;

律:IF(A1X<0 AND A2X<0,A1,DRAWNULL)COLORGREEN,LINETHICK2;

STICKLINE(CROSS(A1X,0),H,L,0,0 ),COLOR9933FF;

STICKLINE(CROSS(A1X,0),C,O,3,0 ),COLOR0000CC;

STICKLINE(CROSS(A1X,0),C,O,1,0 ),COLOR0033FF;

STICKLINE(CROSS(0,A1X),L,H,0,0 ),COLOR66CC33;

STICKLINE(CROSS(0,A1X),C,O,3,0),COLOR00CC00;

STICKLINE(CROSS(0,A1X),C,O,1,0),COLOR66FF00;

DIFF:=EMA(CLOSE,12) – EMA(CLOSE,26),COLORRED;

DEA:=EMA(DIFF,9),COLORYELLOW;

MACD:=2*(DIFF-DEA),COLORSTICK;

周DIF:=”MACD.DIF#WEEK”(12,26,9);

周DEA:=”MACD.DEA#WEEK”(12,26,9);

周MACD:=”MACD.MACD#WEEK”(12,26,9);

DRAWTEXT(CROSS(DIFF,DEA)AND CROSS(周DIF,周DEA),L*0.91,’MM-G’);

A3:=BARSLAST(REF(CROSS(DIFF,DEA),1));

B1:=REF(C,A3+1)>C AND REF(DIFF,A3+1)<DIFF AND CROSS(DIFF,DEA);

A4:=BARSLAST(REF(CROSS(“KDJ.K”(9,3,3),”KDJ.D”(9,3,3)),1));

B2:=REF(C,A4+1)>C AND REF(“KDJ.K”(9,3,3),A4+1)<“KDJ.K”(9,3,3) AND CROSS (“KDJ.K”(9,3,3),”KDJ.D”(9,3,3));

A5:=BARSLAST(REF(CROSS(“RSI.RSI1″(6,12,24),”RSI.RSI2″(6,12,24)),1));

B3:=REF(C,A5+1)>C AND REF(“RSI.RSI1″(6,12,24),A5+1)<“RSI.RSI1″(6,12,24) AND CROSS (“RSI.RSI1″(6,12,24),”RSI.RSI2″(6,12,24));

B4:=CROSS(DIFF,DEA) AND CROSS(“KDJ.K”(9,3,3),”KDJ.D”(9,3,3));

DRAWTEXT(B1,L*0.99,’M’),COLORWHITE;

DRAWTEXT(B2,L*0.97,’K’),COLORFF00FF;

DRAWTEXT(B3,L*0.95,’R’),COLORYELLOW;

DRAWTEXT(B4,L*0.93,’MK-G’),COLOR0099FF;

 

通达信最火的指标源码

本文内容仅代表作者观点,不代表本站立场,如若转载,请注明出处:https://www.fx220.com/news/17002.html

发表评论

邮箱地址不会被公开。 必填项已用*标注