把虚拟量指标改成大智慧
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个
编写要求:
源码:DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(CON2STR(5,0),'均线指标 本指标用法【右键选择指标用法】 趋势向上操作切记')),COLORYELLOW;虚拟VOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,AMOUNT*240/FROMOPEN,DRAWNULL),NODRAW;STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,虚拟VOL,0,-1,-1){,NODRAW}LINETHICK3,COLORWHITE;加速:=IF(100*WINNER(CLOSE*0.95)>50 AND COST(85)0,(EMA(EMA(CLOSE,9),9)-REF(EMA(EMA(CLOSE,9),9),1))/REF(EMA(EMA(CLOSE,9),9),1)*1000,0),COLORFF00FF,NODRAW;成交量:AMOUNT,VOLSTICK;换手:VOL/CAPITAL*100,NODRAW;量能饱和:(AMOUNT/CLOSE)/HHV((AMOUNT/CLOSE),26)*100,COLORLIMAGENTA,NODRAW;VAR1:=AMOUNT/((HIGH-LOW)*2-ABS(CLOSE-OPEN));主动买盘:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE0.01 AND "KDJ.J"<0),成交量*5,0),COLORMAGENTA,LINETHICK2;
解答:
虚拟VOL:=IF(BARSTATUS=2 AND DATATYPE=8,REF(MA(AMOUNT,5),1)*DYNAINFO(17),AMOUNT);
STICKLINE(BARSTATUS=2 AND DATATYPE=8,虚拟VOL,AMOUNT,8,1),COLORWHITE,DOTLINE;
加速:=IF(100*WINNER(CLOSE*0.95)>50 AND COST(85)<CLOSE AND
(EMA(EMA(CLOSE,9),9)-REF(EMA(EMA(CLOSE,9),9),1))/REF(EMA(EMA(CLOSE,9),9),1)*1000>0,
(EMA(EMA(CLOSE,9),9)-REF(EMA(EMA(CLOSE,9),9),1))/REF(EMA(EMA(CLOSE,9),9),1)*1000,0);
成交量:AMOUNT,VOLSTICK;
换手:VOL/CAPITAL*100,LINETHICK0;
量能饱和:(AMOUNT/CLOSE)/HHV((AMOUNT/CLOSE),26)*100,COLOR8000FF,LINETHICK0;
VAR1:=AMOUNT/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主动买盘:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),AMOUNT/2));
STICKLINE(量能饱和=100,主动买盘,0,3,0),COLORMAGENTA;
MA(AMOUNT,5),COLORMAGENTA, LINETHICK1;
MA(AMOUNT,40),COLORWHITE, LINETHICK1;
MA(AMOUNT,135),COLORYELLOW, LINETHICK2;
IF(CROSS(0.9,1/VOL*1000>0.01 AND "KDJ.J"<0),成交量*5,0),COLORMAGENTA,LINETHICK2;
选股票看什么指标最好 >
股票指标网
精彩评论