V1:=EMA(CLOSE,60)-EMA(CLOSE,300); V2:=EMA(V1,300); V3:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100; 買入線:SMA(V3,2,1); 賣出線:SMA(買入線,2,1); V6:=CLOSE/REF(CLOSE,3)>=1.1; V7:=BACKSET(V6,3); 大漲買:IF((V7 AND COUNT(V7,3)=1),50,0),COLORMAGENTA,LINETHICK2; DRAWTEXT(大漲買,50,'大漲買 '),COLORMAGENTA; V10:=PEAKBARS(3,15,1)<10; V12:=IF(V10=1,50,0); 頭部:= IF(V12=50,100,0); 賣:IF(頭部>REF(頭部,1),50,0),COLORGREEN,LINETHICK2; V9:=TROUGHBARS(3,15,1)<10; V11:=IF(V9=1,50,0); 底部:= IF(V11=50,50,0); 買:IF( 底部>REF(底部,1),40,0),COLORRED,LINETHICK2; DRAWTEXT(買,40,'買'),COLORYELLOW;
|