milanese wrote:TraderDesk wrote:
<hit my head> I should of thought of that....

Your right of course....
My other question then is how many times will it BUY off of the 1 minute chart? Is that set by
MaxAdditionalPositions=5
Thanks...
if the conditions for opening are meet it will buy up to 5 (but there is always the waiting time between and in each case the conditions must be meet)
Cheers
Tommaso
Hi Tommaso,
I have been letting the EA on the demo for a few days. I think it is better to rollback to TraderDeskHeikenAshiU.mq4 which is without the LowerTF.
I am thinking if it possible to add a Stochastic on the EA timeframe where a cross upwards of the 40 merely has to be preceded by a close below it to trigger the trade. Steve has put together this at Steve's 10.6 trading aid EA - Stochastic H1 buy.mq4...
http://www.stevehopwoodforex.com/phpBB3 ... =38&t=3273
So if I have the EA running on the 5 minute chart and HigherTF=30 then every time the stochastic drops below 40 and then cross UP the 40 line it will place a BUY order on the 5 minute chart. The reverse for SELL where the cross will be 60.
Now there should be two variables:
Stochastic should be configurable: STO - 8,3,3 or 7,22 or etc...
Levels for BUY and SELL should be configurable like 20 or 30 or 40 etc for buy or 80,70,60 etc for sell. So for buy if it is set for 20 then the stochastic level must cross first below 20 then cross up 20 closed of bar to add a buy...
Now we also need to have a variable that will say how many buys as well. Maybe we can use MaxAdditionalPositions=5 for that...
To summarize we would have the first buy open like it is setup with TraderDeskHeikenAshiU.mq4 and for new additional buy/sell positions like I describe above using the technique that Steve came up with.
I am trying to find an easier way to do this with the way I trade but it is so hard as there are so many ways to look at a trade. So I think this might just be a better way to go forward...
Let me know what you think about the code....
Thanks as always....