Login Page - Create Account

Support Board


Date/Time: Mon, 30 Mar 2020 22:51:09 +0000



[Programming Help] - custom study request

[2019-07-08 08:01:05]
User954185 - Posts: 7 | Ending Date: 2020-04-17
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: 666 | Ending Date: 2020-09-04
Hi,

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


Study: BAR compare



More information:
https://www.sierrachart.com/SupportBoard.php?ThreadID=20360#P184349
Date Time Of Last Edit: 2019-07-08 09:16:41
imageBAR compare.png / V - Attached On 2019-07-08 09:16:38 UTC - Size: 23.67 KB - 58 views

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

Login

Login Page - Create Account