Login Page - Create Account

Support Board


Date/Time: Sun, 24 Nov 2024 18:30:56 +0000



Count Renko Bars in a certain period of time

View Count: 291

[2024-05-14 08:33:50]
User644833 - Posts: 9
I would like to develop a study similar to ATR that shows me the number of renko bars in a specified period of time. (e.g. how many Renko candles were counted in the last hour)
Is this possible?
[2024-05-14 12:26:27]
emmanuel - Posts: 57
Renko bars can be counted; Meaning, each one has an index number. And Renko bars also contain date-time data; ex. sc.BaseDateTimeIn[sc.Index].GetTime()

Therefore, yes it's possible to count how many of them there are within a time period.
[2024-05-14 12:34:25]
User644833 - Posts: 9
Thank you very much which SC study would be best suited to simply map something like this
[2024-05-14 18:16:21]
emmanuel - Posts: 57
Try the study in the following link. You can see the bar counts in the bottom section of the chart; It's in a separate chart region.

https://drive.proton.me/urls/1Y0T2TWHRW#5LqlVrBj32PJ

I find it quite funny that the screenshot file size is larger than the study DLL itself.
imageBarCountPerDuration.png / V - Attached On 2024-05-14 18:07:52 UTC - Size: 287.52 KB - 70 views
Private File
Attachment Deleted.
[2024-05-14 18:33:18]
User644833 - Posts: 9
Thank you very much!
This study would be extremely helpful to me.
I have copied the dll into the SC Data directory.
Unfortunately I can't find the study.
Do you have a tip?

I have found the Problem. I need for the Study a higher SC Version
Date Time Of Last Edit: 2024-05-14 18:44:21
[2024-05-14 18:43:46]
emmanuel - Posts: 57
To add the study, go to Analysis -> Study -> Add Custom Study
[2024-05-14 18:49:53]
User644833 - Posts: 9
works perfectly
This is exactly what I was looking for.
1000 thanks for your solution

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

Login

Login Page - Create Account