叠加操作公式 源码
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;
STICKLINE(CLOSE>=OPEN,Var3,Var1,0.7,1),colorred , ;
STICKLINE(CLOSE>=OPEN,Var2,Var4,0.7,1),colorred , ;
STICKLINE(CLOSE<OPEN,Var3,Var2,0.7,1),colorgreen , ;
STICKLINE(CLOSE<OPEN,Var1,Var4,0.7,1),colorgreen , ;
STICKLINE(CLOSE=OPEN,Var1,Var2,7,1),colorred , ;
STICKLINE(CLOSE>OPEN,Var1,Var2,7,1),colorred , ;
STICKLINE(CLOSE<OPEN,Var2,Var1,7,1),colorgreen , ;
Var5:=REF(CLOSE,1);
RSI1: SMA(MAX(CLOSE-Var5,0),5,1)/SMA(ABS(CLOSE-Var5),5,1)*100,colorffff00 , ;
RSI2: SMA(MAX(CLOSE-Var5,0),10,1)/SMA(ABS(CLOSE-Var5),10,1)*100,coloryellow , ;
STICKLINE(MIN(Var2,Var1)=0 AND RSI1<20 OR Var4=0 AND RSI1<20,0,80,2,1),colorred ,;
STICKLINE(MAX(Var2,Var1)=100 AND RSI1>80 OR Var3=100 AND RSI1>80,100,20,2,1),colorgreen , ;
20;
80;
- 上一篇公式:风雨组合公式 源码
- 下一篇公式:鲤鱼跃龙门公式 源码