• 网站首页
  • 股票知识
  • 股票公式
  • 散户炒股
  • 问答百科
  • 缠中说禅
  • 概念股
  • [股票基础知识]同花顺源码:擒牛控鹤三线粘合,抄底ABC,预测抄底

    发布时间: 2022-05-04 13:50 首页:股票一点通>股票公式>同花顺公式> 阅读()
    1、擒牛控鹤三线粘合,三线开花红涨绿卖抄底逃顶

    A:=MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),1));

    B:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1);
    分水岭:=IF(MA(CLOSE,17)操作线:=分水岭-(EMA(C,3)-分水岭),LINETHICK1,coloryellow;
    PM:=MA(C,5),colorwhite;
    S:=(PM>操作线);
    DD:=分水岭VAR1:=MA(CLOSE,6);
    VAR2:=MA(CLOSE,21);
    VAR3:=MA(CLOSE,89);
    VAR4:=MA(CLOSE,181);
    VARB:=SUM(CLOSE*VOL*100,28)/SUM(VOL*100,28);
    VARC:=INTPART(VARB*100)/100;
    VARD:=EMA(CLOSE,5)-EMA(CLOSE,10);
    VARE:=EMA(VARD,9);
    VARF:=(-100)*(HHV(CLOSE,5)-CLOSE)/(HHV(CLOSE,5)-LLV(LOW,5))+100;
    VAR10:=(-100)*(HHV(CLOSE,10)-CLOSE)/(HHV(CLOSE,10)-LLV(LOW,10))+100;
    VAR11:=(-100)*(HHV(CLOSE,20)-CLOSE)/(HHV(CLOSE,20)-LLV(LOW,20))+100;
    VAR12:=(-100)*(HHV(CLOSE,30)-CLOSE)/(HHV(CLOSE,30)-LLV(LOW,30))+100;
    VAR13:=REF(VARE,1);
    VAR14:=VARE;
    VAR15:=VAR14-VAR13;
    VAR16:=REF(VARD,1);
    VAR17:=VARD;
    VAR18:=VAR17-VAR16;
    VAR19:=OPEN;
    VAR1A:=CLOSE;
    白马剑:=IF(VAR19<=VAR1 AND VAR19<=VAR2 AND VAR19<=VAR3 AND VAR1A>=VAR1 AND VAR1A>=VARC AND VAR15>0 AND VAR18>0,0.8,0);
    黑马剑:=IF(VAR19<=VAR1 AND VAR19<=VAR2 AND VAR19<=VAR3 AND VAR1A>=VAR1 AND VAR1A>=VARC AND VAR15>0 AND VAR18>0,0.8,0);
    白马黑马共振:=白马剑 AND 黑马剑;
    MA1:=EMA(CLOSE,6);
    MA2:=EMA(CLOSE,21);
    MA3:=EMA(CLOSE,89);
    MA4:=EMA(CLOSE,181);
    三线粘合剑:CROSS(分水岭,操作线) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 AND CROSS(MA1,MA4) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 AND CROSS(MA2,MA3) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 OR CROSS(MA1,MA3) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018;
    BIAS1:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
    BIAS2:=HHV((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100,200);
    M1:=BIAS1=BIAS2 ;
    M2:=V>MA(V,5) ;
    M3:=REF(BIAS1,1)追魂剑:=IF(M1 AND M2 AND M3,0.60,0),COLORFFCCCC,LINETHICK2;
    C1:=HHV(C,115);
    C2:=LLV(C,115);
    C3:=C1-C2;
    C4:=MA((C-C2)/C3-0.5,14)*20;
    HH:=REF(HHV(C,66),2);
    BUY1:=CROSS(C,HH) AND (HHV(C,110)/LLV(C,110)-1)*100<45 AND C4<5.666;
    SIGN1:=LLV(C4,35)<-8.9 AND CROSS(C4,-7.815) AND C4<-1.2;
    抄底:=1*FILTER(SIGN1,41);




    2、抄底ABC

    趋势线:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3),colorred;

    强弱线:30,colorwhite;
    JBS:=C/REF(C,1)>1.05 AND C=H AND BETWEEN(FORCAST(V,4),0.2*FORCAST(V,12),2.1*FORCAST(V,12));
    介必升:=FILTER(JBS,28)*100;
    VAR1:=IF((C/REF(C,1)>1.05 AND H/C<1.01 AND C>REF(C,1)),91,0);
    VAR2:=FILTER((VAR1>90),45) AND FILTER((VAR1>90),35) AND 介必升>0;
    老介抄底:=VAR2 AND COUNT(VAR2,60)=1;
    STICKLINE(老介抄底 ,75,66,1,0),colorred;
    STICKLINE(老介抄底 ,66,57,2,0),colormagenta;
    STICKLINE(老介抄底 ,57,48,3,0),colorgreen;
    STICKLINE(老介抄底 ,48,39,4,0),colorblue;
    STICKLINE(老介抄底 ,30,21,6,0),colorbrown;
    STICKLINE(老介抄底 ,39,30,5,0),colorcyan;
    STICKLINE(老介抄底 ,21,12,7,0),coloryellow;
    STICKLINE(老介抄底 ,12,3,8,0),colorwhite;
    DRAWTEXT(老介抄底,90,'老介抄底'),colorred;
    DRAWICON(老介抄底,80,13);
    {DRAWGBK(CLOSE>0,STRIP(RGB(0,150,130),RGB(0,0,0),0));};



    3、预测抄底

    指标自带底部提示,结合彩色MACD寻找买入机会。柱子由蓝变黄买入机会,注意仓位控制。( 顶尖财经 股票学院: )

    VAR1:=(MA(CLOSE,80)-MA(CLOSE,13)/3);
    VAR2:=( MA((CLOSE-VAR1)/VAR1,1));
    买点1: IF(CROSS(VAR2,0) AND LOW/REF(HIGH,1)<1.012,20,0);
    最佳点:IF(COUNT(VAR2>REF(VAR2,1),3)=3 AND
    COUNT(VAR2<0,10)=10 AND REF(VAR2,3)=LLV(VAR2,10),60,0),colorred,LINETHICK2;
    买点2: IF(REF(VAR2,2)=LLV(VAR2,20) AND
    REF(VAR2,2)<0.071 AND REF(VAR2,2)NOT(REF(LOW,1)>REF(HIGH,2) AND LOW>REF(HIGH,1)) AND
    CLOSE>REF(CLOSE,1),20,0);
    MMA:=EMA(VAR2,12)*0.7;
    MMB:=EMA(VAR2,3);
    快到底:IF(LLV(MMB-MMA,12)>0,0,-30),LINETHICK2,colorgreen;
    底初选股:IF( CROSS(0, LLV(MMB-MMA,12)),10,0),LINETHICK0;
    DIFF:( EMA(CLOSE,12) - EMA(CLOSE,26))*100,colorred;
    DEA: EMA(DIFF,9),COLORFFFFFF,LINETHICK2;
    MACD:= 2*(DIFF-DEA);
    {PARTLINE(DIFF,DIFF>=REF(DIFF,1),RGB(255,0,0),
    DIFF抄底:IF(快到底<0 AND CROSS(MACD,0),30,0);
    STICKLINE(MACD0,0,MACD,2,0),colorgreen;
    STICKLINE(MACDSTICKLINE(MACD>REF(MACD,1)AND MACD,0,MACD,2,0),coloryellow;
    STICKLINE(MACD>REF(MACD,1)AND MACD>0,0,MACD,3,0),colormagenta;



    特别声明:文章内容仅供参考,不造成任何投资建议。投资者据此操作,风险自担。

    网站首页-股票知识--股票公式-散户炒股-问答百科--缠中说禅-概念股

    未经本站书面特别授权,请勿转载或建立镜像

    Copyright @ 2020 All Rights Reserved.版权所有 XMl地图
    Baidu
    map