VAR2:=LLV(LOW,10);
VAR3:=HHV(HIGH,25);
阶段卖出: 3.2,COLORC6C600;
3.5,COLOR0088FF;
清仓卖出: 3.5,COLOR00FF00,LINETHICK2;
动力线:= EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4);
STICKLINE(动力线>REF(动力线,1) ,动力线 ,REF(动力线,1),3 ,0),colorred;
STICKLINE(动力线<=REF(动力线,1) ,动力线 ,REF(动力线,1),3 ,0),COLOR00FF00;
底部:0.2,COLOR0000FF,LINETHICK2;
关注:0.5,COLORFF00FF;
DRAWICON( FILTER(CROSS(动力线,关注),20),动力线+0.02 ,15);
DRAWICON( FILTER(CROSS(清仓卖出,动力线),20),动力线+0.02,19);
DRAWICON( FILTER(CROSS(动力线,底部),20),动力线+0.02 ,15);
DRAWICON( FILTER(CROSS(阶段卖出,动力线),20),动力线+0.02,19);
强弱分界线:1.75,POINTDOT,LINETHICK2,COLOR70DB93;
数值:动力线,COLOR0000FF;
DRAWTEXT(CROSS(数值,底部),数值,'买入');
DRAWTEXT(CROSS(阶段卖出,数值),阶段卖出,'卖出');
尖入:ZIG(3,10)>REF(ZIG(3,10),1)AND REF(ZIG(3,10),1)<REF(ZIG(3,10),2),colormagenta,LINETHICK2;
尖出:ZIG(3,10)<REF(ZIG(3,10),1)AND REF(ZIG(3,10),1)>REF(ZIG(3,10),2),colorgreen,LINETHICK2;
DRAWTEXT(尖入=1,1.1,' ▲低吸'),coloryellow;
DRAWTEXT(尖出=1,1.1,' ▼高抛'),colorgreen;
var3:=PEAKBARS(3,15,1)<10;
var5:=IF(var3=1,2,0);
顶:= IF(var5=2,2,0);
顶a:IF(顶>REF(顶,1),3,3.5),colorgreen, linethick2;
DRAWTEXT(顶a=3,3,'▼顶部'),coloryellow;
|
