1. Welcome back! Thank you for being a part of this Traders Community. Let's discuss and share :)
    Selamat datang kembali! Trimakasih telah menjadi bagian dari Komunitas Trader ini. Mari berdiskusi dan berbagi :)
    Dismiss Notice

Tutorial 3. Cara Membuat EA Berdasarkan Indicator Bergaris - Webinar

Discussion in 'Belajar MQL dari Nol' started by SoeHoe, 26 Nov 2017.

  1. SoeHoe

    SoeHoe Administrator Moderator

    Equity
    Credit
    Ref Point
    Berikut ini adalah video dari rekaman webinar tentang cara Membuat EA Berdasarkan Indicator Bergaris.
    Jika MQL adalah hal baru bagi Anda, maka saya sarankan untuk menonton 2 video terdahulu sebelum melanjutkan pelajaran tentang membuat EA berdasarkan indikator ini.

    Jika ada pertanyaan silakan sampaikan di sini atau bisa juga hadi di webinar, setiap senin pukul 20.00 WIB. Selamat belajar :)
     

    Attached Files:

  2. adhit59

    adhit59 New Member Credit Hunter

    Equity
    Credit
    Ref Point
    ini soehoe jawaban tugas yg soehoe berikan minggu yg pada webinar, tlg dikoreksi kalau salah :
    //buat SL = harga Low/High dari candle sebelumnya
    //Tentukan lot berdasarkan risk reward. Max risk = 0.1% per 1 kali order. Reward = 1%.

    Code:
    void QnOrder(int mycomm) {
    double modal=AccountEquity();
    double p_high_1=High[1];
    double p_low_1=Low[1];
    
       if(mycomm==OP_BUY){
       double mySL=p_low_1;
       double mylot=(0.001*modal)/(((Ask-p_low_1)/Point)*10);
       mylot=NormalizeDouble(mylot,2);
       double reward=(0.01*modal)/mylot*10;
       double myTP=Ask+(reward*Point);
       myTP=NormalizeDouble(myTP,Digits);
       int tiket=OrderSend(NULL,mycomm,mylot,Ask,3,mySL,myTP,"tugas",123,0,clrNONE);
    
       }
    
       if(mycomm==OP_SELL){
       double mySL=p_high_1;
       double mylot=(0.001*modal)/(((p_high_1-Bid)/Point)*10);
       mylot=NormalizeDouble(mylot,2);
       double reward=(0.01*modal)/mylot*10;
       double myTP=Bid-(reward*Point);
       myTP=NormalizeDouble(myTP,Digits);
       int tiket=OrderSend(NULL,mycomm,mylot,Bid,3,mySL,myTP,"tugas",123,0,clrNONE);
    
       }
    
    
    
    }
     
    Last edited by a moderator: 15 Jan 2018
    • Funny Funny x 1
  3. Aink Atuh

    Aink Atuh New Member

    Equity
    Credit
    Ref Point
    5/5,
    This is my review for this thread:
    terima kasih banyak soehoe. ijin download sifu.
     
  4. andiputro

    andiputro New Member

    Equity
    Credit
    Ref Point
    5/5,
    This is my review for this thread:
    ijin download soehoe, terimakasih sharing nya
     
  5. Surianto

    Surianto New Member

    Equity
    Credit
    Ref Point
    5/5,
    This is my review for this thread:
    Mantap bisa belajar pemrograman MQL
     
  6. charloleo

    charloleo New Member

    Equity
    Credit
    Ref Point
    isi Video sip, mudah dimengerti, tapi
    SoeHoe gimana klo mentukan nilai indikator bergaris Stochatic Oscilator, kan ada 2 garis merah ma hijau, biar masing masing dapat nilainya, (%K dan%D)
    klo pake cara ini cuma ada satu nilai,
    double SignalSO = iStochastic(Symbol(),0,20,3,3,MODE_SMA,STO_LOWHIGH,1.0,shift);
     
  7. izmihidayat

    izmihidayat New Member

    Equity
    Credit
    Ref Point
    kalau ea berdasarkan indi ini gimana om shoehoe?? mohon penjelasannya om,,, bingung untuk eksekusi buy sell nya... mohon pencerahannya ,,, makasih
     

    Attached Files:

  8. Mohammad Joko Arisaputro

    Mohammad Joko Arisaputro New Member

    Equity
    Credit
    Ref Point
    5/5,
    This is my review for this thread:
    Ijin Donlod
     
  9. Pandawa178

    Pandawa178 New Member

    Equity
    Credit
    Ref Point
    5/5,
    This is my review for this thread:
    terima kasih pelajaran-nya..
    ijin download
     
  10. Aan Suryana Sudirja

    Aan Suryana Sudirja New Member

    Equity
    Credit
    Ref Point
    5/5,
    This is my review for this thread:
    muantap pisan uat bahan belajar
     
  11. james77

    james77 New Member

    Equity
    Credit
    Ref Point
    Soehoe,
    Mau tanya bagaimana cara mendapatkan price di channel up dan channel down [ kotak biru di SS ] di standard deviasi channel ?
    Terimakasih
     

    Attached Files:

  12. dody0857

    dody0857 Member Credit Hunter

    Equity
    Credit
    Ref Point
    thx sharing nya
     
  13. YoLW012

    YoLW012 New Member

    Equity
    Credit
    Ref Point
    5/5,
    This is my review for this thread:
    Terimakasih SoeHoe. Ijin bergabung dan belajar.
     
  14. YoLW012

    YoLW012 New Member

    Equity
    Credit
    Ref Point
    Berikut hasil tugasnya, saya potong bagian void QnOrder(int cmd) nya saja.
    Mohon dikoreksi dan terimakasih.


    //=============================================================
    //Tugas
    //buat SL = harga Low/High dari candle sebelumnya
    //Tentukan lot berdasarkan risk reward. Max risk = 0.1% per 1 kali order. Reward = 1%.

    void QnOrder(int cmd){

    //SL = harga Low/High dari candle sebelumnya
    double SL;
    if (cmd == 0) SL = Low[1];
    if (cmd == 1) SL = High[1];

    //Lot berdasarkan risk reward. Max risk = 0.1% per 1 kali order. Reward = 1%.
    //Lot = 0.1% x Equity
    double lots;
    lots = AccountEquity()*0.1/100;

    int ticket = OrderSend(Symbol(),cmd,lots,0,0,SL,0);
    //Alert(ticket," error: ",GetLastError());
    }
     
  15. YoLW012

    YoLW012 New Member

    Equity
    Credit
    Ref Point
    Ternyata sudah dijawab di Webinar ke-4.. Terimakasih SoeHoe
     
  16. sadinarchitect

    sadinarchitect New Member

    Equity
    Credit
    Ref Point
    5/5,
    This is my review for this thread:
    thanks
     
  17. Khoirul Amri

    Khoirul Amri New Member

    Equity
    Credit
    Ref Point
    5/5,
    This is my review for this thread:
    semoga soehoe sehat selalu pembelajaran mantap tidak setengah2 mencerdaskan anak bangsa.... kapan2 saya main kerumah pak
     
  18. DiegoNovoa

    DiegoNovoa New Member

    Equity
    Credit
    Ref Point
    5/5,
    This is my review for this thread:
    gracias por el material
     

Share This Page