源码
短线顶:40,POINTDOT,colorred,LINETHICK1;
强弱分界:0,POINTDOT;
短线底:-40,LINETHICK1,POINTDOT,color00FFFF;
Var1:=(CLOSE-LLV(LOW,26))/(HHV(HIGH,26)-LLV(LOW,26))*100-50;
K:SMA(Var1,3,1),LINETHICK0,COLORFFFFAA;
D:SMA(K,3,1),LINETHICK0,colorblue;
MACD: 2*(K-D),LINETHICK3, COLORSTICK;
VAR2:=(CLOSE-LLV(LOW,85))/(HHV(HIGH,85)-LLV(LOW,85))*100-50;
趋势线: SMA(Var2,5,1.5),COLOR9900FF,LINETHICK3;
趋势做空:IF(趋势线-VAR2,趋势线,VAR2)*0.958,LINETHICK0,colorred;
STICKLINE(趋势做空<=-40 AND 趋势线<=47,-45,-20,5,1),color00FFFF;
DRAWTEXT(CROSS(趋势线,短线底) ,趋势线-0.1,'回头浪'),colored;