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

Suggestion Need a help for making an mt4 script

Discussion in 'Indicators dan Tools' started by thomas123, 11 Jul 2023.

  1. thomas123

    thomas123 New Member

    Equity
    Credit
    Ref Point
    Based on the open price of that new bar:
    - place buy stop e.g 20 pips away from BID price, not ask price.
    - place sell stop e.g 20 pips away from bid price.

    Thanks.
     
  2. Shipr

    Shipr New Member

    Equity
    Credit
    Ref Point
    _02.png _02_1.png _02_2.png _02_3.png

    I launched the Expert Advisor and it placed pending orders, as it should.

    Show in the picture what you don't like.

    Do you understand what I'm asking you?

    Indicate on my pictures what the expert is doing wrong there.
     
  3. Traneur87

    Traneur87 Member Credit Hunter

    Equity
    Credit
    Ref Point
    Nice thread
    Shipr, it's possible to make this with this ea ?

    exemple EA.png
     
  4. Shipr

    Shipr New Member

    Equity
    Credit
    Ref Point
    Yes. Can.
    As soon as I close the last question.
     
    • Friendly Friendly x 1
  5. Traneur87

    Traneur87 Member Credit Hunter

    Equity
    Credit
    Ref Point
    Thx bro
     
  6. thomas123

    thomas123 New Member

    Equity
    Credit
    Ref Point
  7. Shipr

    Shipr New Member

    Equity
    Credit
    Ref Point
    Ok.

    If the specified distance from the open candle is less than the allowed one,
    The EA will calculate the placement of the order based on the minimum allowable distance from the current price.

    The pictures show two examples. With a given distance dist_order = 25 points.
    With a given distance dist_order = 0 points.

    Lines have been added for visualization and understanding.
    At the prices where orders will be placed.
    That is the dotted line.

    To remove lines, Set Show_price_line = false;
     

    Attached Files:

  8. thomas123

    thomas123 New Member

    Equity
    Credit
    Ref Point
    Ok, will try it out on monday, when the market open. Btw, at the moment you may do the request from Traneur87.
    Thank you.
     
    Last edited: 22 Jul 2023
  9. Shipr

    Shipr New Member

    Equity
    Credit
    Ref Point
    You can check in the toaster. Just before testing, set the indent value for orders.
     
  10. Traneur87

    Traneur87 Member Credit Hunter

    Equity
    Credit
    Ref Point
    Hello Shipr ,
    Did you have time to look for my development request?
     
  11. Shipr

    Shipr New Member

    Equity
    Credit
    Ref Point
    I will not do it.
     
  12. Nobuki Fujimoto

    Nobuki Fujimoto Member Credit Hunter

    Equity
    Credit
    Ref Point
    Thanks Shipr!!
     
  13. TylerTyler

    TylerTyler Member Credit Hunter

    Equity
    Credit
    Ref Point
    @
    Hey Shipr
    Hope you doing great was wonderingi f you can assist me with converting an mql4 source file to mql5 by any chance,all should be exactly as it is in mt4 but i'd appreciate it if you can make it mt5 please.
    Here is pic and file.

    I think its a great indicator that we can benefit from.
    Do let me know if it is possible or not,thanks.
     

    Attached Files:

Share This Page