• 网站首页
  • 股票知识
  • 股票公式
  • 散户炒股
  • 问答百科
  • 缠中说禅
  • 概念股
  • 【炒股开户】同花顺源码:超准出击,第一波段,ZTZB

    发布时间: 2022-05-04 12:50 首页:股票一点通>股票公式>同花顺公式> 阅读()
    1、超准出击

    VAR2:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
    VAR3:=SMA(SMA(VAR2,3,1),3,1)/28.57;
    VAR4:=EMA(VAR3,5);
    VAR5:=3*VAR3-2*VAR4;
    AA:=CROSS(VAR5,VAR3) AND VAR3<2.1 AND C>O;
    STICKLINE(AA,-10,0,15,0),coloryellow;
    STICKLINE(AA,0,10,12,0),colorred;
    STICKLINE(AA,10,20,10,0),colorred;
    STICKLINE(AA,20,30,8,0),COLORFF8855;
    STICKLINE(AA,30,40,6,0),COLORD9D919;
    STICKLINE(AA,53,55,6,1),COLORFF6EC7;
    STICKLINE(AA,57,59,6,1),COLORFF6EC7;
    STICKLINE(AA,65,67,6,1),COLORFF6EC7;
    STICKLINE(AA,69,75,6,1),COLORFFCCCC;
    DRAWTEXT(AA,85,'出击'),colorred;
    〖指标代码分享〗:STRLEFT('顶尖财经网',100),colorwhite;


    2、第一波段

    VAR0:=SMA((CLOSE-LLV(LOW,19))/(HHV(HIGH,19)-LLV(LOW,19))*100,5,1);

    波段线:EMA(VAR0,3),NODRAW;
    VAR1:=EMA(波段线,2);
    VAR2:=EMA(VAR1,2);
    VAR3:=CROSS(VAR1,VAR2);
    VAR4:=CROSS(VAR2,VAR1);
    STICKLINE(波段线>20 AND 波段线<50,波段线-2,波段线+2,5,0),coloryellow;
    抄底:IF(CROSS(波段线,8) OR CROSS(波段线,15),波段线*3.0,0),colormagenta,LINETHICK2;
    卖:IF(VAR4,波段线,0),coloryellow,NODRAW;
    DRAWTEXT(VAR3 AND VAR1>20,波段线-12,'买'),colorred;
    STICKLINE(VAR3 AND VAR1>20,波段线,0,1,0),colorred;
    买:IF(VAR3 AND VAR1>20 ,波段线,0),colorred,LINETHICK8,NODRAW;
    STICKLINE(波段线>80,波段线-2,波段线+2,5,0),colorred;
    STICKLINE(波段线<20,波段线-2,波段线+2,5,0),colorblue;
    STICKLINE(波段线>50 AND 波段线<80,波段线-2,波段线+2,5,0),colormagenta;
    DRAWTEXT(抄底>1,抄底+5,' 抄底'),coloryellow;
    DRAWICON(抄底>1,抄底,4);
    DRAWTEXT(VAR4,波段线+18,'卖'),coloryellow;
    STICKLINE(VAR4,波段线,波段线+20,1,0),colorgreen;



    3、绿色: SMA(CLOSE,2,1),colorgreen,linethick2;

    var4:=(LOW+HIGH+CLOSE)/3;
    操作: MA(var4,5),linethick2,colorwhite;
    拉升:HHV(操作,13),colorred,linethick1;
    压力:HHV(操作,60),colorred;
    买卖:LLV(操作,13),linethick1,color00ff00;
    底部支撑: LLV(LOW,60)*1.02,color00ccff;
    顶部: HHV(HIGH,60)*0.98,colorffffcc;
    STICKLINE(操作>REF(操作,1),操作,操作+0.018,5,0),coloryellow,linethick4;
    STICKLINE(拉升>REF(拉升,1),拉升,拉升+0.018,5,0),coloryellow,linethick2;
    STICKLINE(拉升=REF(拉升,1),拉升,拉升,1,1),colorred;
    STICKLINE(买卖=REF(买卖,1),买卖,买卖,1,1),colorred;
    STICKLINE(买卖>REF(买卖,1),买卖,买卖+0.028,4,1),colorf00ff0,linethick2;
    STICKLINE(顶部=REF(顶部,1),顶部,顶部,7,1),colorred;
    STICKLINE(压力=REF(压力,1),压力,压力,7,1),colorred;
    STICKLINE(底部支撑=REF(底部支撑,1),底部支撑,底部支撑,1,1),colorred;
    {DRAWGBK(DATE>900101,STRIP(RGB(0,150,130),RGB(0,0,0),0));}
    买线:=EMA(C,2);
    卖线:=EMA(SLOPE(C,21)*20+C,42);
    bu:=CROSS(买线,卖线);
    sel:=CROSS(卖线,买线);
    DRAWTEXT(bu,LOW,'b买'),colorred,linethick3;
    DRAWTEXT(bu,LOW,' ̄'),color208fff,linethick3;
    DRAWTEXT(sel,HIGH,' ̄'),colorffff00,linethick3;
    DRAWTEXT(sel,HIGH,'s卖'),colormagenta,linethick3;
    STICKLINE(买线>=卖线,LOW,HIGH,0.1,1),colorred;
    STICKLINE(买线>=卖线,CLOSE,OPEN,8,1),colorred;
    STICKLINE(买线<卖线,CLOSE,OPEN,8,0),color00ff00;
    STICKLINE(买线<卖线,LOW,HIGH,0.1,1),color00ff00;
    STICKLINE(CROSS(买线,卖线) OR CROSS(卖线,买线),OPEN,CLOSE,6,0),colorffff00
    //顶尖财经 股票学院:


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

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

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

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