Standard Entry Syntax for BitMEX:LTCUSD & FTX:LTCPERP

Note: The following syntax works with the default entry alert messages that OCC comes with!
They contain everything necessary to transport the configured (or calculated) quantity, leverage and SL/TP from OCC into PV and place all the orders/stops accordingly.

Notify on TP / SL

XBTUSD / ETHUSD

➤ Click here for XBTUSD Entry Syntax!      ➤ Click here for ETHUSD Entry Syntax!

OCC4 LTC Entry with Limit + Market SL – will flip positions only when opened by the same entry name previously! (useful for multiple layers)

# fill in your accounts here if necessary 
#parallel=acc1,acc2,acc3
 
# remove wrongside=abort in the next line if you want to add to an already open position (pyramiding) 
# optionally replace [id] in the next line with a list of alert names you want to allow being flipped eg. id=XH1,XH2 
# (otherwise it will only flip it's own positions!) 
close=pos side=[!side] type=market nopos=entry wrongside=abort checkid=[id] wrongid=abort
delay=3
 
:entry
cancel=order
side=[side] type=market error=abort retries=2 time=30% leverage=_l quantity=_q% notify=discord:1
delay=3
close=pos side=[side]   stoploss=_sl[-]0.02  price=_sl id=[id]-LSL expect=1 notify=discord:"`LSL:     \z` {stop} / {price}" 
close=pos side=[side]   stoploss=_sl[-]0.11% t=market  id=[id]-MSL expect=1 notify=discord:"`MSL:     \z` {stop}" 
close=pos side=[side] takeprofit=_tp[-]0.5   price=_tp id=[id]-TP  expect=1 notify=discord:"`TP:      \z` {stop} / {price}" 

OCC4 LTC Entry with Limit + Market SL – will flip position regardless of “who” opened it!

# fill in your accounts here if necessary 
#parallel=acc1,acc2,acc3
 
# remove wrongside=abort in the next line if you want to add to an already open position (pyramiding) 
close=pos side=[!side] type=market nopos=entry wrongside=abort
delay=3
 
:entry
cancel=order
side=[side] type=market error=abort retries=2 time=30% leverage=_l quantity=_q% notify=discord:1
delay=3
close=pos side=[side]   stoploss=_sl[-]0.02  price=_sl id=[id]-LSL expect=1 notify=discord:"`LSL:     \z` {stop} / {price}" 
close=pos side=[side]   stoploss=_sl[-]0.11% t=market  id=[id]-MSL expect=1 notify=discord:"`MSL:     \z` {stop}" 
close=pos side=[side] takeprofit=_tp[-]0.5   price=_tp id=[id]-TP  expect=1 notify=discord:"`TP:      \z` {stop} / {price}" 

OCC4 LTC Entry with Limit + Market SL – will abort if a position is already open!

# fill in your accounts here if necessary 
#parallel=acc1,acc2,acc3
 
check=pos iffound=abort
cancel=order
side=[side] type=market error=abort retries=2 time=30% leverage=_l quantity=_q% notify=discord:1
delay=3
close=pos side=[side]   stoploss=_sl[-]0.02  price=_sl id=[id]-LSL expect=1 notify=discord:"`LSL:     \z` {stop} / {price}" 
close=pos side=[side]   stoploss=_sl[-]0.11% t=market  id=[id]-MSL expect=1 notify=discord:"`MSL:     \z` {stop}" 
close=pos side=[side] takeprofit=_tp[-]0.5   price=_tp id=[id]-TP  expect=1 notify=discord:"`TP:      \z` {stop} / {price}"