通达信枫叶红分时主图+穿越时空分时副图指标公式源码

通达信枫叶红分时主图指标公式源码:

DRAWGBK(CLOSE>0,RGB(0,0,0),RGB(0,36,128),0,61,0);

ZIF:=EMA(C,12)-EMA(C,26);

ZEA:=EMA(ZIF,9);

ZBC:=2*(ZIF-ZEA);

ZJS:=1.25*ZIF-0.25*ZEA;

ZXH:=(ZJS*13*27-27*11*EMA(C,12)+13*25*EMA(C,26))/28,COLORWHITE;

ZPH:=(ZIF*13*27-27*11*EMA(C,12)+13*25*EMA(C,26))/28,COLORYELLOW;

ZQS:=(ZEA*13*27-27*11*EMA(C,12)+13*25*EMA(C,26))/28,COLORCYAN;

ZNX:=(ZXH+ZQS)/2,COLORMAGENTA;

ZJD:=ATAN((ZPH-REF(ZPH,1))/REF(ZPH,1)*100)*180/3.14159;

下合线:=ZQS,COLORFFAA00,DOTLINE;

MAR2:MA(C,1),COLOR111111;

MAR3:MA(L,10),COLOR111111;

MAR4:EMA(下合线,30),COLOR999999;

DRAWTEXT_FIX(C>O,0.01,0.9,0,' 指标网 '),COLOR99EEEE;

STICKLINE(MAR3>MAR4,MAR3,MAR4,1,0),COLORFF00FF;

STICKLINE(MAR3<MAR4,MAR3,MAR4,2,0),COLOR008000;

STICKLINE(MAR2>MAR3,MAR2,MAR3,1,1),COLORRED;

STICKLINE(MAR2<MAR3,MAR2,MAR3,1,1),COLORBLUE;

STICKLINE(C>REF(C,1),C,O,2,0),COLORRED;

STICKLINE(C>REF(C,1),C,O,2.2,0),COLOR0033FF;

STICKLINE(C>REF(C,1),C,O,2,0),COLOR0033FF,LINETHICK2;

STICKLINE(C<REF(C,1),C,O,2,0),COLORFF8000,LINETHICK1;

MAR6:MAR2,COLORFFCC00,LINETHICK2;

MAR7:(MAR3+MAR4)/2,COLOR99EEEE,LINETHICK2;

MAR8:MAR4,COLOR999999,LINETHICK2;

通达信穿越时空分时副图源码:

庄进:=(EMA(CLOSE,20)-EMA(CLOSE,25))/EMA(CLOSE,25)*100,COLORRED;

庄出:=(EMA(C,25)-EMA(C,20))/EMA(C,20)*100,COLORCYAN;

XYZ1:(庄进-庄出),COLOR8800FF;

XYZ2:EMA(XYZ1,5),COLORGREEN;

STICKLINE(XYZ1>XYZ2,庄出,庄进,0.8 ,0 ),COLORRED;

STICKLINE(XYZ1<XYZ2,庄出,庄进,0.8 ,18 ),COLORCYAN;

MAB1:EMA(庄进,1),COLORRED;

MAB2:EMA(庄出,1),COLORCYAN;

中线:0.00,COLORBLUE;