您现在的位置:程序化交易>> 期货公式>> 文华财经>> 文华财经知识>>正文内容

你好,帮我加个自动下单, [文华财经]

  • 咨询内容:  N: =1;
    N1: =1;
    N2: =1;
    HH:=HHV(HIGH,1)/5+HHV(HIGH,2)/5+HHV(HIGH,2)/5+HHV(HIGH,5)/5+HHV   (HIGH,8)/5;
    LL:=LLV(LOW,1)/5+LLV(LOW,2)/5+LLV(LOW,2)/5+LLV(LOW,5)/5+LLV(LOW,8)/5;
    H1:= IFELSE(H<REF(H,2)&&REF(H,1)<REF(H,2),REF(H,2),0);
    L1:= IFELSE(L>REF(L,2)&&REF(L,1)>REF(L,2),REF(L,2),0);
    H2:=VALUEWHEN(H1>0,H1);
    L2:=VALUEWHEN(L1>0,L1);
    K1:=IFELSE(CLOSE>H2,-3,IFELSE(CLOSE<L2,1,0));
    K2:=VALUEWHEN(K1<>0,K1);
    GG:=IFELSE(K2=1,H2,L2);
    GG1:=VALUEWHEN(ISLASTBAR,GG);
    TMP1:=K2;
    W1:=K2;
    W2:=OPEN-CLOSE;
    HT:=IFELSE(OPEN>CLOSE,OPEN,CLOSE);
    LT:=IFELSE(OPEN<CLOSE,OPEN,CLOSE);
    DRAWTEXT(CROSS(TMP1,0),HH,'↓',COLORGREEN;
    DRAWTEXT(CROSS(0,TMP1),LL,'↑',COLORYELLOW;
    帮我加个自动下单,信号出的“买”同“卖”那根K线收盘前15秒下单,

     

     来源:程序化99

  • 文华技术人员:

     参考:

     

     N: =1;
    N1: =1;
    N2: =1;
    HH:=HHV(HIGH,1)/5+HHV(HIGH,2)/5+HHV(HIGH,2)/5+HHV(HIGH,5)/5+HHV   (HIGH,8)/5;
    LL:=LLV(LOW,1)/5+LLV(LOW,2)/5+LLV(LOW,2)/5+LLV(LOW,5)/5+LLV(LOW,8)/5;
    H1:= IFELSE(H<REF(H,2)&&REF(H,1)<REF(H,2),REF(H,2),0);
    L1:= IFELSE(L>REF(L,2)&&REF(L,1)>REF(L,2),REF(L,2),0);
    H2:=VALUEWHEN(H1>0,H1);
    L2:=VALUEWHEN(L1>0,L1);
    K1:=IFELSE(CLOSE>H2,-3,IFELSE(CLOSE<L2,1,0));
    K2:=VALUEWHEN(K1<>0,K1);
    GG:=IFELSE(K2=1,H2,L2);
    GG1:=VALUEWHEN(ISLASTBAR,GG);
    TMP1:=K2;
    W1:=K2;
    W2:=OPEN-CLOSE;
    HT:=IFELSE(OPEN>CLOSE,OPEN,CLOSE);
    LT:=IFELSE(OPEN<CLOSE,OPEN,CLOSE);
    DRAWTEXT(CROSS(TMP1,0),HH,'↓',COLORGREEN;
    DRAWTEXT(CROSS(0,TMP1),LL,'↑',COLORYELLOW;
    CROSS(TMP1,0),BPK;
    CROSSDOWN(TMP1,0),SPK;
    CHECKSIG(BPK,''15,''0,0);
    CHECKSIG(SPK,''15,''0,0);
    AUTOFILTER;

 

有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友

可联系技术人员 QQ: 511411198  点击这里给我发消息进行 有偿 编写!不贵!点击查看价格!


【字体: 】【打印文章】【查看评论

相关文章

    没有相关内容