SetStopContract

From MultiCharts
Revision as of 14:20, 24 January 2012 by 194.84.116.138 (talk) (Created page with "Forces the built-in strategy exit functions to be applied on per contract or share basis. The built-in strategy exit functions are: [[SetStopLoss , SetProfitTarget , SetBreak...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Forces the built-in strategy exit functions to be applied on per contract or share basis. The built-in strategy exit functions are: SetStopLoss , SetProfitTarget , SetBreakEven , SetDollarTrailing , and SetPercentTrailing.

Usage

SetStopContract

Notes

If SetStopPositon, SetStopContract, and SetStopShare were not used, the exit functions will be applied on the entire position basis as a default.

If SetStopPositon, SetStopContract, and SetStopShare were used in multiple instances or in different signals applied to the same chart, the last instance will be controlling.

Example

Force the SetStopLoss strategy exit function to be applied on per contract basis: 


SetStopContract; 

SetStopLoss(10); 


An exit order for the entry will be generated if the loss per contract reaches $10.