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/04/24 15:06]
profitview ↷ Page moved and renamed from syntax-setup:oanda-syntax to syntax:oanda
syntax:oanda [2020/05/12 05:36]
profitview
Line 15: Line 15:
 #​parallel=acc1,​acc2,​acc3 #​parallel=acc1,​acc2,​acc3
  
-# Cancel all orders 
-cancel=order 
 # 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
Line 27: Line 25:
 # retries=3 ​  : Give up after 3 retries in case of overload # retries=3 ​  : Give up after 3 retries in case of overload
 :main :main
 +cancel=order # cancel any open order/stop first
 side=[side] quantity=YOUR_BUY_IN% leverage=YOUR_LEVERAGE stoploss=[-]YOUR_STOP_LOSS% takeprofit=[+]YOUR_TAKE_PROFIT% type=market error=abort retries=3 ~~codedoc:​clean:#​notify=discord:​1~~ side=[side] quantity=YOUR_BUY_IN% leverage=YOUR_LEVERAGE stoploss=[-]YOUR_STOP_LOSS% takeprofit=[+]YOUR_TAKE_PROFIT% type=market error=abort retries=3 ~~codedoc:​clean:#​notify=discord:​1~~
 </​codedoc>​ </​codedoc>​