Support Board
Date/Time: Sat, 23 Nov 2024 00:27:13 +0000
MOVETO_BE_ACTION_TYPE_TRAIL_TO_BREAKEVEN
View Count: 1765
[2013-05-23 09:02:19] |
User32496 - Posts: 26 |
can you please provide a detailed explanation or example for the use of trailing stop? and moving to b_e? the example code is working only under the assumption that there are 2 target used. i would like my stop move to b_e after the position move in my direction 4 ticks. couldn't do this tried to use this: NewOrder.StopAllOffset = 10*sc.TickSize;NewOrder.AttachedOrderStopAllType = SCT_ORDERTYPE_STEP_TRAILING_STOP_LIMIT;
or thisNewOrder.TrailStopStepPriceAmount = 1 * sc.TickSize; NewOrder.TriggeredTrailStopTriggerPriceOffset=4*sc.TickSize; NewOrder.TriggeredTrailStopTrailPriceOffset=1*sc.TickSize; Set up a move to breakeven action for the common stop
NewOrder.MoveToBreakEven.Type=MOVETO_BE_ACTION_TYPE_TRAIL_TO_BREAKEVEN; NewOrder.MoveToBreakEven.BreakEvenLevelOffsetInTicks= -3; NewOrder.MoveToBreakEven.trailTRAIL_TO_BREAKEVEN= 1; please advice thanks |
[2013-05-24 00:21:53] |
Sierra Chart Engineering - Posts: 104368 |
We can only refer you to the documentation here: http://www.sierrachart.com/index.php?l=doc/doc_ACSILTrading.html#s_SCNewOrder Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing |
To post a message in this thread, you need to log in with your Sierra Chart account: