a:= LTFunc4@FORLT2
s1:= LTFunc4@LT_S1
hs:= LTFunc4@LT_HS
ls:= LTFunc4@LT_LS
p1:= LTFunc4@LT_P1
upp:= LTFunc4@LT_UPP
udd:= LTFunc4@LT_UDD
d1:=EMA(ABS( ddx.ddx ),60);
d2:=MAX( ddx.ddx /d1+7.5,7.5);
d3:=MIN( ddx.ddx /d1,10);
fb:=IF(s1=0,hs,ls);
STICKLINE(p1=1 AND C =O AND O 0,C,O,d2,0),color5454ff;
STICKLINE(p1=1 AND C =O AND O 0,C,O,7.5,0),colorblack;
STICKLINE(p1=1 AND C =O AND O 0,C,C,7.5,0),color5454ff;
STICKLINE(p1=1 AND C =O AND O 0,O,O,7.5,0),color5454ff;
STICKLINE(p1=1 AND C =O AND O 0,O,C,7.5,1),color5454ff;
STICKLINE(p1=1 AND C =O,O,C,7.5,1),color5454ff;
STICKLINE(p1=1 AND C =O,L,C,0.5,1),color5454ff;
STICKLINE(p1=1 AND C =O,H,O,0.5,1),color5454ff;
STICKLINE((p1 1 OR BARSCOUNT(C) 3) AND C =O,C,O,7.5,1),colorffff54;
STICKLINE((p1 1 OR BARSCOUNT(C) 3) AND C =O,C,H,0.5,1),colorffff54;
STICKLINE((p1 1 OR BARSCOUNT(C) 3) AND C =O,L,O,0.5,1),colorffff54;
d1:=EMA(ABS( ddx.ddx ),60);
d2:=MAX( ddx.ddx /d1+7.5,7.5);
d3:=MIN( ddx.ddx /d1,10);
fb:=IF(s1=0,hs,ls);
级别:d3,PRECIS1,LINETHICK0;
STICKLINE(p1=1 AND C =O,C,O,5,0),colorgreen;
STICKLINE(p1=1 AND C =O,C,H,0.5,0),colorgreen;
STICKLINE(p1=1 AND C =O,L,O,0.5,0),colorgreen;
STICKLINE((p1 1 OR BARSCOUNT(C) 3) AND C =O,C,O,8,0),colorred;
STICKLINE((p1 1 OR BARSCOUNT(C) 3) AND C =O,C,H,0.5,1),colorred;
STICKLINE((p1 1 OR BARSCOUNT(C) 3) AND C =O,L,O,0.5,1),colorred;
DRAWBMP(p1=1 AND REF(p1,1)=0,L,'buy1.bmp');
DRAWBMP(p1=0 AND REF(p1,1)=1,H,'sell1.bmp');
买点:p1=1 AND REF(p1,1)=0,PRECIS0,LINETHICK0;
卖点:p1=0 AND REF(p1,1)=1,PRECIS0,LINETHICK0;
DRAWBMP(s1=1 AND REF(s1,1)=0 AND (p1+REF(p1,1)) 1,L,'bs.bmp');
DRAWBMP(s1=0 AND REF(s1,1)=1 AND (p1+REF(p1,1)) 1,H,'ss.bmp');
红点:s1=1 AND REF(s1,1)=0 AND (p1+REF(p1,1)) 1,PRECIS0,LINETHICK0;
绿点:s1=0 AND REF(s1,1)=1 AND (p1+REF(p1,1)) 1,PRECIS0,LINETHICK0;
超级线:EMA(C,5),COLOR00FF00;
PARTLINE(超级线,超级线 REF(超级线,1),RGB(255,0,0)),LINETHICK2;
强季线:EMA(C,120),LINETHICK2,COLOR00FF00;
M30日:MA(CLOSE,30),LINETHICK2,COLORFF00FF;
G:=ZIG(3,5) REF(ZIG(3,5),1) AND REF(ZIG(3,5),1) =REF(ZIG(3,5),2) AND REF(ZIG(3,5),2) =REF(ZIG(3,5),3);
X:=ZIG(3,5) REF(ZIG(3,5),1) AND REF(ZIG(3,5),1) =REF(ZIG(3,5),2) AND REF(ZIG(3,5),2) =REF(ZIG(3,5),3);
DRAWTEXT(G,L*0.999,'▲'),Colorff00ff;
DRAWTEXT(G,L,' ̄'),Color00ff00;
DRAWTEXT(X,H*1.00,'▼'),Color00ffff;
DRAWTEXT(X,H,' ̄'),Color00ffff;
Var326:=IF(CLOSE REF(CLOSE,1),88,0);
Var327:=IF(CLOSE/REF(CLOSE,1) 1.050 AND HIGH/CLOSE 1.010 AND Var326 0, 91, 0);
DRAWTEXT(Var327 90,LOW*1.00,'★'),coloryellow;
TYP := (HIGH + LOW + CLOSE)/3;
yy:(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N)),linethick0;
bb:=(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N));
VERTLINE((IF(CROSS(bb,-200),-200,0)),1),colorf00ff0,linethick3;