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

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

請老師修改一下模型吧 [文華財經]

  • 咨詢內容:  TYA:=((((((((((LOW + HIGH) + CLOSE) + REF(CLOSE,1)) + REF(LOW,1)) + REF(HIGH,1)) + REF(CLOSE,2)) + REF(LOW,2)) + REF(HIGH,2)) / 9));{1}
    HDA:=(((((HHV(TYA,(17 * 2)) + REF(HHV(TYA,(17 * 2)),1)) + REF(HHV(TYA,(17 * 2)),2)) + REF(HHV(TYA,(17 * 2)),3)) + REF(HHV(TYA,(17 * 2)),4)) / 5);{2}
    LDA:=(((((LLV(TYA,(17 * 2)) + REF(LLV(TYA,(17 * 2)),1)) + REF(LLV(TYA,(17 * 2)),2)) + REF(LLV(TYA,(17 * 2)),3)) + REF(LLV(TYA,(17 * 2)),4)) / 5);{3}
    A1:=(REF(HDA,1) = (HHV(TYA,((2 * 21) + 0))));{4}
    A2:=(REF(LDA,1) = (LLV(TYA,((2 * 21) + 0))));{5}
    A:=(REF(HDA,BARSLAST(A1)));{6}
    B:=(REF(LDA,BARSLAST(A2)));{7}
    T1:=((BARSLAST(A1) < BARSLAST(A2)) and (NOT(A1)));{8}
    T2:=((BARSLAST(A1) > BARSLAST(A2))and(NOT(A2)));{9}
    BF:=IF(T1,A,A);{10}
    HH:=MA(BF,1);{11}
    BG:=IF(T2,B,B);{12}
    LL:=MA(BG,1);HH1:=(BARSLAST((CLOSE > (REF(HH,1) * 1.003))));{13}
    LL1:=(BARSLAST((CLOSE < (REF(LL,1) * 0.997))));{14}
    PARTLINE((HH1 < LL1),LL),COLORRED;{15}
    PARTLINE((HH1 > LL1),HH),COLORGREEN;{16}
    DRAWTEXT(CROSS(HH1,LL1),HH,'空頭');{17}
    DRAWTEXT(CROSS(LL1,HH1),LL,'多頭');{18}
    STICKLINE((HH1 < LL1),OPEN,CLOSE,7,0),COLORRED;{19}
    STICKLINE((HH1 < LL1),high,CLOSE,1,0),COLORRED;{20}
    STICKLINE((HH1 < LL1),OPEN,low,1,0),COLORRED;{21}
    STICKLINE((HH1 > LL1),OPEN,CLOSE,7,0),COLORGREEN;{22}
    STICKLINE((HH1 > LL1),high,CLOSE,1,0),COLORGREEN;{22}
    STICKLINE((HH1 > LL1),OPEN,low,1,0),COLORGREEN;這個模型在8.2不能測試 麻煩修改一下吧

     

  • 文華技術人員: 參考: TYA:=((((((((((LOW + HIGH) + CLOSE) + REF(CLOSE,1)) + REF(LOW,1)) + REF(HIGH,1)) + REF(CLOSE,2)) + REF(LOW,2)) + REF(HIGH,2)) / 9));
    HDA:=(((((HHV(TYA,(17 * 2)) + REF(HHV(TYA,(17 * 2)),1)) + REF(HHV(TYA,(17 * 2)),2)) + REF(HHV(TYA,(17 * 2)),3)) + REF(HHV(TYA,(17 * 2)),4)) / 5);
    LDA:=(((((LLV(TYA,(17 * 2)) + REF(LLV(TYA,(17 * 2)),1)) + REF(LLV(TYA,(17 * 2)),2)) + REF(LLV(TYA,(17 * 2)),3)) + REF(LLV(TYA,(17 * 2)),4)) / 5);
    A1:=(REF(HDA,1) = (HHV(TYA,((2 * 21) + 0))));
    A2:=(REF(LDA,1) = (LLV(TYA,((2 * 21) + 0))));
    A:=(REF(HDA,BARSLAST(A1)));
    B:=(REF(LDA,BARSLAST(A2)));
    T1:=((BARSLAST(A1) < BARSLAST(A2)) && (NOT(A1)));
    T2:=((BARSLAST(A1) > BARSLAST(A2)) && (NOT(A2)));
    BF:=IF(T1,A,A);
    HH:=MA(BF,1);
    BG:=IF(T2,B,B);
    LL:=MA(BG,1);HH1:=(BARSLAST((CLOSE > (REF(HH,1) * 1.003))));
    LL1:=(BARSLAST((CLOSE < (REF(LL,1) * 0.997))));
    PARTLINE1((HH1 < LL1),LL),COLORRED;
    PARTLINE1((HH1 > LL1),HH),COLORGREEN;
    DRAWTEXT(CROSS(HH1,LL1),HH,'空頭');
    DRAWTEXT(CROSS(LL1,HH1),LL,'多頭');
    STICKLINE((HH1 < LL1),OPEN,CLOSE,7,0),COLORRED;
    STICKLINE((HH1 < LL1),HIGH,CLOSE,1,0),COLORRED;
    STICKLINE((HH1 < LL1),OPEN,LOW,1,0),COLORRED;
    STICKLINE((HH1 > LL1),OPEN,CLOSE,7,0),COLORGREEN;
    STICKLINE((HH1 > LL1),HIGH,CLOSE,1,0),COLORGREEN;
    STICKLINE((HH1 > LL1),OPEN,LOW,1,0),COLORGREEN;

     

  • 文華客服:  不能測試盈虧 在修改一下吧  紅色開多 綠色開空 

     

  • 網友回復:  參考: TYA:=((((((((((LOW + HIGH) + CLOSE) + REF(CLOSE,1)) + REF(LOW,1)) + REF(HIGH,1)) + REF(CLOSE,2)) + REF(LOW,2)) + REF(HIGH,2)) / 9));
    HDA:=(((((HHV(TYA,(17 * 2)) + REF(HHV(TYA,(17 * 2)),1)) + REF(HHV(TYA,(17 * 2)),2)) + REF(HHV(TYA,(17 * 2)),3)) + REF(HHV(TYA,(17 * 2)),4)) / 5);
    LDA:=(((((LLV(TYA,(17 * 2)) + REF(LLV(TYA,(17 * 2)),1)) + REF(LLV(TYA,(17 * 2)),2)) + REF(LLV(TYA,(17 * 2)),3)) + REF(LLV(TYA,(17 * 2)),4)) / 5);
    A1:=(REF(HDA,1) = (HHV(TYA,((2 * 21) + 0))));
    A2:=(REF(LDA,1) = (LLV(TYA,((2 * 21) + 0))));
    A:=(REF(HDA,BARSLAST(A1)));
    B:=(REF(LDA,BARSLAST(A2)));
    T1:=((BARSLAST(A1) < BARSLAST(A2)) && (NOT(A1)));
    T2:=((BARSLAST(A1) > BARSLAST(A2)) && (NOT(A2)));
    BF:=IF(T1,A,A);
    HH:=MA(BF,1);
    BG:=IF(T2,B,B);
    LL:=MA(BG,1);HH1:=(BARSLAST((CLOSE > (REF(HH,1) * 1.003))));
    LL1:=(BARSLAST((CLOSE < (REF(LL,1) * 0.997))));
    PARTLINE1((HH1 < LL1),LL),COLORRED;
    PARTLINE1((HH1 > LL1),HH),COLORGREEN;
    DRAWTEXT(CROSS(HH1,LL1),HH,'空頭');
    DRAWTEXT(CROSS(LL1,HH1),LL,'多頭');
    STICKLINE((HH1 < LL1),OPEN,CLOSE,7,0),COLORRED;
    STICKLINE((HH1 < LL1),HIGH,CLOSE,1,0),COLORRED;
    STICKLINE((HH1 < LL1),OPEN,LOW,1,0),COLORRED;
    STICKLINE((HH1 > LL1),OPEN,CLOSE,7,0),COLORGREEN;
    STICKLINE((HH1 > LL1),HIGH,CLOSE,1,0),COLORGREEN;
    STICKLINE((HH1 > LL1),OPEN,LOW,1,0),COLORGREEN;CROSS(HH1,LL1),SPK;CROSS(LL1,HH1),BPK;AUTOFILTER;

     

  • 網友回復:  LL:=LLV(LOW,(N + M));HH:=HHV(HIGH,(N + M));SR:=(2 * HH - LL);SS:=(2 * LL - HH);DD:=(SR - SS);DM:=(DD / 2);DKKPX:=(DM + SS);SDXT:=DKKPX;LL1:=LLV(LOW,(N1 + M1));HH1:=HHV(HIGH,(N1 + M1));SR1:=((2 * HH1) - LL1);SS1:=((2 * LL1) - HH1);DD1:=(SR1 - SS1);DM1:=(DD1 / 2);SDXT1:=(DM1 + SS1);AY:=SDXT1;AA:=SDXT;YY:=(((HIGH + LOW) + CLOSE) / 3);A0:=((HIGH + LOW) / 2);A1:=SMA(A0,13,1);A2:=HHV(HIGH,24);A3:=LLV(LOW,24);STICKLINE(YY < REF(AA,1),OPEN,CLOSE,7 ,0), COLORCYAN;STICKLINE(YY < REF(AA,1),HIGH,CLOSE,1 ,0), COLORCYAN;STICKLINE(YY < REF(AA,1),OPEN,LOW,1 ,0), COLORCYAN;STICKLINE(YY < REF(AA,1) AND A2 = REF(A2,0),OPEN,CLOSE, 7,0), COLORCYAN;STICKLINE(YY < REF(AA,1) AND A2 = REF(A2,0),OPEN,LOW,1 ,0), COLORCYAN;STICKLINE(YY < REF(AA,1) AND A2 = REF(A2,0),OPEN,LOW,1 ,0), COLORCYAN;STICKLINE(YY > REF(AA,1) AND A3 > REF(A3,0),OPEN,CLOSE, 7,0), COLORRED;STICKLINE(YY > REF(AA,1) AND A3 > REF(A3,0),OPEN,CLOSE, 1,0), COLORRED;STICKLINE(YY > REF(AA,1) AND A3 > REF(A3,0),OPEN,CLOSE, 1,0), COLORRED;STICKLINE(YY > REF(AA,1) AND A3 = REF(A3,0),OPEN,CLOSE, 7,0), COLORRED;STICKLINE(YY > REF(AA,1) AND A3 = REF(A3,0),HIGH,CLOSE, 1,0), COLORRED;STICKLINE(YY > REF(AA,1) AND A3 = REF(A3,0),OPEN,LOW, 1,0), COLORRED;STICKLINE(YY > AA AND YY < AY,OPEN,CLOSE,7 ,0), COLORYELLOW;STICKLINE(YY > AA AND YY < AY,HIGH,CLOSE,1 ,0), COLORYELLOW;STICKLINE(YY > AA AND YY < AY,OPEN,LOW,1 ,0), COLORYELLOW;STICKLINE(YY < AA AND YY > AY,OPEN,CLOSE,7 ,0), COLORYELLOW;STICKLINE(YY < AA AND YY > AY,HIGH,CLOSE,1 ,0), COLORYELLOW;STICKLINE(YY < AA AND YY > AY,OPEN,LOW,1,0), COLORYELLOW; 

  • 網友回復:紅色開多 綠色開空  黃色空倉觀望

 

有思路,想編寫各種指標公式,程序化交易模型,選股公式,預警公式的朋友

可聯系技術人員 QQ: 511411198  點擊這里給我發消息進行 有償 編寫!不貴!點擊查看價格!


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

相關文章

    沒有相關內容
主站蜘蛛池模板: 中文日韩 | 午夜视频在线观看免费视频 | 天天摸天天爽天天澡视频 | 中文字幕巨乱亚洲 | 成人α片 | 国产日本欧美在线观看乱码 | 成 人网站免费 | 欧美日韩一区二区在线视频播放 | 男人使劲桶女人下面动态图片 | 福利片成人午夜在线 | 狠狠插视频| 操操操干干 | 亚洲精品tv久久久久久久久久 | 91亚洲综合| 欧美日韩午夜视频 | 妞干网在线视频 | 在线中文字幕亚洲 | 国产亚洲欧美一区二区 | 亚洲国产片在线观看 | 美日韩一区二区三区 | 亚洲国产成人va在线观看 | 天堂在线视频精品 | 亚洲欧美日韩高清综合678 | 久久国产亚洲欧美日韩精品 | 精品久久久久久中文字幕202o | 丁香六月综合网 | 亚洲成人三级 | 亚洲三级在线 | 99精品视频不卡在线观看免费 | 久久精品免观看国产成人 | 国产年成美女网站视频免费看 | 欧美日韩国产在线 | 欧美精品一级 | 亚洲精品永久www嫩草 | 色网址在线观看 | 99久久九九 | 中国毛片在线观看 | 久久免费视频网站 | 日本天堂网在线观看 | 国产啪视频免费视频观看视频 | 欧美一级特黄aaa大片 |