Login Page - Create Account

Support Board


Date/Time: Mon, 06 May 2024 10:08:58 +0000



[Programming Help] - custom study request

View Count: 1150

[2019-07-08 08:01:05]
User954185 - Posts: 7
Hi sierra chart engineering,

I'm not a great programmer, but I've got a study request that i'm sure you guys could do in your sleep. If you guys could help that would be GREAT!, if not please let me know.

Thank you very much!

Simple overview:

the study compares the current bar and whether its midpoint is above/below the previous bar. At the same time the previous bar midpoint must be below the current bar low. then draws an up arrow under it.

It also checks the current bar midpoint is LOWER than the previous bar low. And also if the previous bar midpoint is above the current bar midpoint high. then draws a down arrow above the current bar.

So far i worked up some logic:

If the half way point of the current bar is greater than the high of the previous bar, AND the previous bar halfway point is lower than the low of the current bar, it draws an up arrow underneath the current bar.

If the half way point of the current bar is lower than the low of the previous bar, AND the previous bar halfway point is ABOVE the high of the current bar, THen it draws a down arrow above the current bar.
[2019-07-08 09:08:27]
Ackin - Posts: 1865
Hi,

It's possible download it for free from our CZ/SK forum.


Study: BAR compare



contact link:
https://www.sierrachart.com/UserControlPanel.php?page=StudyStore&SCDLLName=zyp_download_free
Date Time Of Last Edit: 2020-06-24 22:30:06

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

Login

Login Page - Create Account