九毛八公式指标
公式模块:
因为水平不好,也就这靠这三个公式过日子 ,恳请老师 帮忙改改
RV:=(CLOSE-LLV(LOW,90))/(HHV(HIGH,90)-LLV(LOW,90))*100;
RG:=(CLOSE-LLV(LOW,6))/(HHV(HIGH,6)-LLV(LOW,6))*100;
J0:=(HIGH+LOW)/2;J1:=IF(CLOSE>J0,vol,0);J2:=IF(CLOSE<J0,VOL,0);
量能:IF(CAPITAL=0,MA(vol,74),ma(llv(l,5),5)),color00DDDD,LINETHICK;
趋势:IF(CAPITAL=0,WMA(量能,360),DMA(量能,v/CAPITAL)),color008800,LINETHICK;
var3:=(量能-趋势);var4:=SMA(RV,5,1);var5:=SMA(var4,3,1);
STICKLINE(var3>0,100,50,10,0),color990099;
STICKLINE(var3<0,0,50,10,0),color008800;
DRAWICON(cross(var4,var5) and var5<30,2,4);
DRAWICON(cross(var5,var4) and var5>30,97,5);
FILLRGN(var4<var5,var4,var5),COLORFF8800;
FILLRGN(var4>var5,var5,var4),COLOR0000FF;
KK:SMA(RG,3,1),COLORFFFFFF;DD:SMA(KK,3,1),COLOR00FFFF;
DRAWTEXTEX(CLOSE,1,10,10,STKLABEL+' '+STKNAME+''),Color00ddfF;
DRAWTEXT(cross(var4,var5) and cross(KK,DD) and C>O,10,'底共振'),COLOR00FFFF;
DRAWTEXT(cross(var5,var4) and cross(DD,KK) and C<O,10,'顶共振'),COLOR00FF00;
VERTLINE(cross(var4,var5) and cross(KK,DD)),COLOR00FFFF,LINEDOT;
VERTLINE(cross(var5,var4) and cross(DD,KK)),COLOR00FF00,LINEDOT;
============================================
RV:=(CLOSE-LLV(LOW,90))/(HHV(HIGH,90)-LLV(LOW,90))*100;
var4:=SMA(RV,5,1);
var5:=SMA(var4,3,1);
xg1:cross(var5,var4) and var5>30;
=============================================
RG:=(CLOSE-LLV(LOW,6))/(HHV(HIGH,6)-LLV(LOW,6))*100;
RV:=(CLOSE-LLV(LOW,90))/(HHV(HIGH,90)-LLV(LOW,90))*100;
var4:=SMA(RV,5,1);
var5:=SMA(var4,3,1);
KK:=SMA(RG,3,1);
DD:=SMA(KK,3,1);
底:cross(var4,var5) and cross(KK,DD) and C>O;
==============================================
RG:=(CLOSE-LLV(LOW,6))/(HHV(HIGH,6)-LLV(LOW,6))*100;
RV:=(CLOSE-LLV(LOW,90))/(HHV(HIGH,90)-LLV(LOW,90))*100;
var4:=SMA(RV,5,1);
var5:=SMA(var4,3,1);
KK:=SMA(RG,3,1);
DD:=SMA(KK,3,1);
顶:cross(var5,var4) and cross(DD,KK) and C<O;