Support Board
Date/Time: Sun, 24 Nov 2024 06:28:24 +0000
[User Discussion] - Three Timeframe Bars
View Count: 2021
[2013-07-17 08:25:51] |
Kiwi - Posts: 375 |
I follow an old tradition of using three timeframes when trading. Earlier Kiwi dlls had functions for this purpose. This one is slightly different in that it provides a high and low map for the two timeframes higher than the chart to which it is applied. So if 1 min is your "tuning timeframe", 5 min is your trading timeframe, and 15 min is your higher timeframe it shows you a 15m and 5m background on the 1m chart. It colors the background bars by the highest timeframe direction but you could modify the code (included) to reverse that if you wanted. Picture::: http://www.sierrachart.com/Download.php?Folder=SupportBoard&download=823 DLL::: http://www.sierrachart.com/Download.php?Folder=SupportBoard&download=824 Study Collection for the Picture::: http://www.sierrachart.com/Download.php?Folder=SupportBoard&download=826 Code ::: http://www.sierrachart.com/Download.php?Folder=SupportBoard&download=825 Enjoy :) Date Time Of Last Edit: 2013-07-17 08:29:20
|
kzis2013-07-17_18:18.png / V - Attached On 2013-07-17 08:23:08 UTC - Size: 31.76 KB - 1001 views kiwi13.dll - Attached On 2013-07-17 08:24:04 UTC - Size: 36.5 KB - 833 views kiwi13.cpp - Attached On 2013-07-17 08:24:28 UTC - Size: 10.52 KB - 856 views Two TF Bars.StdyCollct - Attached On 2013-07-17 08:25:24 UTC - Size: 9.39 KB - 841 views |
[2013-07-19 06:48:53] |
Kiwi - Posts: 375 |
An oversight resulted in occasional "colouring" mistakes in real time. Fixed. . |
kiwi13.cpp - Attached On 2013-07-19 06:48:28 UTC - Size: 10.91 KB - 726 views kiwi13.dll - Attached On 2013-07-19 06:48:43 UTC - Size: 36 KB - 601 views |
[2013-07-19 14:41:42] |
crossiman - Posts: 29 |
Kiwi, another thanks for your work. You are the greatest !! Only 2 questions: What exactly mean the two colours ? And is it also possible to use this study collection also on tick or seconds charts ? |
[2013-07-20 12:02:46] |
Kiwi - Posts: 375 |
The colours indicate that the highest timeframe is swinging up or down. They change when the prior swings lowest high / highest low is exceded by x (settable). It will work on any time frame but you'll need to rewrite it to count ticks instead of seconds for tick charts. Not impossible, it would just require a bit of thought about the lines: TIME_TO_HMS(sc.BaseDateTimeIn[pos].GetTime(),h0,m0,m); if( fmod(float(m0), timeh) == 0 ) Date Time Of Last Edit: 2013-07-20 12:05:18
|
[2013-07-31 16:46:02] |
Tintin - Posts: 23 |
Kiwi, Many thanks ! |
[2013-09-26 09:01:16] |
crossiman - Posts: 29 |
Kiwi, sorry I could not get it work... If I have a 30sec.-chart and I want your study working for the high multiplier = 5 min. and the medium multiplier = 1min. the background colours are not displayed correctly. Can you help me here ? Many thanks ! |
To post a message in this thread, you need to log in with your Sierra Chart account: