通达信金色家园指标公式

通达信MACD只做红柱指标公式

通达信金色家园指标公式:

蓝天:110,stick,colorblue;

花园:ema((CLOSE-llV(CLOSE,55))/(HHV(CLOSE,55)-LLV(LOW,55))*100,5),

stick,linethick1,colorgreen;

A:=EMA(WINNER(CLOSE),10);

B:=EMA(WINNER(CLOSE),34);

Var1:=MA(vol,5)>MA(VOL,60);

别墅:IF(A<0.15 AND Abs(A-B)<0.05 AND crOSS(A,B) and var1,1,0)*100,

color0099ff,stick,linethick3;

var2:=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);

var3:=IF(var2>90,50,100);

星星:IF(CROSS(var3,var2),1,0),coloryellow;

drawtext(星星,100,''),coloryellow;

stickline(别墅>0,15,别墅*1.1,1,0),pointdot,colorwhite;

stickline(别墅>0 and 别墅<400,40,别墅,1,0),colorred,linethick1;

stickline(别墅>0,15,别墅*0.7,5,0),coloryellow,linethick5;

stickline(别墅>0,15,别墅*0.4,5,0),coloryellow,linethick7;

stickline(别墅>0,15,别墅*0.1,5,0),color0099cc,linethick7;

dpMSD:=EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3);

通达信蚂蚁功主图指标公式