Forum

Counting Buy and Sells for specific pair

My grid ea uses count buy and sells and close all in profit It works perfectly on 1 pair When 2 or more pairs is loaded it gets confused Is it possible to count only for a specific pair? Please advise what must be added and where in the code below int Count_Buy(){ int OpenBuyOrders=0; for(int

Please help with EA code

Hi Sorry for this question maybe it's an easy one I use the OrderSend function to open a sell stop X distance from price OrderSend (_Symbol,OP_SELLSTOP,0.05,Ask-100*_Point,3,NULL,NULL,NULL,778,0,Red); Now I want to open a Buy Stop but only when the above Sell Stop is triggered and X points from sell