Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
syntax:oanda [2020/05/12 05:37]
profitview
syntax:oanda [2021/03/11 10:23]
profitview
Line 16: Line 16:
  
 # Optionally ignore this alert if ANY position is already open # Optionally ignore this alert if ANY position is already open
-#check=position ​iffound=abort+#check=pos iffound=abort
  
 # Close open positions on the opposite side at market # Close open positions on the opposite side at market
 # ..if no matching position is found, skip the delay and jump to main order # ..if no matching position is found, skip the delay and jump to main order
-close=position ​side=[!side] type=market ifnone=main+close=pos side=[!side] type=market ifnone=main
 # Give closing order time to execute # Give closing order time to execute
 delay=5 delay=5