Login Page - Create Account

Support Board


Date/Time: Wed, 08 May 2024 04:51:46 +0000



Post From: Linked Windows - Bar Period Ratio

[2014-03-19 10:37:52]
tobi - Posts: 351
I think I can help you with that. Kiwi helped me with that some time back. For reference please see here:
http://www.sierrachart.com/supportboard/showthread.php?t=37404&highlight=timeframe

Please see the attached files. The attached dll is working for tick-charts and time-charts.

Copy the "linked-timeframes.dll" into your SC data folder.
Go to your Window #1 click Analysis >> Studies >> Add Custom Study and choose "Tick charts - Master" from the "Linked-TF" study. Click Ok 2x.
Go to your Window #2 click Analysis >> Studies >> Add Custom Study and choose "Tick charts - Linked" from the "Linked-TF" study. In the study settings, choose the chart # that contains the Master-TF study and choose this study. In the "factor/fraction" field choose 5. Click Ok 2x.

Now, when the you change the tick-period in Window #1 the tick-period in Windows #2 will change accordingly.

If you want to use this on time-charts, you have to use the "Time charts - ..." studies.

I've also added a chartbook (cht-file) as an example and the cpp-file in case you want to change anything.


attachmentlinked-timeframes.dll - Attached On 2014-03-19 10:16:08 UTC - Size: 18.5 KB - 331 views
attachmentlinked-timeframes.cpp - Attached On 2014-03-19 10:16:16 UTC - Size: 3.77 KB - 429 views
Attachment Deleted.
attachmentlinked-TF.cht - Attached On 2014-03-19 10:16:28 UTC - Size: 57.59 KB - 335 views