Please help with this EA - Ordersend error 130
1 2

thread: Please help with this EA - Ordersend error 130

  1. #1
    Junior Member LauraHM10's Avatar
    23

    Please help with this EA - Ordersend error 130

    Hi,
    please help me with this EA. It is a easy EA based on EMA cross with RSI affirmation, more information:
    http://forums.babypips.com/free-fore...s-per-day.html

    difficulty with this:
    1. Ordersend error 130, I've 5-digit broker (IBFX)
    2. When moving SL to BE set space (pips) from BE
    3. Trading time from:

    Thank you very much for your time and help
    https://www.cliqforex.com/attachment...1454240725.mq4

  2. #2
    You have connected a SL and TP for your first order. If you're an American with a US broker that's not allowed.

  3. #3
    Junior Member LauraHM10's Avatar
    23
    Thanks!
    Can you please someone make a code change to the ECN broker?

  4. #4
    I utilize the common_functions of 7bit. Mqh for handling ECN and other mundane tasks:

    https://sites.google.com/site/prof7bit/common_functions

    Contain the mqh file at the start of the EA. Set the global variable IS_ECN_BROKER = true in your init function. Replace your calls to OrderSend using orderSendReliable. It protects the ECN nonsense as well as retries, etc..

    When you compile you will see a thousand warning messages fly past. Ignore them, they are benign.

    I utilize this file constantly and it works terrific.

  5. #5
    oxr?a2000oxray
    Guest
    Hello,
    please help me with this EA. It's a simple EA predied on EMA cross with RSI affirmation, more info:
    http://forums.babypips.com/free-fore...s-per-day.html

    problem for this:
    1. Ordersend mistake 130, I have 5-digit broker (IBFX)
    2. When shing SL to BE set space (pips) from BE
    3. Trading time to:

    Thank you very much for your time and assist
    Added 3 and 1. I would like a much better explanation of what you mean in two.
    https://www.cliqforex.com/attachment...1333417303.mq4

  6. #6
    Junior Member LauraHM10's Avatar
    23
    Cyber1,
    Thank you so much, I will attempt!!

    2. When trailing SL proceed to BE, I want profit a few pips,
    for example: open price 1,23100, trailing SL 30, when price strike 1,23131, proceed SL into 1,20101 ( 1 pips from BE)

  7. #7
    Junior Member LauraHM10's Avatar
    23
    Guys?

    2. When trailing SL move to BE, I need gain a few pips (1,2,....possibility of placing
    such as: open price 1,23100, tracking SL 30, when price struck 1,23131, move SL into 1,23101 ( 1 pips from BE)

    3. Time settings
    time from: EA starts trading from the preset period, the signal is legitimate just 1 bar that follows EMAcross RSI confirmation, not after
    time to: EA closes open trade and doesn't open any new commerce

    I thank you in advance

  8. #8

  9. #9
    Junior Member LauraHM10's Avatar
    23
    Cyber1,
    problem with ECN fixed (EA work with IBFX)
    THANKS!!

  10. #10
    Junior Member LauraHM10's Avatar
    23
    How can I fix this problem:
    When trailing SL proceed to BE (breakeven), I want to adjust the space from BE, for example two pips....

    Can somebody please assist?
    thanks

  •