Login Page - Create Account

Support Board


Date/Time: Wed, 12 Feb 2025 09:06:20 +0000



MoveToBreakEven ACSIL

View Count: 1565

[2017-05-05 10:57:09]
User571607 - Posts: 4
Hi,

How to set "Move to Breakeven for Stop" for Step 1 and step 2, if i use :

NewOrder.MoveToBreakEven.Type=MOVETO_BE_ACTION_TYPE_NEGATIVE_OFFSET_TRIGGERED;
NewOrder.MoveToBreakEven.TriggerOffsetInTicks= 4;
NewOrder.MoveToBreakEven.BreakEvenLevelOffsetInTicks= -6;

it only set "Step 1", and i can not find any example how to fill "Step 2"
Date Time Of Last Edit: 2017-05-05 11:00:08
[2017-05-05 16:57:13]
Sierra Chart Engineering - Posts: 104368
There is no support for Move to Breakeven for Stops >> Step 2 from ACSIL.
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
Date Time Of Last Edit: 2017-05-05 16:57:44
[2017-05-05 18:43:17]
User571607 - Posts: 4
Is any posibility that in the future it will be supported?
[2017-05-08 18:32:04]
Sierra Chart Engineering - Posts: 104368
Yes but we do not know when.
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
[2020-10-14 08:12:56]
User164131 - Posts: 19
Hello guys,

Do you have any news about support Step2 for BreakEven from ACSIL?
[2020-10-14 11:45:03]
Sierra Chart Engineering - Posts: 104368
Yes we will get this implemented this week.
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
[2020-10-19 14:27:19]
User164131 - Posts: 19
Hi,

I updated to v2183 and according to this info (https://www.sierrachart.com/index.php?page=doc/Whats_New.php&p=1#SCVer2183) you "Added the s_SCNewOrder::MoveToBreakEven_2 member to the ACSIL new order structure to set the settings for Step 2 for Move to Breakeven for Stops"

In the file "scstructures.h" I see:

struct s_MoveToBreakEven
{
  int Type = MOVETO_BE_ACTION_TYPE_NONE;
  int BreakEvenLevelOffsetInTicks = 0;
  int TriggerOffsetInTicks = 0;
  int TriggerOCOGroup = 0;
};

  s_MoveToBreakEven MoveToBreakEven;
and

//Version 18
s_MoveToBreakEven MoveToBreakEven_2;

How exactly we can use it in our code?

In tradingsystem.cpp example for BE_step_1 was:

NewOrder.MoveToBreakEven.Type = MOVETO_BE_ACTION_TYPE_OFFSET_TRIGGERED;
NewOrder.MoveToBreakEven.TriggerOffsetInTicks = 5;
NewOrder.MoveToBreakEven.BreakEvenLevelOffsetInTicks = 0;

[2020-10-20 08:51:49]
Sierra Chart Engineering - Posts: 104368
You would use it like this:
NewOrder.MoveToBreakEven_2.Type = MOVETO_BE_ACTION_TYPE_OFFSET_TRIGGERED;
NewOrder.MoveToBreakEven_2.TriggerOffsetInTicks = 5;
NewOrder.MoveToBreakEven_2.BreakEvenLevelOffsetInTicks = 0;

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:

Login

Login Page - Create Account