Jump to content

zoop

Members
  • Posts

    198
  • Joined

  • Last visited

Posts posted by zoop

  1. hi i have a hedging EA im experimenting with,

     

    what i would like to do is add code so if any open orders hit stoploss then close all open or pending orders

     

    i use close all code below, but how to make

     

    anystoploss to Closeall

     

     

     

    void Closeall(){

    RefreshRates();

    {delete(OP_BUYSTOP);delete(OP_SELLSTOP);closebuy();closesell();}

    }

×
×
  • Create New...