So EA go only longs even if it is against trend (do not count hedging, it's only optional)... Do you have settings for at least one good test?
I'm sorry I do not. I only tested it for functionality. I made the EA with the idea that the user could make their own system with it. I have been playing around with the numbers but nothing extraordinary yet. I will let you know when I find a combo that works. I just started coding and using EAs about 2 months ago and this is the culmination of everything I have learned so far.
An important key to remember is that many forex traders also trade on the stock market where you can mostly only buy. Buying is naturally what traders do more often so the buy trends are stronger and last longer than sell trends. It's just an observation about the mass psychology of trading futures in general. I could easily add a sell feature to the EA if it is requested or if it may help create a better system.
deleted the update is more needed
why do you define so many values in your code you don't use...
//double Marketprice = ((Ask+Bid)/2); // not used
//double CurrentStochasticKperiod = iStochastic(0,0,Kperiod,Dperiod,Slowing,3,1,0,0);// not used
double FirstStochasticKperiod = iStochastic(0,0,Kperiod,Dperiod,Slowing,3,1,0,1);
//double SecondStochasticKperiod = iStochastic(0,0,Kperiod,Dperiod,Slowing,3,1,0,2);// not used
//double CurrentStochasticDperiod = iStochastic(0,0,Kperiod,Dperiod,Slowing,3,1,1,0);// not used
double FirstStochasticDperiod = iStochastic(0,0,Kperiod,Dperiod,Slowing,3,1,1,1);
//double SecondStochasticDperiod = iStochastic(0,0,Kperiod,Dperiod,Slowing,3,1,1,2);// not used
To add comments, please log in or register