web statistics

Bagian 8 - Menyusun EA

Discussion in 'Tutorial MQL4' started by white_tiger, Oct 20, 2008.

  1. chandrawg

    chandrawg
    Expand Collapse
    Moderator

    Joined:
    Aug 30, 2008
    Messages:
    577
    Likes Received:
    2
    Ok akan saya coba utak-atik lagi
     
  2. anova

    anova
    Expand Collapse
    New Member

    Joined:
    Jan 30, 2009
    Messages:
    59
    Likes Received:
    1
    terima kasih pak, saya tunggu modifikasinya, biar tidak sering kena requotes:)
     
  3. anova

    anova
    Expand Collapse
    New Member

    Joined:
    Jan 30, 2009
    Messages:
    59
    Likes Received:
    1
    makasih pak chandrawg, eanya sudah sesuai, cuma kl sdh TP, bisa tidak pending order sell stop atau buy stop otomatis didelete saat TP tercapai? maaf banget banyak permintaan. btw ea ini sebenarnya sdh lebih dari cukup buat saya, thx very much
     
  4. chandrawg

    chandrawg
    Expand Collapse
    Moderator

    Joined:
    Aug 30, 2008
    Messages:
    577
    Likes Received:
    2
    Ini sudah saya perbaiki. silahkan di cek :)
     

    Attached Files:

  5. anova

    anova
    Expand Collapse
    New Member

    Joined:
    Jan 30, 2009
    Messages:
    59
    Likes Received:
    1
    maaf pak chandrawg baru balas, krn TP nya baru kesentuh, pak waktu TP sell, pending order buy stop nya masih belum ke delete pak.
     
  6. chandrawg

    chandrawg
    Expand Collapse
    Moderator

    Joined:
    Aug 30, 2008
    Messages:
    577
    Likes Received:
    2
    coba diganti code yang ini (hapus kata "else")

    Code:
    else if((OrderType()>1)&&(OrdersTotal()==1))
    
    menjadi
    Code:
    if((OrderType()>1)&&(OrdersTotal()==1))
    
     
  7. anova

    anova
    Expand Collapse
    New Member

    Joined:
    Jan 30, 2009
    Messages:
    59
    Likes Received:
    1
    sdh saya ganti pak, tetapi pending ordernya masih tidak terdelete otomatis.
     
  8. chandrawg

    chandrawg
    Expand Collapse
    Moderator

    Joined:
    Aug 30, 2008
    Messages:
    577
    Likes Received:
    2
    Ok saya coba dulu di demo accountku. soalnya belum test juga :D

    update: iya ternyata memang ada yang kelupaan :D

    nih udah saya perbaiki dan test... silahkan dicoba
     

    Attached Files:

    #108 chandrawg, Aug 5, 2009
    Last edited: Aug 5, 2009
  9. anova

    anova
    Expand Collapse
    New Member

    Joined:
    Jan 30, 2009
    Messages:
    59
    Likes Received:
    1
    terima kasih banyak pak chandrawg, pending ordernya sdh terdelete otomatis, eanya sdh berjalan dengan baik sekali, sekali lagi terima kasaih.:) :) :)
     
  10. krisdinus

    krisdinus
    Expand Collapse
    New Member

    Joined:
    Aug 11, 2009
    Messages:
    5
    Likes Received:
    0
    close berdasarkan jam

    minta tolong donk cara bikin kode agar semua open posisi terclose jam 18.00.
    trims..:eek:
     

Share This Page