N:=20; T:=10; 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; |
|