Adjustable MA

If I manually enter a trade at the start of the day, will the EA manage it for me ?

Or if I open a trade on what would be a closed day for the EA
 
If I manually enter a trade at the start of the day, will the EA manage it for me ?

Or if I open a trade on what would be a closed day for the EA
It only manages trades with a specific magic number. If you manage to open an order with that magic number (using some other EA, for example Position Sizer), it will treat it like its own.
 
It only manages trades with a specific magic number. If you manage to open an order with that magic number (using some other EA, for example Position Sizer), it will treat it like its own.
I was thinking of opening a trade using the "Trade Panel" ... Would that work with a magic number ?
 
I was thinking of opening a trade using the "Trade Panel" ... Would that work with a magic number ?
I have no idea if it allows setting a magic number for a trade. The Adjustable MA EA uses dynamic Magic numbers. It is calculated as 19472394 + Period(). Where Period() is the number of minutes in the timeframe. For example, if it is attached do a daily timeframe, the Magic number is 19472394 + 1440 = 19473834.
 
Part of what I thought was an upgrade to this EA was the ability to optimise the Trading Times and Days of the Week

Now I have got it back, I am not so sure ... Now thinking 24hrs a day, 5 days a week would be more lucrative ... possibly TP at end of day ... H'mmm

Maybe I need to be looking for another indicator to work alongside this one ?

SPX500_SBH1.png

Open a trade
Tokyo 5-6 Mo, Tu, Fr | London 8-11 Mo, Tu, Fr | New York 11-18 Mo, Tu, Fr |

I was very surprised that all 3 came back with the same trading days
 
A few hours later ...

Optimise.png
Optimise_1.png

The thing is, I wanted to run it 24/7 constantly, but the strategy tester wasn't interested, so I had to start at 1 and finish at 23 every day

Can only hope for a better profit margin when it is on a chart

Appreciate your comments/thoughts
 
Well ... at least it has opened a trade ... Still not sure about the Min Diff ... The previous bar Diff was 9

95.png
 
Last edited:
A few hours later ...

View attachment 33576
View attachment 33577

The thing is, I wanted to run it 24/7 constantly, but the strategy tester wasn't interested, so I had to start at 1 and finish at 23 every day

Can only hope for a better profit margin when it is on a chart

Appreciate your comments/thoughts
hi there, how did u add
A few hours later ...

View attachment 33576
View attachment 33577

The thing is, I wanted to run it 24/7 constantly, but the strategy tester wasn't interested, so I had to start at 1 and finish at 23 every day

Can only hope for a better profit margin when it is on a chart

Appreciate your comments/thoughts
hi, how did u add timeframes in back testing or optimization as it can only test on 1 timeframe at a time, also what pairs are u looking forward to test, my personal favorite is gold...
 
hi there, how did u add

hi, how did u add timeframes in back testing or optimization as it can only test on 1 timeframe at a time, also what pairs are u looking forward to test, my personal favorite is gold...
Regretably, with the Earnforex "adjustable_ma", you cannot optimise the timeframe ... I paid a coder/developer to modify the code for me to include the timeframe as an input ... expect to pay $30 on MQL5 ... One of my biggest regrets is not learning how to write code 🙁

As regards markets, I only trade the indices, in particular the US500
 
Regretably, with the Earnforex "adjustable_ma", you cannot optimise the timeframe ... I paid a coder/developer to modify the code for me to include the timeframe as an input ... expect to pay $30 on MQL5 ... One of my biggest regrets is not learning how to write code 🙁

As regards markets, I only trade the indices, in particular the US500
btw the code is open source, play around with grok 4 ai, i tried alot with chatgpt but it just gives alot of errors but u can find success with grok 4..btw have u tested it live? i've been backtesting it from a year but havent tested it on live, some modifications i wanna do with the bot is adding dual ma settings or adjustable to markets like in trending some settings work but in ranging it gives back alot of profits... some advance position sizing as price further move's in profit like adding some more to it... what are u suggestions... i heard if we implement machine learning with it... it can make it more robust like automatically adjusting MA settings to different market scenarios also like which trade to take and not to take based on probabilities by neural networks...
 
  • 👍
Reactions: Enivid