" "

forexchief

[discuss] Martingale Expert Advisors

Discussion in 'Indikator dan EA' started by amtwoxtwo, Dec 21, 2009.

Share This Page

  1. amtwoxtwo

    amtwoxtwo Member

    Messages:
    62
    Likes Received:
    3
    Trophy Points:
    8
    hmmm.. Spt yg kita taw,, y martingale.. Sistem anti kalah tpi lngsung tewas :cz17:

    mari diskusi tentang bgmna cara membuat martingale aman...

    sdikit review...
    Martingale adalah melipatgandakan lot ketika kita slh posisi, dengan harapan saat harga kembali, kita msh te2p profit..

    jdi,, mungkin strategi OBOS adlh yg pling tepat utk sistem marti ini..

    nahhh,, yg kt bcarakan....apa sj yg mas mbak ketahui indikator utk mengetahui OBOS..
    d sini kita tdk bicara OBOS 100% akurat... as we know, no indicators is perfect.......
    1 person likes this.
    " "
  2. amtwoxtwo

    amtwoxtwo Member

    Messages:
    62
    Likes Received:
    3
    Trophy Points:
    8
    test pertama menggunakan RSI,CCI,stoch...
    [​IMG]


    oh iya.. ini ada source utk membuat EA martingale...
    mari kita berkreasi...
    mas mbak cuman ngubah yg ad d dalam
    Code:
    int indikator(int entry)
    {
    int signal=0;
    double sbo = iStochastic(Symbol(), PERIOD_M15, 14, 3, 3, MODE_SMA, 0, MODE_MAIN, 1) - 50.0;
    double cbo = iCCI(Symbol(), PERIOD_M15, 50, PRICE_CLOSE, 1);
    double rbo = iRSI(Symbol(), PERIOD_M15, 14, PRICE_CLOSE, 1) - 50.0;
       RefreshRates();
          if (entry==OP_BUY)
       {
       if(sbo < -30 && cbo < -200 && rbo <-20)signal=1;
       }
          else if (entry==OP_SELL)
       {
       if(sbo > 30 && cbo > 200 && rbo >20)signal=1;
       }
    return(signal);
    }
    
    sesuai dg selera... trus dcoba hsilnya..

    Rules.. Kita nyoba dg modal 3000 standar iah... Gak boleh lbih dri i2 :cz07:

    Attached Files:

  3. wiedstone

    wiedstone Member

    Messages:
    498
    Likes Received:
    18
    Trophy Points:
    18
    Thanks, sedot dulu ah
  4. amtwoxtwo

    amtwoxtwo Member

    Messages:
    62
    Likes Received:
    3
    Trophy Points:
    8
    ayuuukk diskusi jg....
  5. wiedstone

    wiedstone Member

    Messages:
    498
    Likes Received:
    18
    Trophy Points:
    18
    Kayaknya belum jalan untuk broker 5 digits, di MetaEditor saya ganti

    Pada bagian bool SpreadOK()
    Code:
    bool SpreadOK()
    {     
          double spread  = (MarketInfo(Symbol(),MODE_ASK)-MarketInfo(Symbol(),MODE_BID))/point;
          if(spread > MaxSpread) {
          Print("SPREAD Kegedean.. Max ", MaxSpread);
          return (false); }
          return (true);
    }
    
    Sekarang enak..saya ijin backtest-backtest dulu bro :D
    Last edited: Dec 21, 2009
  6. amtwoxtwo

    amtwoxtwo Member

    Messages:
    62
    Likes Received:
    3
    Trophy Points:
    8
    iy deh, gnti sepuasnya.. ini kn Open Source.. :cz12:

    maen di 5 digit tho.. hohoho
  7. wiedstone

    wiedstone Member

    Messages:
    498
    Likes Received:
    18
    Trophy Points:
    18
    Oke juga nih si marti, dg setting standar pada bulan November 2009 dg modal 3000
    [​IMG]

    Bulan Oktober 2009 setting standar modal 3000 :
    [​IMG]
    Last edited: Dec 21, 2009
  8. amtwoxtwo

    amtwoxtwo Member

    Messages:
    62
    Likes Received:
    3
    Trophy Points:
    8
    i2 OK utk pair EU am GU TF M15...
    i2 ad indi aslinya koq.. Indo Squizzy...
    Sy buat EA nya dri indi i2... hohohoho....

    Knp tes tiap bulan?
    Biar modal pure 3000... & klo bs dicari yg ketika harga g teratur.. Spt bulan in... Kn pair sring turun tajem tuh...mlh skrg bolak-balik...
    ntar Januari,, backtest yg bln Desember.. We See d Result... :cz07:
  9. indosemar

    indosemar New Member

    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    izi coba boss, utk tf nya yg bgs brp yah...
  10. amtwoxtwo

    amtwoxtwo Member

    Messages:
    62
    Likes Received:
    3
    Trophy Points:
    8
    ini bkan demo bro... jd ngapain dcba...
    ini ajang sharing....

    smw Tf bgus :D

    satu lagi riset hanya bermodal MACD..
    jdi kira2 code nya diubah spt ini
    Code:
    int indikator(int entry)
    {
    int signal=0;
    double macd0= iMACD(Symbol(),PERIOD_M15,12,96,48,PRICE_CLOSE,MODE_SIGNAL,1);
    double macd1= iMACD(Symbol(),PERIOD_M15,12,96,48,PRICE_CLOSE,MODE_MAIN,1);
       RefreshRates();
          if (entry==OP_BUY)
       {
       if(macd0 < 0 && macd1 < macd0)signal=1;
       }
          else if (entry==OP_SELL)
       {
       if(macd0 > 0 && macd1 > macd0)signal=1;
       }
    return(signal);
    }
    

Share This Page