Anyone guide me what code to insert in this script close the buy orders after change the SL to open price with 2 pip low.
for(int i = PositionsTotal(); i >= 0; i--)
{
if(m_position.SelectByIndex(i))
if (PositionGetString(POSITION_SYMBOL)==Symbol() &&...