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

[求助]改成交易模型 [文华财经]

  • 咨询内容: 老师请帮我改成交易模型:
    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;
    OCH:=MAX(OPEN,CLOSE);
    OCL:=MIN(OPEN,CLOSE);

     

  • 文华技术人员:  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);CROSS(TMP1,0),SPK;CROSS(0,TMP1),BPK;AUTOFILTER;

 

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

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


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

相关文章

    没有相关内容