Forum

OrderOpen and OrderClose. Please help

So there is a problem. I open an order, and while order close parameters do not trigger, EA does not open another order. If i put orderclose lines in the same text as orderopen, i get all orders closed at the same date when back test ends. If i put more than 0 in calculate current orders function

Best time period for backtesting

Hello guys, Just created an a EA and got a confusion on myself what period of backtesting should i chose for H1 and M15 time-frame trades(as parameters are different for 1M and 3M backtesting results) ? And how occasionally you are reviewing the results and adjusting yours EA? Cheers, V

Problem witch Stochastic function

Hi, there I am creating new EA and adding just simple lines: double sm1a= iStochastic ( NULL , Period (), 5 , 3 , 3 , MODE_SMA , 0 ,MODE_SIGNAL, 2 ); printf ( "STOCH " ,sm1a); When i put that one into my chart and go to experts tab each time the bar closes i see word STOCH, but there is no

Is it possible to have same currency pair with different EA which have different trailing stops in same account?

I have 2 different EA's running in same account on EUR/JPY. One strategy uses 5pips trailing stop, another 20 pips. But when the trade on EURJPY is triggered i get that smaller 5pips trailing stop on that trade where it should be 20 pips as Trailing stop uses select orders function to find the

Incorporate trailing stop into existing EA

Hello, I have just created EA and want to incorporate trailing stop. EA will be launched for several pairs which have different trailing stop levels . How it is the best way to write that trailing stop script into ea which will operate differently for each pair differently? Is it good way to do it

EA does not go into start() function, please help!!

Hi, Made an EA and was wondering why it did not work if there were no errors i the code. And found a problem. Even if i put that rookie code(bellow) i get init() alert that function initialized and that's it! I do not get any alert from start() function! How should i reach that code in start

NEED HELP! RSI EA does not work

Hi, tired of trying to make working EA. Wish to have RSI EA which opens position on particular time. It initializes, no errors are found, but it does not open position. Loaded code on EUR/JPY at 2pm and RIS was at around 50 in 5min chart. What is the problem with that code