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;
公式模块:
A1:=ABS(((3.48*C+H+L)/4-EMA(C,20))/EMA(C,20));
A2:=DMA(((2.15*C+L+H)/4),A1);
金线王:=EMA(A2,200)*1.118;
底部:=(COST(95)-COST(5))/(COST(95)+COST(5))*100;
顶部:=100-底部;
顶部成本价:=COST(顶部);
CROSS(顶部成本价,金线王) AND REF(金线王,1)