Announcement

Collapse
No announcement yet.

Virtual Broker

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Virtual Broker

    Hi all. I need some advice if someone can help. Within my live trading EFS, I handle my own stop loss and take profit, closing the trade when conditions are right. I do worry about a computer malfunction or internet dropout while I sleep though, and would like to have orders in the system just in case. Note I do not use any of the fancy add ons I read so much about - just straight out from eSignal via Zenfire to Mirus.

    From within my program, I can use a SELLSTOP() for a long, and BUYSTOP() for a short, and create a stop order which will automatically cancel when the trade is closed. However I cannot seem to link a take profit order to the trade. Using SELLSTOPLIMIT or SELLLIMIT creates the order, however if the stop is hit, it closes the trade but leaves the profit order still active.

    Can anyone please tell me how to link the take profit order to the trade and stop, so any one cancels the other?

    Cheers

    Mervk.
Working...
X