大智慧 持股持仓附图介绍
大智慧 持股持仓附图
Var1:=(2*CLOSE+HIGH+LOW)/4;
Var2:=LLV(LOW,34);
Var3:=HHV(HIGH,34);
Var4:=EMA((Var1-Var2)/(Var3-Var2)*100,13);
VarA:=EMA(0.667*REF(Var4,1)+0.333*Var4,2);
dd1:=CROSS(Var4>VarA,0.5);
dd2:=CROSS(Var4<VarA,0.5);
持仓:dd1,colorred,LINETHICK2;
空仓:IF(dd2,1,2),colorffff00,LINETHICK2;
DRAWTEXT(dd1,0.5,'``持仓'),colorwhite;
DRAWTEXT(dd2,1.5,'``持仓'),color00ffff;
界线:1,color005fff;
DZH版
Var1:=(2*CLOSE+HIGH+LOW)/4;
Var2:=LLV(LOW,34);
Var3:=HHV(HIGH,34);
Var4:=EMA((Var1-Var2)/(Var3-Var2)*100,13);
VarA:=EMA(0.667*REF(Var4,1)+0.333*Var4,2);
持仓: if(Var4>VarA,2,-1),colorRED,LINETHICK2;
空仓: if(Var4<VarA,2,-1);
gd24901