Login Page - Create Account

Support Board


Date/Time: Sun, 05 May 2024 10:05:07 +0000



Post From: Shift by price

[2014-08-02 17:55:32]
vegasfoster - Posts: 444
I modified Sock Renko bars. I started with this because I have worked with them a lot and could do it relatively quickly. Try it out and if it's not what you want, then I can take a look at doing it the other way, but it may take a few days to get to it.

The only real difference is that with a study you could overlay on a regular chart, but with custom bars like this you would have to add the chart then overlay it on the regular chart, i.e. have 2 charts open. I did add subgraphs for the original OHLC, OHLC Average, HL Average, HLC Average, and OC Average. You can't display them with a custom chart, but you can use them for inputs for other studies, for example you could add an SMA(Original Close, 1) and plot as dash so you could see the original close as a dash line on your shifted chart.

Also, I have NOT tested or validated any of the plots or subgraph calculations, you will need to go through and check everything before using it. Let me know if you see any problems. Put the ChartShift.dll file in your SierraChart/Data folder and press F6>>Add Custom Study>>ChartShift.
attachmentChartShift.dll - Attached On 2014-08-02 17:53:05 UTC - Size: 26 KB - 370 views
attachmentChartShift.cpp - Attached On 2014-08-02 17:53:19 UTC - Size: 5.91 KB - 447 views