Support Board
Date/Time: Fri, 05 Jun 2026 21:12:50 +0000
Post From: How to create a stair stepped trailing line on a Renko chart
| [2026-06-05 16:25:52] |
| John - SC Support - Posts: 46532 |
|
We do not know anything about the "Kiwi Trailing Stop", as that is a User Contributed Study. You may be able to find the source code for this at the following link, in which case you can look through the code and see how it was implemented. User Contributed Advanced Custom Study System Source Code Without programming a custom study, you will not be able to get a "Stepped Trailing Stop", but you can get a continuous "Trailing Stop" by using the "Trade Management by Study" study along with another study that gives you the position you want based on what you stated - such as the "Spreadsheet Formula". For example, you would enter the following for the formula in a "Spreadsheet Formula" study: =IF(ID0.SG23 >= ID0.SG22, H - 40 * TICKSIZE, L - 40 * TICKSIZE) In order to get the position of the stop at the High/Low of the current bar minus 40 ticks based on direction. We are not certain which way you wanted the directionality, so this just gives you an idea of how to do it. Note that the High and Low of the Renko bars are the standard High and Low bar values, but the Open and Close are special, which is why ID0.SG22 and ID0.SG23 are used. Refer to the following: Renko Bar Charts: Renko Open, High, Low, Close Values Refer to the following: Spreadsheet Formula Attached Orders: Study Controlled Targets and Stops For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
