Jem wanted a multi-pair EA that would close trades when either or both of MACD and SuperTrend move/change in the opposite direction i.e. down/red closes buys and up/green closes sells. This is an EA and so goes in your Experts folder. Make sure that all the pairs you trade are in your PairsToTrade input list.
I coded the manager is such a way that it is easy for competent coders to add their own indi's into the mix. The pdf document explains how.
A couple of extra notes:
The manager will read the indicators when loaded up, for an initial screen display. These will not change again until there are open trades to manage and at the open of a new candle (EveryTickMode = false).
Jem needs a manager that closes trades at the open of each new candle. The EveryTickMode input (fourth one down) tells the manager to work once a second and examine the situation as it is in real time.
You do not have the required permissions to view the files attached to this post.
Read the effing manual, ok?
Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.
I still suffer from OCCD. Good thing, really.
Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.
To see The Weekly Roundup of stuff you guys might have missed Click here
My special thanks to Thomas (tomele) for all the incredible work he does here.
The first version of your EA is still working great and shows the MACD values in the display.
The latest version I can't seem to get the MACD values in the display.
Please let me know if I'm missing something
Cheers
Jem
That is a cpu saver. The manager does not read any values until the open of a new candle when first loaded or if there are no trades open. It would only take a few seconds to add a block of code to OnInit() to take a reading on start up, without looking for any trade closures.
Would you like me to do this?
Read the effing manual, ok?
Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.
I still suffer from OCCD. Good thing, really.
Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.
To see The Weekly Roundup of stuff you guys might have missed Click here
My special thanks to Thomas (tomele) for all the incredible work he does here.
The new EveryTickMode works great to see the values. Thanks!
I'm still getting trades closed out as I open them rather than closing out ONLY on the bar close.
Example.. current MACD bar is green, I go short and it auto-closes the position
Correct functionality would be to not take any action until the bar closes on the specified TradingTimeFrame
Thanks me lord
Cheers,
Jeremy
Not if you have enabled EveryTickMode. Then the manager examines the situation at every tick and compares the close of shift 1 with now. When these are closure conditions then the manager closes the trade.
Read the effing manual, ok?
Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.
I still suffer from OCCD. Good thing, really.
Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.
To see The Weekly Roundup of stuff you guys might have missed Click here
My special thanks to Thomas (tomele) for all the incredible work he does here.