「翔博精选指标」金银财宝(通达信公式 副图 源码 测试图)
2022-05-23原创 编 辑:翔博软件
{公式名称: 金银财宝}
VAR1:=IF(1<2402.459961*500,1,DRAWNULL);
VAR2:=EMA(CLOSE,12/2)-EMA(CLOSE,26/2)*VAR1;
VAR3:=EMA(VAR2,9/2)*VAR1;
VAR4:=IF(DATETODAY(DATE)<10899,1,DRAWNULL);
STICKLINE(VAR2>=VAR3,42,46,5,0),COLOR009999;
STICKLINE(VAR2<VAR3,42,46,5,1)*VAR4,COLOR696969;
VAR5:=EMA(CLOSE,12)-EMA(CLOSE,26)*VAR1;
VAR6:=EMA(VAR5,9)*VAR4;
STICKLINE(VAR5>=VAR6,36,40,5,0)*VAR1,COLORAAAAAA;
STICKLINE(VAR5<VAR6,36,40,5,1)*VAR4,COLOR696969;
VAR7:=EMA(CLOSE,18)-EMA(CLOSE,39)*VAR1;
VAR8:=EMA(VAR5,270)*VAR4;
STICKLINE(VAR7>=VAR8,30,34,5,0)*VAR1,COLORMAGENTA;
STICKLINE(VAR7<VAR8,30,34,5,1)*VAR4,COLOR696969;
VAR9:=EMA(CLOSE,36)-EMA(CLOSE,78)*VAR1;
VAR10:=EMA(VAR5,1200)*VAR4;
STICKLINE(VAR9>=VAR10,24,28,5,0)*VAR1,COLOR0000BB;
STICKLINE(VAR9<VAR10,24,28,5,1)*VAR4,COLOR696969;