|Top Previous Next|
~POSITION initializes, or defines the POSITION category on the Resize page.
Categories are a type of shorthand; When any of the Category-legal keywords listed at the bottom of this topic are placed underneath a Category keyword such as ~POSITION, they behave as if "POSITION" was their keyword prefix.
~POSITION ' initializes POSITION category
IF RISK > TOTALEQUITY * .2 THEN _
MULTIPLIER = .9 ' resize statement
IF PositionRISK > Total Equity * .2 MULTIPLIER = .9
If the current open risk in this Position is greater than 20% of total equity, then reduce the risk in this Position by 10%.