DRAWGBK(CLOSE>0,RGB(0,108,108),RGB(88,0,0),0,5,0);
A:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*21,LINETHICK0,COLORWHITE;
B:=(CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*21,LINETHICK0,COLORYELLOW;
红柱:=SMA(A,7,1),LINETHICK0,COLOR0000FF;
蓝柱:=SMA(B,7,1),COLORSTICK,COLORFFFF00;
VAR200:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,13))*100;
VAR300:=SMA(SMA(VAR200,5,1),5,1)/13;
VAR400:=EMA(VAR300,5);
操盘:=3*VAR300-2*VAR400;
伏:=CROSS(操盘,VAR300) AND VAR300< 3.1 AND C>O;
STICKLINE(伏, 0,10, 2, 0),COLORLIMAGENTA;
DRAWICON(伏,10,29);
A1:=C/REF(C,1)>=1.097;
DRAWTEXT(A1 AND 伏,5.4,'★打板'),COLORMAGENTA;
B1:=C/REF(C,1)>=1.05 AND C/REF(C,1)< 1.097;
DRAWTEXT(B1 AND 伏,7.4,'★大阳'),COLORMAGENTA;
VAR1:=IF(L< (7),0,IF(H>(7),(7)-((7)-H+0.02)/(H-L+0.02),0));
VAR2:=DMA(VAR1,V)*100;
卖出:=IF(VAR2>0 AND VAR2>REF(VAR2,1),VAR2/20,0);
GUPQ1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
GUPQ2:=SMA(ABS(LOW-GUPQ1),13,1)/SMA(MAX(LOW-GUPQ1,0),10,1);
GUPQ3:=EMA(GUPQ2,10);
GUPQ4:=LLV(LOW,33);
GUPQ5:=EMA(IF(LOW<=GUPQ4,GUPQ3,0),3)*100;
GUP2:=LLV(LOW,10);
GUP3:=HHV(HIGH,25);
趋势线:=EMA((CLOSE-GUP2)/(GUP3-GUP2)*2.5,3);
强弱分界线:=1.75,POINTDOT,LINETHICK2,COLOR70DB93;
BV:=趋势线>强弱分界线,COLOR00FFFF;
STICKLINE(BV ,0 ,1,3 ,1),COLORYELLOW;
F:=EMA(WINNER(C)*70,3);
E:=EMA((WINNER(C*1.1)-WINNER(C*0.9))*70,3);
J:=E-F;
S:=CROSS(F,J);
STICKLINE(S ,0 ,1,2 ,0),COLORLIGREEN;