A:(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
K:SMA(A,2,1),colorc187ff;
D:SMA(K,5,1),color00bbff;
Q:A*1.03,colorgreen;
M:=MA(OPEN,5)*1.5,color95ffcc;
买吧:=TROUGHBARS(3,5,1)<4,colorgray;
卖: IF(CROSS(K,A) and K>50,90,0),stick,linethick2,colorwhite;
STICKLINE(FILTER(买吧=1,5),70,0,5,0)colorffaa33;
DRAWICON(FILTER(买吧=1,5),80,1);
DRAWTEXT(FILTER(买吧=1,5),50,'买吧')colorwhite;
顶部: IF(CROSS(85,Q),70,100),linethick1,colorb0ffff;
底部1: IF(Q<15,30,0),linethick2,colorred;
底部2: IF(K<10,30,0),linethick2,colora3a1ff;
反弹1: IF(CROSS(Q,15) and K>ref(K,1),80,0),stick,linethick2,color95ffcc;
当心红顶: STICKLINE(Q>90,Q+1,Q-1,1,0),pointdot,linethick4 ,COLORred;
80, ,COLOR68744A;
50,,COLOR68744A;
20, ,COLOR68744A;