Hi there,
I am trying to code 24 hour mid and or RTH session midline for ES.
I've tried using highS, lowS but that only returns mid point of High and Low of last period..
Just seeing if there is an easy answer for this one.
Thank you in advance,
Michael
Plotting RTH midline for ES
- TJ
- Posts: 7743
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2223 times
Re: Plotting RTH midline for ES
What is your chart resolution?Hi there,
I am trying to code 24 hour mid and or RTH session midline for ES.
I've tried using highS, lowS but that only returns mid point of High and Low of last period..
Just seeing if there is an easy answer for this one.
Thank you in advance,
Michael
Re: Plotting RTH midline for ES
Hi Tj,
I will be using the indicator for 1 min, 5 min, 20 min and 60 min charts....
I will be using the indicator for 1 min, 5 min, 20 min and 60 min charts....
- TJ
- Posts: 7743
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2223 times
Re: Plotting RTH midline for ES
Hi Tj,
I will be using the indicator for 1 min, 5 min, 20 min and 60 min charts....
Have you tried HighS(0) ?
Re: Plotting RTH midline for ES
I was able to do it... I used midpoint and last 15 hours for ES to approximate last 24 hours. This was for a 60 minute chart... just have to adjust equivalent of 15 hours for 20 min, 5 min, etc.
inputs:
n(15);
Plot1( MidPoint(( High + Low ) * 0.5, n));
inputs:
n(15);
Plot1( MidPoint(( High + Low ) * 0.5, n));
- TJ
- Posts: 7743
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2223 times
- TJ
- Posts: 7743
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2223 times
Re: Plotting RTH midline for ES
I don't understand your issue.
If you need further help,
please post a screenshot of the chart,
write notes on the chart
illustrating what is the problem,
and what needs to be done.
If you need further help,
please post a screenshot of the chart,
write notes on the chart
illustrating what is the problem,
and what needs to be done.