VAR11:=3*SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,5,1)-2*SMA(SMA((CLOSE-LLV
(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,5,1),3,1);
趋势线:=EMA(VAR11,3);
VAR12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100;
能量:STICKLINE(趋势线 =13,0,6,8,0),COLORYELLOW;
能量暴发:STICKLINE(趋势线 =13 AND VAR12 13,0,65,1,0),COLORRED;
趋势:3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV
(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),COLORYELLOW;
买入: IF(CROSS(趋势,50),100,0),COLORFFCCCC;
底部跟进:CROSS(趋势,7);
DRAWTEXT(CROSS(趋势,7)AND CROSS(趋势,7)=1,20,'跟进'),COLORWHITE;
A1:3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV
(L,55))*100,5,1),COLORRED;
90,COLORGREEN;
85;
DRAWTEXT(FILTER(A1 85,15)=1,85,'逃顶'),COLORYELLOW;
DRAWTEXT(FILTER(A1 80,15)=1,85,'逃顶'),COLORYELLOW;
MA5:MA(CLOSE,5);
MA10:MA(CLOSE,10);
MA20:MA(CLOSE,20);
B:=REF(C,1) MA5 AND 2*C REF(O,1)+REF(C,1);
D:=REF(C,1) MA5 AND 2*C REF(O,1)+REF(C,1);
E:=ma5 ma10 and ma5 ref(ma5,1);
DRAWTEXT(B and not(e),L*0.95,'买') ,COLORMAGENTA;
DRAWTEXT(D,H*1.02,'卖') ,COLOR00FF00;