股资源-股票学习站-学炒股-股票课程-炒股教程-分析选股指标-入门基础知识

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
    上一主题 下一主题

    [通达信] 「指标」放量买入选股 (源码 附图)

     
        [-----复制链接-----]

    22万

    主题

    22万

    帖子

    14

    精华

    积分
    11040
    楼主
    2024-4-1 09:26:18
    【资料名称】:放量买入选股 (源码 附图)介绍
    【资料描述】:

    放量买入选股 (源码 附图)

    放量买入选股源码

    用法:黄托底放量买入。

    B1:=MA(C,1);
    B2:=SMA(SMA(SMA(B1,2,1),2,1),2,1) ;
    SMA2:=MA(B2,3) ;
    停损下限:IF(LLV(MA(B2,7),3)<B2,LLV(MA(B2,7),3),B2) ;
    FILLRGN(b2,sma2,b2>sma2,RGB(255,255,0),b2<SMA2,RGB(0,255,0));
    snakeA:HHV(MA(B2,1),13),coloryellow;
    Var1:=(2*CLOSE+HIGH+LOW)/4;
    Var2:=MA(Var1,7);
    Var3:=Var2-MA(Var1,7/2)<0;
    Var4:=Var2-MA(Var1,7/2)>0;
    Var5:=BARSLAST(Var3);
    Var6:=0-BARSLAST(Var4);
    Var7:=IF(Var3<=0,Var5,Var6);
    Var11:=(CLOSE*2+HIGH+LOW)/4;
    Var21:=EMA(Var11,13)-EMA(Var11,34);
    Var31:=EMA(Var21,5);
    VAR2:=((CLOSE > REF(CLOSE,1)) AND (CLOSE > REF(CLOSE,2))) ;
    VAR3:=((REF(VAR2,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
    VAR4:=((REF(VAR3,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
    VAR5:=((REF(VAR4,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
    VAR6:=((REF(VAR5,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
    VAR7:=((REF(VAR6,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
    VAR8:=((REF(VAR7,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
    VAR9:=((REF(VAR8,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
    VARA:=((REF(VAR9,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
    VARB:=((REF(VARA,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
    VARC:=((REF(VARB,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
    VARD:=((REF(VARC,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
    VARE:=((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,2)));
    VARF:=((REF(VARE,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
    VAR10:=((REF(VARF,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
    VAR11:=((REF(VAR10,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
    VAR12:=((REF(VAR11,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
    VAR13:=((REF(VAR12,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
    VAR14:=((REF(VAR13,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
    VAR15:=((REF(VAR14,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
    VAR16:=((REF(VAR15,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
    VAR17:=((REF(VAR16,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
    VAR18:=((REF(VAR17,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));
    VAR19:=((REF(VAR18,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));
    ac:=AMOUNT/(VOL);
    yy:=MA(ac,13);
    lll:=(C-yy)/yy*100;
    MIDc := MA(CLOSE,22);
    UPPERc:= MIDc + 2*STD(C,22);
    LOWERc:= MIDc - 2*STD(C,22);
    bba:=(C-lowerc)/(upperc-lowerc);
    bbc:=FORCAST(bba,3);
    LIFENGcyc:=(REF(lll,1)<-15 AND REF(bba,1)<0 AND lll>REF(lll,1)) ;

    xg:(REF((((((((((((VARE OR VARF) OR VAR10) OR VAR11) OR VAR12) OR VAR13) OR VAR14) OR VAR15) OR VAR16) OR VAR17) OR VAR18) OR VAR19),1) AND VAR2) OR (LIFENGcyc>0);





    gd7908


    【下载地址隐藏】:                    点:回复可见地址
    游客,如果您要查看本帖隐藏内容请回复






    上一篇:「指标」黄帝买 蓝顶卖 比较有参考价值的公式
    下一篇:「指标」神奇均线 (主图指标)
    回复

    举报

    QQ|

    GMT+8, 2024-11-10 23:04

    快速回复 返回顶部 返回列表