Login Page - Create Account

Support Board


Date/Time: Tue, 26 Nov 2024 17:42:22 +0000



[User Discussion] - Custom trailing stop

View Count: 1628

[2014-06-05 12:08:43]
djcurcio - Posts: 236
Does anyone have the code for or would build a custom trailing stop?
Initially it would have a preset stop loss from the entry.
Then it would monitor the Keltner mid average line.
When the price rise above (or below for a short) the Keltner mid line the stop would move up to a preset that would be equal to the entry price plus a user input increment. For example entry plus 2 ticks.
Then the stop would trail up and adjust the stop until the stop would be changed to an increment above or below the Keltner mid - for example Kmid - 2 ticks.
Thoughts appreciated.
[2014-06-05 16:28:31]
namlem - Posts: 94
just a thought, probably you can start looking at AutomatedTradeManagementBySubgraph.cpp... you will find it in SierraChart ACS_Source directory.

Date Time Of Last Edit: 2014-06-05 16:28:46
[2014-06-05 16:45:30]
Sawtooth - Posts: 4120
You can also use the Trade Management By Study study based on values in a spreadsheet study.
http://www.sierrachart.com/index.php?l=doc/doc_AttachedOrders.html#StudyControlledTargetsStops


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

Login

Login Page - Create Account