Hi, I love Molanis!
Here's my question: I have searched without success on Google, at MQL4.com and here in the forum 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 performance. I found
http://www.forexfactory.com/showthread.php?t=93595 and
http://forum.mql4.com/45711 and
http://forum.mql4.com/4579, but they aren't really a cut and paste solution. I want a code snippet I can input to Molanis MQL Block in Strategy Builder. If I discover a solution before I receive an answer, I will post it here for everybody.
What I'm looking for is an "OFF" switch for Hal 9000, before he blows up my account. It could be a variable number of losses to make it useful to more coders, but I only need it to trigger after (1) loss.
Thanks!