Anonymous user
SetStopPosition: Difference between revisions
From MultiCharts
→Example
(Created page with "Forces the built-in strategy exit functions to be applied on the entire position basis. The built-in strategy exit functions are: [[SetStopLoss , SetProfitTarget , SetBreakE...") |
|||
Line 12: | Line 12: | ||
==== Example ==== | ==== Example ==== | ||
Force SetStopLoss strategy exit function to be applied on the entire position basis: | |||
SetStopPosition; | <syntaxhighlight>SetStopPosition; | ||
SetStopLoss(100); | SetStopLoss(100);</syntaxhighlight> | ||
An exit order for the entire position will be generated if the position loss reaches $100. | An exit order for the entire position will be generated if the position loss reaches $100. | ||
[[Category:Strategy Orders]] | [[Category:Strategy Orders]] |