文华VOL成交量-均线共振组合幅图指标公式源码:
VOLUME:VOL,VOLSTICK;
MA3:MA(VOL,3);
MA5:MA(VOL,5);
MA8:MA(VOL,8);
MA10:MA(VOL,10);
MA15:MA(VOL,15);
MA20:MA(VOL,20);
MA30:MA(VOL,30);
MA60:MA(VOL,60);
MA120:MA(VOL,120);
MA250:MA(VOL,250);
WMA3:=MA(VOL,3),NODRAW;
WMA5:=MA(VOL,5),NODRAW;
WMA8:=MA(VOL,8),NODRAW;
WMA10:=MA(VOL,10),NODRAW;
WMA15:=MA(VOL,15),NODRAW;
WMA20:=MA(VOL,20),NODRAW;
WMA30:=MA(VOL,30),NODRAW;
WMA60:=MA(VOL,60),NODRAW;
WMA120:=MA(VOL,120),NODRAW;
WMA250:=MA(VOL,250),NODRAW;
JD3:=ATAN((WMA3/REF(WMA3,1)-1)*100)*180/3.1416,NODRAW;
JD5:=ATAN((WMA5/REF(WMA5,1)-1)*100)*180/3.1416,NODRAW;
JD8:=ATAN((WMA8/REF(WMA8,1)-1)*100)*180/3.1416,NODRAW;
JD10:=ATAN((WMA10/REF(WMA10,1)-1)*100)*180/3.1416,NODRAW;
JD15:=ATAN((WMA15/REF(WMA15,1)-1)*100)*180/3.1416,NODRAW;
JD20:=ATAN((WMA20/REF(WMA20,1)-1)*100)*180/3.1416,NODRAW;
JD30:=ATAN((WMA30/REF(WMA30,1)-1)*100)*180/3.1416,NODRAW;
JD60:=ATAN((WMA60/REF(WMA60,1)-1)*100)*180/3.1416,NODRAW;
JD120:=ATAN((WMA120/REF(WMA120,1)-1)*100)*180/3.1416,NODRAW;
JD250:=ATAN((WMA250/REF(WMA250,1)-1)*100)*180/3.1416,NODRAW;
打分3:=IF(JD3>0,1,IF(JD3<0,0,0)),NODRAW;
打分5:=IF(JD5>0,1,IF(JD5<0,0,0)),NODRAW;
打分8:=IF(JD8>0,1,IF(JD8<0,0,0)),NODRAW;
打分10:=IF(JD10>0,1,IF(JD10<0,0,0)),NODRAW;
打分15:=IF(JD15>0,1,IF(JD15<0,0,0)),NODRAW;
打分20:=IF(JD20>0,1,IF(JD20<0,0,0)),NODRAW;
打分30:=IF(JD30>0,1,IF(JD30<0,0,0)),NODRAW;
打分60:=IF(JD60>0,1,IF(JD60<0,0,0)),NODRAW;
打分120:=IF(JD120>0,1,IF(JD120<0,0,0)),NODRAW;
打分250:=IF(JD250>0,1,IF(JD250<0,0,0)),NODRAW,COLORBLUE;
均线总得分:打分3+打分5+打分8+打分10+打分15+打分20+打分30+打分60+打分120+打分250,COLORYELLOW,NODRAW;
评分:=打分3+打分5+打分8+打分10+打分15+打分20+打分30+打分60+打分120+打分250,NODRAW;
SUMSCORE:=SUM(评分,1);
DRAWNUMBER1(SUMSCORE>=0,V*1.01,SUMSCORE,0),COLORRED;
DRAWNUMBER1(SUMSCORE<0,V*0.09,SUMSCORE,0),COLORGREEN;