got a problem with an EA which I actually don't know if its possible to solve (or there may be a work around)
EA places pending trades at certain levels when a condition is met but the situation is this, I might be watching a chart, EA disabled because my sentiment is not good. Conditions is true but my sentiment isn't that good so i hold back.
I need the loo (or coffee etc) so turn my EA on, BUT it won't work (trade) until a new condition is met which isn't what i want., I want it to look at what the condition is now and act accordingly.
The question is, is it possible to turn an EA on and it can look back and work out what the condition is realtime or does it work going forward accumulating data, in which case is it possible to make it accumulate previous data.
I use pending orders at levels that are triggered as live to trade when a MA crosses it (up or down)
In my mind I think (assumed) it was possible but I'm being told otherwise, I can see why it might not be possible.
This has only cropped up in live (demo) testing as the visual backtests didn't turn on and off throughout the day (its got time parameters so they kick in and out but as its running over a time period it has the data it wants. I can't just change the time as it resets the EA, like reloading it, so it has no history.
Any thoughts appreciated, I've wondered if there is a passive global variable that just stops trades being sent (I use pending) without resetting EA (parameters affect it like allow live trade etc) or it can be placing trades but they are not sent, until a gate is opened.. if you get my jist.
So placed but not sent, like keep banging a door until its opened.
I thought about lower time frames but its too erratic, shifting MAs.
Really stuck with this one.
PG
EA places pending trades at certain levels when a condition is met but the situation is this, I might be watching a chart, EA disabled because my sentiment is not good. Conditions is true but my sentiment isn't that good so i hold back.
I need the loo (or coffee etc) so turn my EA on, BUT it won't work (trade) until a new condition is met which isn't what i want., I want it to look at what the condition is now and act accordingly.
The question is, is it possible to turn an EA on and it can look back and work out what the condition is realtime or does it work going forward accumulating data, in which case is it possible to make it accumulate previous data.
I use pending orders at levels that are triggered as live to trade when a MA crosses it (up or down)
In my mind I think (assumed) it was possible but I'm being told otherwise, I can see why it might not be possible.
This has only cropped up in live (demo) testing as the visual backtests didn't turn on and off throughout the day (its got time parameters so they kick in and out but as its running over a time period it has the data it wants. I can't just change the time as it resets the EA, like reloading it, so it has no history.
Any thoughts appreciated, I've wondered if there is a passive global variable that just stops trades being sent (I use pending) without resetting EA (parameters affect it like allow live trade etc) or it can be placing trades but they are not sent, until a gate is opened.. if you get my jist.
So placed but not sent, like keep banging a door until its opened.
I thought about lower time frames but its too erratic, shifting MAs.
Really stuck with this one.
PG