Marks the instrument to deny long trades.This function is the opposite of AllowLongTrades.

 

Syntax:

instrument.DenyLongTrades

 

Parameter:

Description:

none

Function works without any user assigned values.

 

Example:

' If this instrument is NOT in the top rankings...
IF instrument.longRank > rankThreshold THEN
 
  instrument.DenyLongTrades
ENDIF

Returns:

When Long-Order instrument's Long-Rank value > the rank-threshold value, the order will be disabled and removed.

 

Links:

 

See Also:

Trade Control Functions, Trade Control Properties

 


Edit Time: 9/25/2017 09:09:58 AM


Topic ID#: 267

 

Created with Help & Manual 7 and styled with Premium Pack Version 2.80 © by EC Software