Login Page - Create Account

Support Board


Date/Time: Thu, 28 Mar 2024 23:41:04 +0000



What is midpoint function?

View Count: 1215

[2018-07-30 12:53:23]
patrader - Posts: 92
I'm trying to color the background when last price (close) > midpoint of the currently developing bar. Is there a function I can reference for the midpoint?
[2018-07-30 17:57:49]
Sierra Chart Engineering - Posts: 104368
If you are referring to the identifier which would be used in an alert formula for a study, this is it:
HL = Average of High and Low of the bar
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2021-10-11 22:16:05]
User227791 - Posts: 21
Is there an indicator that will plot the mid-point of each bar as a dot? (H + L) / 2 and done in real time? Should not be hard to do this, but I have absolutely no idea how to go about making this very simple indicator, and it would be very useful if available.

Please help?

Thanks!
[2021-10-12 15:02:31]
John - SC Support - Posts: 30444
There are a number of ways to do what you are wanting. In this case, since the average of High and Low is already calculated as part of the Main Price Graph, the easiest thing to do is to use the Study Subgraph Reference and set the Study Subgraph to Reference to HL Avg (note that the <Main Price Graph> is the default Based On setting, so you can just select the HL Avg directly). Refer to the following for the Study Subgraph Reference:
Study Subgraph Reference

Then you can change the Draw Style to what you want to mark the center of the bar. Refer to the following:
Chart Studies: Subgraphs Tab >> Draw Style

Just a note - there are two different studies that have similar names - Study Subgraph Reference and Study Subgraphs Reference. Note the extra s in the second one for the word Subgraphs. You just want the singular version.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2021-10-12 15:02:46
[2021-10-12 15:30:34]
User227791 - Posts: 21
"If you are referring to the identifier which would be used in an alert formula for a study, this is it:
HL = Average of High and Low of the bar "

Great! Now how can I use this to make very simple graphical DOT on a price bar or candle at the midpoint that updates as the bar range expands?

I have zero knowledge about how to use the editor function, assuming there is one? I sucked at EZ Language (nothing easy about it) and have no clue about how to attempt to write something for Sierra Charts.

PLEASE HELP?
[2021-10-12 17:18:19]
John - SC Support - Posts: 30444
We are not telling you to have to write any code. There is a study called Study Subgraph Reference. Add this to your chart by following these instructions:
Chart Studies: Adding/Modifying Chart Studies

Then open the settings for that study by following these instructions:
Chart Studies: Study Settings Window

On that settings window, you will see an entry for Study Subgraph to Reference. Select that Input and you will get information at the bottom of that window that you can change for that Input. Set the dropdown on the right (leave the one on the left that says <Main Price Graph> alone) to HL Avg. Refer to the following:
Chart Studies: Settings and Inputs tab

Also on the Settings window for that study, set the Region to 1, so it is the same as the main price graph. Refer to the following:
Chart Studies: Settings and Inputs Tab >> Chart Region

Then, you would change the draw style to an item like Plus so you can see it marked on the chart. Refer to the following:
Chart Studies: Subgraphs Tab
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing

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

Login

Login Page - Create Account