Dear coders, I'm trying to improve my Martingale EA, by adding a new SL method. Namely the x candle low for long trades, and for short trades the x candle high. If the previous trade was a winner, the EA will calculate the lotsize with this
Hello traders, Last week I've installed Windows 10 (64 bit) on my trading computer. Since that moment I get an error when I compile a script, indicator or an EA. The error description is "EX4 write error". This has something to do with Windows 10
Hi, Could someone please help me with my LotsizeCalc() function. I would like to multiply my lotsize with the 'MartingaleAmount' if my last trade was a loser. If my last trade was a winner I would like to use the 'normal' lotsize. Unfortunately, when
Hello, Today I was very surprised that my EA opened a new trade after I closed the order. This did happen because the open and the close were in the same candle, which caused a positive signal of the function "IsNewCandle()". I think the best way to
Hi, I've programmed a really simple expert advisor. The EA opens a long position when the slow stochastics closes below the value 86. extern double lot = 0.1 ; extern double tp = 60 ; //for EURUSD M5 extern double sl = 1000 ; //for EURUSD M5