量价关系判断出有无主力控判


    量价关系判断出有无主力控判——通达信全网唯一原创附图指标

    源码附上:CXHZB2:=CLOSE;
    CXHZB3:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
    CXHZB4:=IF(CAPITAL=0,CXHZB3*(CXHZB2-MIN(CLOSE,OPEN)),CXHZB3*IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW))*0.5;
    CXHZB5:=IF(CAPITAL=0,CXHZB3*(MIN(OPEN,CLOSE)-LOW),CXHZB3*IF(HIGH=LOW,1,CXHZB2-MIN(CLOSE,OPEN)))*1.5;
    CXHZB6:=IF(CAPITAL=0,CXHZB3*(HIGH-MAX(OPEN,CLOSE)),CXHZB3*IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE)))*0.5;
    CXHZB7:=IF(CAPITAL=0,CXHZB3*(MAX(CLOSE,OPEN)-CXHZB2),CXHZB3*IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-CXHZB2))*1.5;
    CXHZB8:=(CXHZB6+CXHZB5)*2.5;
    CXHZB9:=(CXHZB4+CXHZB7)*2.5;
    CXHZB10:=SUM(CXHZB8,10)-SUM(CXHZB9,10);
    CXHZB11:=35;
    CXHZB12:=35;
    CXHZB13:=3;
    CXHZB14:=(HHV(CXHZB10,CXHZB11)-CLOSE)/(HHV(CXHZB10,CXHZB11)-LLV(CXHZB10,CXHZB11))*100-CXHZB12;
    CXHZB15:=SMA(CXHZB14,CXHZB11,1)+100;
    CXHZB16:=(CXHZB10-LLV(CXHZB10,CXHZB11))/(HHV(CXHZB10,CXHZB11)-LLV(CXHZB10,CXHZB11))*100;
    CXHZB17:=SMA(CXHZB16,3,1);
    CXHZB18:=SMA(CXHZB17,3,1)+100;
    CXHZB19:=CXHZB18-CXHZB15;
    CXHZB20:=IF(CXHZB19>CXHZB13,CXHZB19-CXHZB13,0);
    量控程度:CXHZB20,COLORCYAN;
    STICKLINE(CXHZB20>REF(CXHZB20,1),REF(CXHZB20,1),CXHZB20,3,0),COLORYELLOW;
    STICKLINE(CXHZB20>REF(CXHZB20,1),REF(CXHZB20,1),CXHZB20,2,0),COLOR0EBFF3;
    CXHZB21:=(HHV(HIGH,CXHZB11)-CLOSE)/(HHV(HIGH,CXHZB11)-LLV(LOW,CXHZB11))*100-CXHZB12;
    CXHZB22:=SMA(CXHZB21,CXHZB11,1)+100;
    CXHZB23:=(CLOSE-LLV(LOW,CXHZB11))/(HHV(HIGH,CXHZB11)-LLV(LOW,CXHZB11))*100;
    CXHZB24:=SMA(CXHZB23,3,1);
    CXHZB25:=SMA(CXHZB24,3,1)+100;
    CXHZB26:=CXHZB25-CXHZB22;
    CXHZB27:=IF(CXHZB26>CXHZB13,CXHZB26-CXHZB13,0);
    价控程度:CXHZB27,COLORLIRED;
    DRAWTEXT_FIX(1,0.78,0,0,),COLORRED;
    STICKLINE(CXHZB27>REF(CXHZB27,1),REF(CXHZB27,1),CXHZB27,3,0),COLOR262CFD;
    STICKLINE(CXHZB27>REF(CXHZB27,1),REF(CXHZB27,1),CXHZB27,2,0),COLORRED;
    程序化指标制作:IF(CURRBARSCOUNT>0,50,DRAWNULL),DOTLINE,COLORGRAY;
    STICKLINE(CXHZB27>CXHZB20 AND CXHZB27>REF(CXHZB27,1),REF(CXHZB27,1),CXHZB27,3,0),COLORMAGENTA;

    源码创作不易,喜欢的话请多多点赞关注转发,是我创作的动力,谢谢大家的支持 !

    2020-11-22 01:29:29
    (0)

    相关推荐