I am new to this algorithmic building concept.
Can anyone explain what is the differences betwen those three rule in SQ X?
How can I (1) handle multiple position opening strategy and (2) close only one side (buy or sell respectively) in SQ X?
Your explanation would be appreciated much.
if-then = IF a rule is valid THEN do action
if-then-else = IF a rule is valid THEN do action 1 ELSE do action 2
for each trade = execute with a trade
For mutliple positions you need to use multiple magic numbers. Closing multiple trades on one side cannot be done with a single function now, you need to close by defined magic numbers or all positions open at once (long+short)
You must be logged in to reply to this topic.