大智慧叠加操作副图指标
-
相关简介:大智慧叠加操作副图指标 源码 Var1:=(CLOSE-LLV(LOW,120))/(HHV(HIGH,120)-LLV(LOW,120))*100; Var2:=(OPEN-LLV(LOW,120))/(HHV(HIGH,120)-LLV(LOW,120))*100; Var3:=(HIGH-LLV(LOW,120))/(HHV(HIGH,120)-LLV(LOW,120))*100; Var4:=(LOW-LLV(LOW,120))/(HHV(HIGH,120)-LLV(LOW,120))*
-
文章来源:股海网作者:股海网发布时间:2016-06-18浏览次数:
大智慧叠加操作副图指标
源码
Var1:=(CLOSE-LLV(LOW,120))/(HHV(HIGH,120)-LLV(LOW,120))*100;
Var2:=(OPEN-LLV(LOW,120))/(HHV(HIGH,120)-LLV(LOW,120))*100;
Var3:=(HIGH-LLV(LOW,120))/(HHV(HIGH,120)-LLV(LOW,120))*100;
Var4:=(LOW-LLV(LOW,120))/(HHV(HIGH,120)-LLV(LOW,120))*100;
Var5:=REF(CLOSE,1);
RSIa:= SMA(MAX(CLOSE-Var5,0),5,1)/SMA(ABS(CLOSE-Var5),5,1)*100{,linethick1,colorred };
RSIb:= SMA(MAX(CLOSE-Var5,0),10,1)/SMA(ABS(CLOSE-Var5),10,1)*100{,linethick1,coloryellow} ;
if(CLOSE>=OPEN,Var3,Var1),stick ,linethick0,color00ff00 ;
if(CLOSE>=OPEN,Var2,Var4), stick ,linethick0,coloryellow;
if(CLOSE<OPEN,Var3,Var2), stick ,linethick0,colorf00ff0;
if(CLOSE<OPEN,Var1,Var4), stick ,linethick0,colorwhite ;Var4,stick ,linethick0,color000000 ;
if(MIN(Var2,Var1)=0 AND RSIa<20 OR Var4=0 AND RSIa<20,60,100),linethick2 ,coloryellow;
if(MAX(Var2,Var1)=100 AND RSIa>80 OR Var3=100 AND RSIa>80,40,0),linethick2 ,colorwhite ;
{if(CLOSE=OPEN,CLOSE,0), pointdot ,linethick5 ;}
RSI1:RSIa,linethick1,colorf0f000;
RSI2:RSIb,linethick1,coloryellow;
if(Var1>=Var2,Var1,0),pointdot ,linethick5 ,colorblue;
if(Var1<Var2,Var2,0), pointdot,linethick5 ,colorf00ff0;
20;
80;
0;
100;