Hey guys, first post here.
I am building an EA that needs to work on both Forex and Stock Indexes.
For some reason, my StopLoss (pips) and my Lot Size calculation messes up when it comes to the stock indexes.
Does anyone have experience building an EA that can handle both Forex and Stock Index?
my guess (without you showing the code), your code should consider MODE_PROFITCALCMODE