Forum

Difference in ATR calculation

Is anyone able to tell me the difference between how MT4 calculates the ATR as opposed to NinjaTrader? I'm trying to match NT's version to MT4, but the results are wildly different over all time frames. Really appreciate an explanation, coz I can't pick where the discrepancy is. NT ATR source code

Differentiating manually entered "trade Management" EAs

Howdy all. A question for someone that is waaaaay smarter than me. Is it possible to assign a magic number (or similar) to an EA that is managing a MANUALLY entered position, via profit targets and a trailing stop loss? The problem I face is that I have two different strategies requiring a different