人人爽天天爽夜夜爽qc-人人爽天天爽夜夜爽曰-人人天天爱天天做天天摸-人人天天夜夜-色网站在线-色网站在线看

您現在的位置:程序化交易>> 期貨公式>> 文華財經>> 文華財經知識>>正文內容

上下箭頭 出現 白色K線 [文華財經]

  • 咨詢內容: ?

    上下箭頭? 出現 白色K線 的時候? 預警 有聲音提示? 謝謝?

    ?

    ?

    MA2:EMA2(CLOSE,10),COLORBLACK,DOT;
    MA3:EMA2(CLOSE,20),COLORMAGENTA,LINETHICK2,COLORMAGENTA;

    MID:EMA2(CLOSE,20);
    TMP2:=STD(CLOSE,20);
    TOP:MID+2*TMP2,COLORBLACK;
    BOTTOM:MID-2*TMP2,COLORBLACK;


    買線:=MA2;
    賣線:=MA3;?
    DRAWCOLORLINE(買線>賣線,MID,COLORRED,COLORGREEN),LINETHICK3;
    DRAWCOLORLINE(買線>賣線,TOP,COLORRED,COLORGREEN),LINETHICK2;
    DRAWCOLORLINE(買線>賣線,BOTTOM,COLORRED,COLORGREEN),LINETHICK2;
    DRAWCOLORLINE(買線>賣線,買線,COLORRED,COLORGREEN),LINETHICK1;
    BU:=CROSS(買線,賣線);
    SEL:=CROSS(賣線,買線);
    DRAWICON(BU,L,'CO130',VALIGN0;
    DRAWICON(SEL,H,'CO131';

    DRAWCOLORKLINE(BU,COLORWHITE,0),LINETHICK2;
    DRAWCOLORKLINE(SEL,COLORWHITE,0),LINETHICK2;

    M:=5;
    G:=MA(C,5);
    D:=MA(C,10);
    NNH:=BARSLAST(H=HHV(H,M)) ,NODRAW;
    NNL:=BARSLAST(L=LLV(L,M)) ,NODRAW;
    NN:=IF(REF(G,NNH)>REF(D,NNH) AND NNH<=M-3,NNH,IF(REF(G,NNL)<REF(D,NNL) AND NNL<=M-3,NNL,M-2)) ,NODRAW;
    NNN:=IF(ISLASTBAR AND NN>0,NN,M-2) ,NODRAW;
    KH1:=REF(H,NNN)=HHV(H,M-1);
    LL1:=REF(L,NNN)=LLV(L,M-1);
    FG01:=BACKSET(H1,NNN+1)>BACKSET(H1,NNN),NODRAW;//只設置前面第M-1個
    FD01:=BACKSET(L1,NNN+1)>BACKSET(L1,NNN) ,NODRAW;
    FG02:=FG01=FD01 AND G>D,NODRAW;
    FD02:=FG01=FD01 AND G<D,NODRAW;
    TTTT:=BARSLAST(FD01),NODRAW;
    FG0:=FG01 AND IF(FG02=1,H=HHV(H,BARSLAST(REF(FD01,1))+1),H=HHV(H,IF(BARSLAST(L=LLV(L,M))>=M-2,M-2,BARSLAST(FD01)))) AND FD02=0 ,NODRAW;
    FD0:=FD01 AND IF(FD02=1,L=LLV(L,BARSLAST(REF(FG01,1))+1),L=LLV(L,IF(BARSLAST(H=HHV(L,M))>=M-2,M-2,BARSLAST(FG01))))? AND FG02=0 ,NODRAW;
    //高低點間周期
    GT:=BARSLAST(FG0),NODRAW;
    DT:=BARSLAST(FD0),NODRAW;
    //第一次處理高低點間多余的點
    LLLL:=DT=0 AND REF(DT,1)<GT AND L>REF(L,REF(DT,1)+1),NODRAW;
    FG1:=BACKSET(REFX(GT,1)=0 AND GT<DT AND REFX(H,1)>=REF(H,GT),GT+1),NODRAW;
    FD1:=BACKSET(REFX(DT,1)=0 AND DT<GT AND REFX(L,1)<=REF(L,DT),DT+1),NODRAW;
    FG11:=IF(GT=0 AND REF(GT,1)<DT AND IF(REF(G,BARSLAST(L=LLV(L,M)))>REF(D,BARSLAST(L=LLV(L,M))),BARSLAST(L=LLV(L,M))<M-2,1) AND? H<REF(H,REF(GT,1)+1),1,0),NODRAW;
    FD11:=IF(DT=0 AND REF(DT,1)<GT AND IF(REF(G,BARSLAST(H=HHV(H,M)))<REF(D,BARSLAST(H=HHV(H,M))),BARSLAST(H=HHV(H,M))<M-2,1) AND L>REF(L,REF(DT,1)+1),1,0),NODRAW;
    //再次周期
    GT1:=BARSLAST(FG11<>1 AND FG1<>1 AND FG0),NODRAW;
    DT1:=BARSLAST(FD11<>1 AND FD1<>1 AND FD0),NODRAW;
    FD2:=BACKSET(REFX(GT1,1)=0 AND DT1<3 AND GT1-DT1<4 AND REF(L,DT1)>LLV(L,GT1+M-2),DT1+1),NODRAW;
    FG2A:=BACKSET(REFX(GT1,1)=0 AND DT1<3 AND GT1-DT1<4 AND REF(L,DT1)<=LLV(L,GT1+M-2) AND REF(H,GT1)>HHV(H,GT1+M-2),GT1+1),NODRAW;
    FG2B:=IF(GT1=0 AND DT1<4 AND REF(GT1,1)-DT1<4 AND REF(L,DT1)<=LLV(L,REF(GT1,1)+M-1) AND H>HHV(H,REF(GT1,1)+M-1),1,0),NODRAW;
    FG2:=BACKSET(REFX(DT1,1)=0 AND GT1<3 AND DT1-GT1<4 AND REF(H,GT1)<HHV(H,DT1+M-2),GT1+1),NODRAW;
    FD2A:=BACKSET(REFX(DT1,1)=0 AND GT1<3 AND DT1-GT1<4 AND REF(H,GT1)>=HHV(L,DT1+M-2) AND REF(L,DT1)>LLV(L,DT1+M-2),DT1+1),NODRAW;
    FD2B:=IF(DT1=0 AND GT1<4 AND REF(DT1,1)-GT1<4 AND REF(H,GT1)>=HHV(H,REF(DT1,1)+6) AND L>LLV(L,REF(DT1,1)+M-1),1,0),NODRAW;
    TTTTTT:= H<REF(H,REF(GT1,1)+1) AND DT1<4,NODRAW;
    HHHHHH:=REF(LLV(L,10),DT1),NODRAW;
    //前長后短;
    FG21:=IF(GT1=0 AND DT1<4 AND H<=REF(H,REF(GT1,1)+1)? ,1,0),NODRAW;
    FD21:=IF(DT1=0 AND GT1<4? AND L>=REF(L,REF(DT1,1)+1) ,1,0),NODRAW;
    //前短后長,前低后高(去低);
    FD231:=BACKSET(REFX(GT1,1)=0 AND DT1>3 AND GT1>DT1 AND GT1-DT1<4 AND REFX(H,1)>REF(H,GT1) AND REF(L,DT1)>REF(LLV(L,10),DT1),DT1+1),NODRAW;
    FG23:=BACKSET(REFX(GT1,1)=0 AND DT1>3 AND GT1>DT1 AND? GT1-DT1<4 AND REFX(H,1)>REF(H,GT1) AND (REF(H,GT1)<REF(HHV(H,13),GT1) OR REF(FD231,DT1)=0),GT1+1),NODRAW;
    //前短后長,去2;
    FG231:=BACKSET(REFX(DT1,1)=0 AND GT1>3? AND DT1>GT1 AND DT1-GT1<4 AND REFX(L,1)<REF(L,DT1) AND REF(H,GT1)<REF(HHV(H,10),GT1) ,GT1+1),NODRAW;
    FD23:=BACKSET(REFX(DT1,1)=0 AND GT1>3? AND DT1>GT1 AND DT1-GT1<4 AND REFX(L,1)<REF(L,DT1) AND ( REF(L,DT1)>REF(LLV(L,13),DT1) OR REF(FG231,GT1)=0),DT1+1),NODRAW;
    //前短后長,去3;
    FDD23:=REF(H,GT1)<REF(HHV(H,10),GT1) OR REF(FD23,DT1)=0,NODRAW;
    FD24:=BACKSET(REFX(GT1,1)=0 AND DT1>3 AND GT1>DT1 AND GT1-DT1<4 AND REFX(H,1)<HHV(H,GT1+3) AND REF(L,DT1)>LLV(L,DT1+5),DT1+1),NODRAW;
    FG24:=BACKSET(REFX(DT1,1)=0 AND GT1>3? AND DT1>GT1 AND DT1-GT1<4 AND REFX(L,1)>LLV(L,DT1+3) AND REF(H,GT1)<HHV(H,GT1+5),GT1+1),NODRAW;
    //做兩次高低點間多余的點
    GT2:=BARSLAST(FG21<>1 AND FG23<>1 AND FG231<>1 AND FG24<>1?? AND FG2<>1 AND FG2A<>1 AND FG2B<>1 AND GT1=0),NODRAW;
    DT2:=BARSLAST(FD21<>1 AND FD23<>1 AND FD231<>1 AND FD24<>1? AND FD2<>1 AND FD2A<>1 AND FD2B<>1 AND DT1=0),NODRAW;
    FG3:=BACKSET(REFX(GT2,1)=0 AND GT2<DT2 AND REFX(H,1)>=REF(H,GT2),GT2+1),NODRAW;
    FD3:=BACKSET(REFX(DT2,1)=0 AND DT2<GT2 AND REFX(L,1)<=REF(L,DT2),DT2+1),NODRAW;
    FG31:=IF(GT2=0 AND REF(GT2,1)<DT2 AND H<REF(H,REF(GT2,1)+1),1,0),NODRAW;
    FD31:=IF(DT2=0 AND REF(DT2,1)<GT2 AND L>REF(L,REF(DT2,1)+1),1,0),NODRAW;
    GT3:=BARSLAST(GT2=0 AND FG3<>1 AND FG31<>1 ),NODRAW;
    DT3:=BARSLAST(DT2=0 AND? FD3<>1 AND FD31<>1),NODRAW;
    FG4:=BACKSET(REFX(GT3,1)=0 AND GT3<DT3 AND REFX(H,1)>=REF(H,GT3),GT3+1),NODRAW;
    FD4:=BACKSET(REFX(DT3,1)=0 AND DT3<GT3 AND REFX(L,1)<=REF(L,DT3),DT3+1),NODRAW;
    FG41:=IF(GT3=0 AND REF(GT3,1)<DT3 AND H<REF(H,REF(GT3,1)+1),1,0),NODRAW;
    FD41:=IF(DT3=0 AND REF(DT3,1)<GT3 AND L>REF(L,REF(DT3,1)+1),1,0),NODRAW;
    HHH:=GT3=0 AND FG31<>1 AND? FG3<>1,NODRAW;
    LLL:=DT3=0 AND FD31<>1 AND? FD3<>1,NODRAW;

    ?

    ?

    ?來源:程序化99

  • 文華技術人員: ?參考:
    MA2:EMA2(CLOSE,10),COLORBLACK,DOT; MA3:EMA2(CLOSE,20),COLORMAGENTA,LINETHICK2,COLORMAGENTA;
    MID:EMA2(CLOSE,20); TMP2:=STD(CLOSE,20); TOP:MID+2*TMP2,COLORBLACK; BOTTOM:MID-2*TMP2,COLORBLACK;

    買線:=MA2; 賣線:=MA3;? DRAWCOLORLINE(買線>賣線,MID,COLORRED,COLORGREEN),LINETHICK3; DRAWCOLORLINE(買線>賣線,TOP,COLORRED,COLORGREEN),LINETHICK2; DRAWCOLORLINE(買線>賣線,BOTTOM,COLORRED,COLORGREEN),LINETHICK2; DRAWCOLORLINE(買線>賣線,買線,COLORRED,COLORGREEN),LINETHICK1; BU:=CROSS(買線,賣線); SEL:=CROSS(賣線,買線); DRAWICON(BU,L,'CO130',VALIGN0; DRAWICON(SEL,H,'CO131';
    DRAWCOLORKLINE(BU,COLORWHITE,0),LINETHICK2; DRAWCOLORKLINE(SEL,COLORWHITE,0),LINETHICK2; BU||SEL,NOTICE;

    ?

    ?來源: www.kzuj.com.cn

  • 文華客服: ?有函數 不能一起使用?? NOTICE? 老師 在修改一下 謝謝啦

    ?

  • 網友回復: 直接加載2樓指標就可以了,白色K線條件和后面的纏論指標沒有關系

    ?

  • 網友回復: ?還是? 不行??

 

有思路,想編寫各種指標公式,交易模型,選股公式,還原公式的朋友

可聯系技術人員 QQ: 262069696  點擊在線交流或微信號:cxh99cxh99  進行 有償收費 編寫!

怎么收費,代編流程等詳情請點擊閱讀!

(注:由于人數限制,QQ或微信請選擇方便的一個聯系我們就行,加好友時請簡單備注下您的需求,否則無法通過。謝謝您!)


【字體: 】【打印文章】【查看評論

相關文章

    沒有相關內容
主站蜘蛛池模板: 久久午夜免费鲁丝片 | 天天操天天操天天操 | 国产91精品一区 | 全免费一级毛片在线播放 | 狠狠色噜噜狠狠狠狠97不卡 | 妞干网在线观看视频 | 久久国产精品亚洲一区二区 | 老湿福利影院 | 天天插天天狠天天透 | 大伊香蕉在线精品视频人碰人 | 夜夜躁狠狠躁日日躁视频 | 久久免费视频网站 | 国内日本精品视频在线观看 | 欧美人妖猛交 | 伊人色综合琪琪久久社区 | 激情综合网婷婷 | 人人做人人爽 | 欧美成人v视频免费看 | 77788色淫网站女女免费视频 | 欧美日韩aa一级视频 | 日韩国产精品欧美一区二区 | 一本大道久东京 | 又黄又爽的视频 | 国产午夜亚洲精品不卡 | 色综合久久精品中文字幕 | 国产欧美成人一区二区三区 | 国产呦萝资源网站 | 美女视频久久 | 欧美日韩第一区 | 综合558欧美成人永久网站 | 午夜影视在线视频观看免费 | 国产欧美日韩另类va在线 | 国产精品久久久久久久久免费观看 | 欧美成人怡红院在线观看 | 久久国产成人精品国产成人亚洲 | 国内小情侣一二三区在线视频 | 免费成人黄色片 | 天天草夜夜骑 | 高h辣h双处全是肉一对一 | 国产成年网站 | 成在线人免费视频 |