| | | |
{参数描述: N(0,500,27)N2(0,10,9)N3(0,100,3)N4(0,100,16) }
Var2:=(CLOSE-LLV(LOW,M1))/(HHV(HIGH,M1)-LLV(LOW,M1))*100;
获利盘: WINNER(CLOSE)*100,colorf00ff0;
Var3:=SMA(Var2,3,1);
Var4:=SMA(Var3,M2,1);
Var5:=3*Var3-2*Var4;
Var6:=VOL;
量比1: VOL/MA(VOL,5),color00ff00;
涨跌1: (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100,colorwhite;
角度: (CLOSE-REF(OPEN,29))/REF(OPEN,29)*100,colorf0f000;
换手: VOL/CAPITAL*100,colorred;
Var7:=SUM(换手,30);
Var8:=LLV(INDEXL,5);
Var9:=HHV(INDEXH,5);
VarA:=EMA((INDEXC-Var8)/(Var9-Var8)*100,4);
VarB:=MA(EMA(0.667*REF(VarA,1) 0.333*VarA,2),9);
VarC:=MA(VarB,30);
VarD:=EMA(获利盘,4);
本盘亿股: CAPITAL/1000000,colorgreen , ;
振幅1: (HIGH-LOW)/REF(CLOSE,1)*100,colorblue;
V5: MA(VOL,5)*2,color00cccc;
VarE:=MA(V5,3);
V34: MA(VOL,34)*2;
VarF:=(涨跌>VarD AND 角度<-30 AND 涨跌>3);
CROSS(VarB,VarC) AND VarC<29;
STICKLINE(VOL AND Var5>Var4,0,VOL,8,1);
STICKLINE(VOL AND Var5<Var4,0,VOL,8,1);
STICKLINE(VOL AND Var4<-10,VOL*0.5,vol,8,0);
DRAWTEXT(CROSS(VarB,VarC) AND 角度<-28 AND VarC<29,VOL*1.5,'买 '),colorf0f000;
W: DRAWTEXT(CROSS(VarC,VarB) AND VarC>58,VOL*1.5,'卖'),colorwhite;
DRAWTEXT(CROSS(VarE,V5) AND 角度>V5,vol*1.5,'<----'),coloryellow; |
| | | | |
|