Forum

Simulation of adding or withdraw money during backtest

Hello Everyone, Is it possible to simulate a change of balance during a backtest ? Typically added money or withdraw money from Balance during the backtest. Thank you in advance, Regards

Switch boolan operator in backtest mode

Hello everyone, I want to backtest my code with the strategy tester but i want an external input that say sometimes it's "&&" sometimes it's "||", is it possible ? Example : External_Input_1 between 1 and 10 (in the strategy tester) External_Input_2 between 1 and 10 (in the strategy tester)

icustom in my EA with estimated parameters

Hello everyone, I'm stuck with an issue and i'd appreciate your help. Usually in a normal way here it's how i'd define and read a new indicator in an EA (and that's worked fine): 1. Define the handle in OnInit() part (My Handle is an array of int because of the specific currency i): Handle[i]=

Delete old history trades

Hi everyone, I want to delete my history trades. Actually when i go to "Signals" to follow my profits and losses, the problem is i see old strategy used on my account and old losses as well. I want to clean all history and begin today with my actual strategy. Any idea ? Thank you in advance

Number of working day between 2 dates

Hello everyone, I'm stuck with a (simple) problem concerning the calculation between 2 dates. For example : Today is the 30th of November. I would like to count the number of working days (not Saturday and Sunday) between September 17th and today with MQL4 Any idea ? Thank you