Var1:=BacKSET(REF(HIGH,2)=HHV(HIGH,5),3);
Var2:=crOSS(Var1,0.9);
Var3:=BACKSET(REF(LOW,2)=LLV(LOW,5),3);
Var4:=CROSS(Var3,0.9);
波浪顶: REF(HIGH,BArslAST(Var2)), POINTDOT,ColorEA91B5;
STICKLINE(CLOSE,REF(HIGH,BARSLAST(Var2)),REF(HIGH,BARSLAST(Var2)),5,0),ColorEA91B5;
波浪底: REF(LOW,BARSLAST(Var4)), POINTDOT,Color3791B5;
STICKLINE(CLOSE,REF(LOW,BARSLAST(Var4)),REF(LOW,BARSLAST(Var4)),5,0),Color3791B5;
ema2:ema(ema(ema(c,3),2),2),colorred;
ema2r:=ref(ema2,1);
x:(ema2-ema2r),colorff00ff,linethick2;
stickline(x<=0,波浪底,波浪顶,1,0),colorblue;
stickline(x>0,波浪底,波浪顶,1,0),coloryellow;
ema7:ema(ema(ema(c,7),2),2),colorwhite;
STICKLINE(C>=O,C,O,7,0),COLORRED;
{ _大智慧股票指标公式}
STICKLINE(C>=O,C,O,4,0),COLOR7070ff{B0B0FF};
STICKLINE(C>=O,C,O,2,0),COLORYELLOW;
STICKLINE(C>=O,H,L,0,0),COLORYELLOW;
STICKLINE(C<=O,C,O,7,0),COLORFF2020;
STICKLINE(C<=O,C,O,4,0),COLORFF6600;
STICKLINE(C<=O,C,O,2,0),{COLORCYAN;}colorffcc66;
STICKLINE(C<=O,H,L,0,0),{COLORCYAN}colorffcc66;