• 网站首页
  • 股票知识
  • 股票公式
  • 散户炒股
  • 问答百科
  • 缠中说禅
  • 概念股
  • 【股票入门】同花顺源码:波段222,提前MACD,刀哥小黑马

    发布时间: 2020-04-11 11:18 首页:股票一点通>股票公式>同花顺公式> 阅读()
    波段222:

    BA1:=((((HHV(HIGH,15) - CLOSE) / (HHV(HIGH,15) - LLV(LOW,15))) * 100) - 70);

    BA2:=(SMA(BA1,9,1) + 100);
    BA3:=(SMA(BA2,3,1) + 100);
    BA4:=(BA3 - BA2);
    方向线:IF((BA4 > 60),(BA4 - 60),0),coloryellow;
    关注线:36,DOTLINE,colorgreen;
    强线:40,DOTLINE,colorred;
    杀线:47,DOTLINE,colorgray;
    BT1:=((((HHV(HIGH,60) - CLOSE) / (HHV(HIGH,60) - LLV(LOW,60))) * 100) - 70);
    BT2:=(SMA(BT1,9,1) + 100);
    BT3:=(SMA(BT2,3,1) + 100);
    BT4:=(BT3 - BT2);
    趋势线:IF((BT4> 60),(BT4 - 60),0),Color9932CD;
    DRAWTEXT(CROSS(方向线,关注线),35,'准备'),colorred;
    DRAWTEXT(CROSS(方向线,强线),42,'进攻'),Color9932CD;
    STICKLINE(方向线>强线,方向线,强线,1,0,0),coloryellow;



    提前MACD( 顶尖财经 股票学院: ):

    红K:=IF(O
    绿K:=IF(O>C,(O-C)/REF(C,1),0);
    红绿差:=SUM(红K-绿K,5);
    KC:=0.382*(H+L-O-C)+0.382*O+0.618*C+0.618*IF(C<200,AMOUNT/VOL/100-C,(H+L-O-C));
    KC1:=MA(KC-REF(KC,1),5);
    DIF:EMA(KC1,12)-EMA(KC1,26);
    DEA:=EMA(DIF,9);
    完整KC:=KC+红绿差;
    KKC1:=MA(完整KC-REF(完整KC,1),5);
    KDIF:=EMA(KKC1,12)-EMA(KKC1,26);
    KDEA:EMA(KDIF,9);
    MACD:(KDIF-KDEA)*2,COLORSTICK;
    DRAWICON(CROSS(DIF,KDEA),0,1);



    刀哥小黑马:

    VAR3:=LLV(HIGH,240);

    VAR4:=100*(CLOSE-VAR3);
    VAR5:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100;
    VAR6:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530))*100;
    VAR8:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100;
    VAR9:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*100;
    VARA:=BARSCOUNT(CLOSE);
    VARB:=VAR8<20 AND VAR9<23 AND VARA>35;
    VARC:=VARB AND COUNT(VARB,1)=1;
    VARD:=EMA(CLOSE,21)-EMA(CLOSE,8);
    VARE:=EMA(VARD,5);
    VARF:=TROUGHBARS(3,6,1)<4 AND CROSS(VARD,VARE);
    VAR10:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);
    VAR11:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);
    VAR12:=ZIG(3,6)=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);
    VAR13:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3);
    VAR14:=ZIG(3,22)=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3);
    VAR15:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3);
    VAR16:=ZIG(3,51)=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3);
    VAR17:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3);
    VAR18:=ZIG(3,72)=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3);
    VAR19:=EMA(CLOSE,2)-EMA(CLOSE,150);
    VAR1A:=EMA(VAR19,100);
    VAR1B:=2*(VAR19-VAR1A);
    VAR1C:=POW(VAR1B,3)*0.1+POW(VAR1B,1);
    VAR1D:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));
    VAR1E:=EMA(VAR1D*0.97,3);
    VAR1F:=(HIGH+LOW+CLOSE)/3;
    VAR20:=(VAR1F-MA(VAR1F,14))/(0.015*AVEDEV(VAR1F,14));
    VAR21:=CROSS(VAR1E,LOW);
    选股买点: VAR10, coloryellow;
    组合买: (VAR11+VAR13+VAR15+VAR17), colorred;
    组合卖: (VAR12+VAR14+VAR16+VAR18), colorgreen;
    黑马信号介入点: 选股买点 AND VARF AND VARC AND VAR21 AND VAR4<0 AND VAR5<2 AND VAR6=0, COLORFFFF99;
    DRAWTEXT(VAR13,0.6,'●'), colorred;
    DRAWICON(组合买,组合买,1);
    DRAWICON(组合卖,组合卖,9);
    DRAWTEXT(黑马信号介入点>0,4.5,'●我的黑马介入点'), colorred;
    DRAWICON(选股买点>0,4.2,1);
    DRAWTEXT(选股买点 AND VARF AND VARC,2.8,' 30%下单莫错过!'), colormagenta;
    DRAWTEXT(VAR18,3,'空仓'), colorgreen;
    DRAWTEXT(VAR20<-110 AND 选股买点>0,2,'选股买点'), coloryellow;
    DRAWTEXT(VAR17,1.3,'发现黑马'), COLORFF6600;
    DRAWTEXT(选股买点 AND VAR20<-100 AND VARF AND VARC>0,4.1,'★组合5分钟线选股思路获利5%以上'), colorred;
    突破21日:C>MA(C,21) AND REF(C,0.5)突破55日:C>MA(C,55) AND REF(C,1)突破144日:C>MA(C,144) AND REF(C,1.5)

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

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

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

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