DON'T TRADE SYMBOLS FROM THE SAME GROUP (for instance, belonging to a watch list) AT THE SAME TIME

0 votes


I have a doubt about how a I could do the next code:

  1. I have three watch lists (list 1, list 2 and list 3)
  2. List 3 has the symbols from list 1 and list 2.
  3. I am going to run the system code for the list 3
  4. Just two simultaneous positions
  5. I don’t want to trade symbols from the same list. I mean (trade one symbol from list 1 and one from the list 2, so If there is a trade with a symbol from list 1, I don't want that the next trade take a symbol from this list, despite of having a signal to get into the market).

Any suggestion?

Thank you very much!!

asked Aug 7, 2017 in AFL Code Wizard by SANTI
edited Aug 9, 2017

1 Answer

0 votes
answered Aug 12, 2017 by admin (9,260 points)