Amar K Uttarkar / Publications
Forum
Getting Error Code 138 in Backtesting
Hello, I have written a code which is running as per my requirement in the demo account . However, when I wanted to perform a backtesting of the EA, it is giving me "OrderSend error 138" for all the trades. Is there a way to resolve this. if (TotalBuyOrdersCount(TradeSymbol)== 0 ) {
Using Multiplier to get profit
Hello All, I am trying to write a simple EA wherein the trade is picked based on the moving averages . However, if the trade goes beyong a certain loss (consider 100 pips) then it should pick the next lot size (for example the previous lot size X 2). I have written the code since I am using multiple