通达信黄金启动主图指标(源码)
2014-08-11 09:43:00来源:本站整理浏览:316
A1:=ABS(((3.48*CLOSE+HIGH+LOW)/4-EMA(CLOSE,20))/EMA(CLOSE,20));
A2:=DMA(((2.15*CLOSE+LOW+HIGH)/4),A1);
金线王:EMA(A2,200)*1.118 ,LINETHICK2,COLORWHITE;
IF((金线王>=REF(金线王,1)),金线王,DRAWNULL),LINETHICK2,COLORMAGENTA;
IF((金线王<=REF(金线王,1)),金线王,DRAWNULL),LINETHICK2,COLORGREEN;
底部:=(COST(95)-COST(5))/(COST(95)+COST(5))*100;
顶部:=100-底部;
均值:=(底部+顶部)/2;
顶部成本价:COST(顶部),COLORYELLOW,DOTLINE,LINETHICK2;
WW:=CROSS(顶部成本价,金线王) AND REF(金线王,1)<金线王;
DRAWTEXT(WW,L*0.98,'★黄金启动')COLORCYAN;
- 上一篇公式:通达信王者归来指标(源码)
- 下一篇公式:通达信陈釺金元宝分时指标(源码)