红线和绿线留着,虚线去掉

    菜鸟 发表于 2020-06-20 20:16 ・973次浏览 1条跟帖 赢顺 wh6 回复

    N:=10;
    AAA:=(3*C+H+L+O)/6;
    红:(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)+4*REF(AAA,4)+3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/36-2*MINPRICE,DOT,COLORYELLOW;
    
    VAR2:=(HHV(红,2)+HHV(红,4)+HHV(红,8))/3-3*MINPRICE,COLORMAGENTA,DOT;
    VAR3:=(LLV(红,2)+LLV(红,4)+LLV(红,8))/3-3*MINPRICE,COLORMAGENTA,DOT;
    VAR6:=(LLV(红,2)+LLV(红,4)+LLV(红,8))/3-3*MINPRICE,COLORMAGENTA,DOT;
    FILLRGN(红<VAR6,VAR6,红,RGB(250,250,0));
    
    IF((红 <= REF(红,1)),红+14*MINPRICE,NULL)+MINPRICE,COLORGREEN,LINETHICK2;
    IF((红 >= REF(红,1)),红+11*MINPRICE,NULL)+MINPRICE,COLORRED,LINETHICK2;
    

    文华财经 沙发

    参考:
    
    N:=10;
    AAA:=(3*C+H+L+O)/6;
    红:=(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)+4*REF(AAA,4)+3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/36-2*MINPRICE,DOT,COLORYELLOW;
    VAR2:=(HHV(红,2)+HHV(红,4)+HHV(红,8))/3-3*MINPRICE,COLORMAGENTA,DOT;
    VAR3:=(LLV(红,2)+LLV(红,4)+LLV(红,8))/3-3*MINPRICE,COLORMAGENTA,DOT;
    VAR6:=(LLV(红,2)+LLV(红,4)+LLV(红,8))/3-3*MINPRICE,COLORMAGENTA,DOT;
    FILLRGN(红<VAR6,VAR6,红,RGB(250,250,0));
    IF((红 <= REF(红,1)),红+14*MINPRICE,NULL)+MINPRICE,COLORGREEN,LINETHICK2;
    IF((红 >= REF(红,1)),红+11*MINPRICE,NULL)+MINPRICE,COLORRED,LINETHICK2;  
    回复

    本版积分规则

    发布新内容
    请关注微信公众号,获取最新指标公式
    加入收藏 我要分享
    分享到论坛或者博客

    复制
    热门指标策略
    快速回复 返回顶部 返回列表