通达信钻石出现副图指标公式

VAR1:=(HIGH+LOW+CLOSE*2)/4;
VAR2:=EMA(VAR1,21);
VAR3:=STD(VAR1,21);
VAR4:=((VAR1-VAR2)/VAR3*100+200)/4;
VAR5:=(EMA(VAR4,89)-25)*1.56;
VAR6:=EMA(VAR5,5)*1.22;
VAR7:=EMA(VAR6,3);
VAR8:=3*VAR6-2*VAR7;
VAR1A:=IF(CROSS(VAR6,VAR8) AND CROSS(VAR7,VAR8) AND CROSS(VAR7,VAR6),1,0);
VAR1B:=EMA(CLOSE,3)-EMA(CLOSE,89);
VAR1C:=EMA(VAR1B,21);
VAR1D:=(VAR1B-VAR1C)*10;
VAR1F:=POW(VAR1D,3)*0.1+POW(VAR1D,2);
游资:=IF(VAR1D>0.015,VAR1F,0)/45,COLORMAGENTA;
STICKLINE(VAR1D>0.015,VAR1F/45,0,1,0),COLORRED,;
VAR9:=EMA(CLOSE,2)-EMA(CLOSE,55);
VAR10:=EMA(VAR9,13);
VAR11:=2*(VAR9-VAR10);
资金:POW(VAR11,3)*0.1+POW(VAR11,1),COLORYELLOW,LINETHICK2; 
强弱分界:0,COLORGREEN;
{程序化指标官方网址 WWW.HONGHAIE.COM}
SSS:=9;  LLL:=34;  
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,200);
AA:=(DIF-DEA)*2;
黄金钻信号:=IF(AA<0,0,AA*AA),LINETHICK3,,COLORRED;
DIF1:=EMA(CLOSE,9)-EMA(CLOSE,34);
DEA1:=EMA(DIF1,200);
AAA:=(DIF1-DEA1)*2;
启动引导线:=IF(AA<0,0,AAA*AAA),LINETHICK2,COLOR0055FF;
红码:=MA(CLOSE,15)+2*STD(CLOSE,15),LINETHICK2,COLOR0055FF;
XX:=EMA(C,5),LINETHICK2,COLORGREEN;
DRAWICON(C>红码 AND C>=O ,资金,26);

(0)

相关推荐