Forum

Simple recovery loss in 10 trades

Hi, I'm trying to make a simple EA which should be able to recover any losses in 10 trades. But my code won't works and I can't see where the mistake is. Are there anybody who could give me a hint to where the mistake is ? int start() { int total = OrdersTotal (); double recovery_amount;

Simple open and close code ?

Hi there, could someone please be nice to show how your code would look like, if you each new day want to open a trade end close it again lets say 4 hours later

Whats wrong here !

Hi there, I am pretty new to MetaTrader 4 and are about to program a simply entry order. But everytime I compile I get these errors: '{' - expression on global scope not allowed '\end_of_program' no function defined my code is: { int ticket; double Start_time = 0.00 ; if ( TimeCurrent () ==