Forum

EA won't run on Strategy Tester

Hello Everyone, As the title state I am running into issues trying to test my EA on using the strategy tester. I have include the complete code. When I attempt to "test" the EA, there is a significant delay and no trades are opened. Also, when I use the Visual mode the strategy tester opens two

Help With CMoneyFixedRisk

Hello! I am attempting to calculate lot size dynamically based on a SL calculated from the ATR (Using the built-in iATR). The EA seems to compile correctly, but when I attempt to test the the strategy nothing happens. I have been unable to determine where my mistake is. Please, see the attached code

Using Close Below MA To Take Profit Not Working

Hi Everyone, I am struggling to get my EA to closes trades based on price closing below (for long trades) or above (for short trades) a weighted MA. I would like for the trade to be closed ONLY if price closes against the moving average. Currently the EA only seems to close the trade once TP (600