将成本动向指标写一选股公式
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个
编写要求:
请将连续出现三个红柱的股选出来。源码:{手动输入参数:NUM(1,999,13),SHORT(1,999,3),LONG(1,999,5)}ZF:=H-L;CB:=AMOUNT/VOL/100;DV1:=IF(ZF>0 AND C>CB, ((H-C)/(H-CB))*((H-C)/(H-CB))*((H-CB)/ZF*VOL) ,0);UV1:=IF(ZF>0 AND C>CB, VOL-DV1 ,0);UV2:=IF(ZF>0 AND C0 AND CREF(C,1), VOL,0);DV3:=IF(ZF=0 AND C[0,0,CBX,3,0),COLOR041CEC;STICKLINE(CBX>0,0,CBX,3,0),COLOR0F26FB;STICKLINE(CBX>0,0,CBX,2,0),COLOR2439FB;STICKLINE(CBX>0,0,CBX,1,0),COLOR485AFB;STICKLINE(CBX>0,0,CBX,0,0),COLOR6473FB;STICKLINE(CBX<0,0,CBX,3,0),COLORCD690E;STICKLINE(CBX<0,0,CBX,3,0),COLOREF7B12;STICKLINE(CBX<0,0,CBX,2,0),COLORF08728;STICKLINE(CBX<0,0,CBX,1,0),COLORF29540;STICKLINE(CBX<0,0,CBX,0,0),COLORF5A963;CBX1:EMA(SUM(CBX,NUM),2),COLORMAGENTA;CBX2:EMA(CBX1,SHORT),COLORYELLOW;CBX3:EMA(CBX1,LONG),COLORGREEN;主力持仓:EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),NODRAW;主力筹码集中度:WINNER(C)*100,NODRAW;散筹筹码集中度:(WINNER(C*1.1)-WINNER(C*0.9))*100,NODRAW;获利盘%:WINNER(CLOSE)*100,NODRAW;]
解答:
ZF:=H-L;
CB:=AMOUNT/VOL/100;
DV1:=IF(ZF>0 AND C>CB, ((H-C)/(H-CB))*((H-C)/(H-CB))*((H-CB)/ZF*VOL) ,0);
UV1:=IF(ZF>0 AND C>CB, VOL-DV1 ,0);
UV2:=IF(ZF>0 AND C<CB, ((C-L)/(CB-L))*((C-L)/(CB-L))*((CB-L)/ZF*VOL) ,0);
DV2:=IF(ZF>0 AND C<CB, VOL-UV2 ,0);
UV3:=IF(ZF=0 AND C>REF(C,1), VOL,0);
DV3:=IF(ZF=0 AND C<REF(C,1), VOL,0);
UV:=UV1+UV2+UV3;
DV:=DV1+DV2+DV3;
CBX:((UV-DV)/VOL)/CAPITAL*1000000,LINETHICK0;
BARSLASTCOUNT(CBX>0)=3;
选股票看什么指标最好 >
股票指标网
精彩评论