Login Page - Create Account

Support Board


Date/Time: Wed, 24 Apr 2024 03:47:15 +0000



Post From: custom study request

[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.