当前位置:→ 公式网 > 公式解答 > 正文 

    请老师改公式由通达信的BSQJ买卖区间改大智慧买卖区间选股公式

    通达信公式原码:买线:=EMA(C,2);
    卖线:=EMA(SLOPE(C,21)*20+C,42);
    STICKLINE(买线>=卖线,REFDATE(HHV(H,0),DATE),REFDATE(LLV(L,0),DATE),6,0),COLOR001050;
    STICKLINE(买线<卖线,REFDATE(HHV(H,0),DATE),REFDATE(LLV(L,0),DATE),6,0),COLOR404050;
    DRAWKLINE(H,O,L,C);
    指导:=EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2);
    界:=MA(CLOSE,27);
    B买:IF(CROSS(指导,界) OR CROSS(买线,卖线),C,DRAWNULL),COLORMAGENTA,NODRAW;
    持仓:IF(买线>=卖线,C,DRAWNULL),COLORRED,NODRAW;
    S卖:IF(CROSS(界,指导) OR CROSS(卖线,买线),C,DRAWNULL),COLORLIGRAY,NODRAW;
    空仓:IF(买线<卖线,C,DRAWNULL),COLORGREEN,NODRAW;
    DRAWICON(CROSS(买线,卖线),L,1);
    DRAWICON(CROSS(卖线,买线),H,2);
    求助老师改一个公式由通达信的BSQJ买卖区间改为大智慧买卖区间选股公式
     

    {公式在线提供:www.gszx.com.cn}解答:

    买线:=EMA(C,2);
    卖线:=EMA(SLOPE(C,21)*20+C,42);
    STICKLINE(买线>=卖线,HHVALL(H),LLVALL(L),12,0),COLOR001050;
    STICKLINE(买线<卖线,HHVALL(H),LLVALL(L),12,0),COLOR404050;
    STICKLINE(CLOSE,CLOSE ,OPEN,9,0 ),COLOR000000;
    STICKLINE(CLOSE<OPEN ,l ,h,0,0 ),COLOR00FF00;
    STICKLINE(CLOSE<OPEN,CLOSE ,OPEN,8,0 ),COLOR006600;
    STICKLINE(CLOSE<OPEN,CLOSE ,OPEN,7,0 ),COLOR009900;
    STICKLINE(CLOSE<OPEN,CLOSE ,OPEN,5,0 ),COLOR00BB00;
    STICKLINE(CLOSE<OPEN,CLOSE ,OPEN,3,0 ),COLOR00DD00;
    STICKLINE(CLOSE<OPEN,CLOSE ,OPEN,1,0 ),COLOR00FF00;
    STICKLINE(CLOSE>=OPEN,l,h,0,0) ,COLORFFBBFF;
    STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,8,0) ,COLORFF00FF;
    STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,7,0) ,COLORFF22FF;
    STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,5,0) ,COLORFF66FF;
    STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,3,0) ,COLORFF99FF;
    STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,1,0) ,COLORFFBBFF;
    指导:=EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2);
    界:=MA(CLOSE,27);
    B买:=IF(CROSS(指导,界) OR CROSS(买线,卖线),C,0);
    持仓:=IF(买线>=卖线,C,0);
    S卖:=IF(CROSS(界,指导) OR CROSS(卖线,买线),C,0);
    空仓:=IF(买线<卖线,C,0);
    DRAWICON(CROSS(买线,卖线),L,1);
    DRAWICON(CROSS(卖线,买线),H,2);

     

    互动内容:
    昵称: 验证码:验证码 

关于我们 - 联系我们 - 广告合作 - 下载声明 - 网站帮助 - 友情链接 - 网站地图 - RSS订阅 - TOP
湘ICP备09016573号-3 增值电信业务经营ICP许可证:湘B2-20210269 湘公网安备43108102000039号
Copyright © 铭网科技,All Rights Reserved.
股票公式,股票指标,股票软件,股票知识