“蚂蟥盯庄”的指标
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个

编写要求:

老师帮忙改写的通达信指标,还有些差别,再请劳神一下!原指标代码,分析家公式:参数:N 缺省75 最小1 最大250 步长1Var1:=3*SMA((CLOSE-LLV(LOW,))/(HHV(HIGH,)-LLV(LOW,))*100,20,1)-2*SMA(SMA((CLOSE-LLV(LOW,))/(HHV(HIGH,)-LLV(LOW,))*100,20,1),15,1);Var2:=3*SMA((OPEN-LLV(LOW,))/(HHV(HIGH,)-LLV(LOW,))*100,20,1)-2*SMA(SMA((OPEN-LLV(LOW,))/(HHV(HIGH,)-LLV(LOW,))*100,20,1),15,1);Var3:=100-Var2;Var4:=100-Var1;Var5:=REF(CLOSE,1);Var6:=100*VOL/CAPITAL*10;STICKLINE(Var4Var7,(-1)*Var4,(-1)*Var3,Var6,1), , [00010001];STICKLINE(Var4>=REF(Var3,1),(-1)*Var4,(-1)*Var3,Var6,1), , [00010001];FORCAST((-1)*Var3,21);-100;0;-70;老师盖通达信版本后还有色彩的差别,在求助

解答:

 N :=75;

VAR1:=3*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,20,1)-2*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,20,1),15,1);
VAR2:=3*SMA((OPEN-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,20,1)-2*SMA(SMA((OPEN-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,20,1),15,1);
VAR3:=100-VAR2;
VAR4:=100-VAR1;
VAR5:=REF(CLOSE,1);
VAR6:=100*VOL/CAPITAL*10;
STICKLINE(VAR4<REF(VAR3,1),(-1)*VAR4,(-1)*VAR3,VAR6,1),COLORWHITE;
VAR7:=MA(VAR3,3);
STICKLINE((-1)*VAR4>VAR7,(-1)*VAR4,(-1)*VAR3,VAR6,1),COLORWHITE;
STICKLINE(VAR4>=REF(VAR3,1),(-1)*VAR4,(-1)*VAR3,VAR6,1),COLORMAGENTA;
FORCAST((-1)*VAR3,21),COLORGREEN;
-100,COLORGRAY;
0,COLORBLUE;
-70,COLORMAGENTA;
 

选股票看什么指标最好 >股票指标网