weekend and static
codeidea:
No. Read this also : Will a static variable lose its value when EA restart from disconecting?
static double MaxProfit;
I have an EA, if I set MaxProfit=100 in Friday, Does MT5 will set MaxProfit =0 in next Monday?
static double MaxProfit;
I have an EA, if I set MaxProfit=100 in Friday, Does MT5 will set MaxProfit =0 in next Monday?