jadoon88 / Publications
Forum
BuyLimit gives invalid price error
Dear Members, I am trying to write an Expert Advisor with MQL5 that initiates buy limits based on certain EMA values. Here is the code that I have written in OnTick() function . MqlRates priceData[]; //create a price array //sort the array from the current candle downwards ArraySetAsSeries