Login Page - Create Account

Support Board


Date/Time: Thu, 13 Feb 2025 03:51:30 +0000



[User Discussion] - order entry and exit

View Count: 558

[2020-11-24 20:41:26]
coachted - Posts: 348
I am currently working on a strategy that I would enter at 3 different levels.... I would like to know could SC can automate a stop based on the average of the entries and also can SC scale out based on the average of those entries?


for example: +1 contract @ 97.5, +2 contracts @96.25, and 3 contracts @ 95... avergae price = 95.83...a stop would be entered at 3.25 rounded down to the nearest .25...so this stop would be 92.5

the exit would consist of 1st target, 1/3 the position, at +2 pts from the average, the second target would be +4.5 rounded down to the nearest .25 ( so for this example the target would be 100.25), and the remaining contract would have a trailing stop after the 2nd target is hit...the trailing stop would of 62% retracement from the highest price from the average entry price..so for this example avg entry is 95.83....lets hypothetically state that price goes to 104....that is a difference of 8.17...i would like the trailing stop to be 98.93 (round down to the nearest .25, so in essence 98.75)...the price would trail at the fixed 62% retracment level or until moved manually, filled, or cancelled.
[2020-11-24 21:57:41]
Sawtooth - Posts: 4173
This would require a custom study using ACSIL.
[2020-11-24 22:01:34]
coachted - Posts: 348
i have no idea how to write acsil...what are my options?
[2020-11-24 22:31:38]
Sawtooth - Posts: 4173
Here's a list of programmers:
https://www.sierrachart.com/index.php?page=doc/SierraChartStudyAndSystemProgrammers.php

Maybe one of them will see this thread.

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account