以下是同花面红买绿卖副图源码(无源码的请下载附件导入)
使用说明:出现红色向上曲线为上涨阶段,后势上涨概率较大,出现向下绿色柱状线为下跌阶段,后势下跌概率较大。
Var1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
Var2:=SMA(Var1,9,1)+100;
Var3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
Var4:=SMA(Var3,3,1);
Var5:=SMA(Var4,3,1)+100;
Var6:=Var5-Var2;
S: IF(Var6>100,Var6-100,0),linethick1 ,colorred;
STICKLINE(REF(S,1)>S,S,REF(S,1),6,0), colorgreen
;