当SD线上穿买进线之后即可买入; 当SD线上穿强弱线之后进入强势区随时准备卖出。
VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5; VAR2:=LLV(LOW,34); VAR3:=HHV(HIGH,34); SK: EMA((VAR1-VAR2)/(VAR3-VAR2)*100,13); SD: EMA(SK,3); 高抛: 80, POINTDOT; 低吸: 20, POINTDOT; VAR4:=IF(CROSS(SK,SD) AND SK<23,40,22); VAR5:=IF(CROSS(SD,SK) AND SD>80,60,78); 买进: VAR4; 卖出: VAR5; 强弱分界: 50, POINTDOT;
DRAWTEXT(CROSS(SD,买进),SD*0.97,'●'),coloryellow;
DRAWTEXT(CROSS(SD,买进),SD*0.968,'●'),colorred;
DRAWTEXT(CROSS(SD,买进),SD*0.985,'↑'),coloryellow;
FILLRGN(SD,买进,SD<买进,RGB(0,0,155));
DRAWTEXT(CROSS(SD,买进) ,SD+1,'买不亏'),colorff00ff;
|
