Jump to content

zoop

Members
  • Posts

    198
  • Joined

  • Last visited

Posts posted by zoop

  1. thanks Mutant, but its not the profit target im after, but its to do with losing a hedge trade

     

    we start buying and selling in basket style, when we reach a price point we close

     

    but what i need is , if any single open order is closed for any reason before we reach our price point, we close the whole basket

     

    Zoop

  2. how would i add this code to my hedge EA?

     

    i have the close all code working closeallpostions ();

     

    i need to add if any order is closed either by stoploss or take profit then closeallpostions(); is activated

     

    how would i do this with a simple few line if possible?

     

     

    thanks Zoop

×
×
  • Create New...