飞狐鬼道线主图指标
-
相关简介:飞狐鬼道线主图指标 源码 N:=30;M:=7; JAX: DMA(CLOSE,n); 压力线: (1+M/100)*JAX; 支撑线: (1-M/100)*JAX; Var2:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10; Var3:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100; Var4:=SMA(Var3,13,8); Var5:=85; Var6:=20; Var7
-
文章来源:股海网作者:股海网发布时间:2016-03-14浏览次数:
飞狐鬼道线主图指标
源码
N:=30;M:=7;
JAX: DMA(CLOSE,n);
压力线: (1+M/100)*JAX;
支撑线: (1-M/100)*JAX;
Var2:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;
Var3:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
Var4:=SMA(Var3,13,8);
Var5:=85;
Var6:=20;
Var7:=SMA(Var4,13,8);
Var8:=SMA(Var2,21,8);
Var9:=45;
DRAWICON(CROSS(Var7,Var8),OPEN,1);
DRAWICON(CROSS(Var5,Var7),OPEN,2);
VarA:=REF(CLOSE,1);
VarB:=SMA(MAX(CLOSE-VarA,0),12,1)/SMA(ABS(CLOSE-VarA),12,1)*100;
VarC:=MA(VarB,4);
VarD:=IF(CROSS(VarC,REF(VarC,2)) AND VarC<32,80,IF(CROSS(REF(VarC,2),VarC) AND VarC>62,20,50));
DRAWTEXT(VarD>52,LOW,'买');
DRAWTEXT(VarD<50,HIGH*1.008,'赚');