Announcement

Collapse
No announcement yet.

Multiple concurrent trades

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

  • Multiple concurrent trades

    I have written a number of simple EFS scripts which use the Strategy object to test some simple strategies. The one thing that they all have in common is that you can only be in one trade at a time.

    To implement the above I use three global variables, Entry, Target and Stop to determine if I am in the trade, have hit my target or have been stopped out.

    I now want the option to be in multiple trades at the same time. Is there an elegant way to do this? Can I send target and stop values to the Strategy object so that it will handle for me? If not, I guess I need to manage entry, target and stop values manually for each trade. Can anyone point me to some example scripts that do this currently?

    Anyone else got any bright ideas about how to do this?

    Thanks in advance.
Working...
X