Forum

Trade Panel Question

re: https://www.metaquotes.net/en/metatrader4/news/3949 Is there a way to toggle off the flashing red and blue lights on the MT4 one-click trade panel? While maintaining the function of the panel? Those of us disposed to seizures find flashing red lights quite disturbing

Backtesting is not trivial and needs to be addressed...

Well -intentioned rant follows: There are hundreds of pages on the forum regarding Backtesting limitations and errors, yet a search in the book and documentation reveal nothing in the way of workable solutions. I have spent the last week addressing the well-documented problems with backtesting in

Order information (type "balance")...

Is it possible to avoid order history , type " balance " in my for next loop? I've searched but found nothing enlightening. I need to ignore results of type " balance ": // return last closed ticket (returns -1 if not found): int LastClosedTicket; { datetime last_closed = 0 ; // close

stop EA from trading after one loss

Hi, I love MT4! Here's my question: I have searched without success on Google and at MQL4.com for a code snippet that will stop EA from trading after a losing trade . I want this as a safety switch in live forward testing to prevent EA from a runaway losing streak before I can shut it off to analyze