Forum

how to run script

I know, im not a coder. But i need a help still. The code shows I want to add script wich is able to close all trades at specific time, but I'v got this message: 'start' - function already defined and has a body thanks a lot #property copyright "Copyright © 2012, ." #property show_inputs #include

else

extern double Elevation = 200 ; extern double Stoploss = 150 ; extern double Takeprofit = 660 ; extern double Lots = 3 ; extern string TradeSettings= "Mt4 time(min-max): hours 0-23, minutes 0-59, seconds 0-59" ; extern int TradeHour6= 6 ; extern int TradeMinutes6= 0 ; extern int

close all at specific time

'Alo mates need just lil help, solution how to close all opened and pending at the end of the day it shloud be like int start() { if ((TradeHour== Hour ())&&(TradeMinutes== Minute ())&&(TradeSeconds== Seconds ())) Executor(); } int Executor() { close all trades??? } but I have another function like