Moving to breakeven

thread: Moving to breakeven

  1. #1
    Junior Member Colmixxo18's Avatar
    12

    Moving to breakeven

    People,

    I want a little help with a few specialist adviser programming. I want my EA to move my stop to breakeven after my trade is up 25-30 pips. Any help will be greatly appreciated. Thanks!!

    -Shaun

  2. #2
    Junior Member Colmixxo18's Avatar
    12
    shaun,

    This message is a mistake in the broker database. Try to choose a date before 2009.02.23 or another broker for backtests.

    You're utilizing the IBFX?
    Thank you for the reply. I really had chosen a date range from 2008.01.26 to 2009.02.23. Should've been (I would think??) Enough for a test. I have got a demo account which I started with alpari. .

  3. #3
    There are a lot of threads and posts about moving to BE.

    It took me minute to find this: https://www.cliqforex.com/general-fo...-studying.html
    FOREXflash has put some code there you might discover useful.

  4. #4
    Junior Member Colmixxo18's Avatar
    12
    That's great, thanks!!

  5. #5

  6. #6
    Junior Member Colmixxo18's Avatar
    12
    Thanks, cool.
    I tried putting that code into my EA though and went back test my egy. The diary entries are a lengthy list of:

    2009.02.22 22:20:30 TestGenerator: Aggressive data error (volume limitation 408 in 2009.02.23 05:00 surpassed)

    I have no clue what this means (and therefore no clue how to manage it)...

  7. #7
    Hi Shaun,

    I utilize this monitoring stop, it is Mauro monitoring stop.

    You may be able to use this or discover the section of code that can assist you with yours.
    https://www.cliqforex.com/attachment...0820537424.ex4
    https://www.cliqforex.com/attachment...2743081714.mq4

  8. #8
    Junior Member Colmixxo18's Avatar
    12
    Cool.

    Any idea what the error message implies though??

    2009.02.22 22:20:30 TestGenerator: Aggressive data error (volume limit 408 at 2009.02.23 05:00 exceeded)

  9. #9
    Member Tyer0's Avatar
    30
    Shaun,

    This message is a mistake in the broker database. Try to pick a date prior to 2009.02.23 or another broker for backtests.

    You're utilizing the IBFX?

  •