Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
syntax:oanda [2020/05/12 05:37] profitview |
syntax:oanda [2021/11/02 16:20] profitview |
||
---|---|---|---|
Line 9: | Line 9: | ||
### OANDA Long/Short ### | ### OANDA Long/Short ### | ||
- | # If necessary uncomment the following line to set exchange & symbol | + | # Uncomment this to set exchange & symbol (if different from your chart/alert!) |
#exchange=oanda-sandbox symbol=eurusd | #exchange=oanda-sandbox symbol=eurusd | ||
- | # Optionally for multi accounts uncomment the following and fill in your accounts | + | # Uncomment this for multi accounts (and fill in your accounts) |
#parallel=acc1,acc2,acc3 | #parallel=acc1,acc2,acc3 | ||
- | # Optionally ignore this alert if ANY position is already open | + | # Uncomment this to skip entry 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=3 |
# Place main position order at market | # Place main position order at market |