stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

Help with recoding an EA
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=6288
Page 1 of 1
Author:  wingate [ Tue Nov 22, 2022 4:15 pm ]
Post subject:  Help with recoding an EA

Hi,

I was wondering if a coder may be able to help me out :youknow: I use an EA that performs a relatively simple task. There are very limited commands to enter into the settings box.

1. Candle Size (GapinPips)
2. Take Profit

That is it. The EA will either open a Buy or Sell position based on your input when the candle size reaches the size you input in the settings. If price is going UP then the EA will open a SELL position. Vice versa if price is going down the EA will open a BUY position.

If price moves against your open position the EA will open another position at the beginning of each candle thereafter that is furthest away from the previously opened position (i.e. averaging down).

I would like the EA to open positions following the current trend so basically the complete OPPOSITE commands to what is coded currently. I have attempted to change this myself (Trial & Error) but although I could get the EA to open a position in the opposite direction I could not make it open further positions when price went against me.

Would anybody be willing to take up the challenge? I would be extremely grateful :!!:
Thank you, Thank you, Thank you.

DOS Settings.png
xm7_DailyOpenStrategy_v2.ex4
Author:  tomele [ Tue Nov 22, 2022 4:59 pm ]
Post subject:  Help with recoding an EA

Hi.

With over 10 years membership in this forum, you should know that a compiled (ex4) file is not very helpful. If any of the fellow coders would be willing to help, you should at least give him a chance.

Cheers
Author:  wingate [ Tue Nov 22, 2022 5:27 pm ]
Post subject:  Help with recoding an EA

Hi,

Apologies is the file below in the correct format? If not please let me know.

Thank you.

xm7_DailyOpenStrategy_v2.mq4
All times are UTC Page 1 of 1