Plotting RTH midline for ES

Questions about MultiCharts and user contributed studies.
mic645
Posts: 10
Joined: 31 Jan 2014
Has thanked: 1 time

Plotting RTH midline for ES

Postby mic645 » 13 Apr 2018

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

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: Plotting RTH midline for ES

Postby TJ » 14 Apr 2018

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
What is your chart resolution?

mic645
Posts: 10
Joined: 31 Jan 2014
Has thanked: 1 time

Re: Plotting RTH midline for ES

Postby mic645 » 14 Apr 2018

Hi Tj,

I will be using the indicator for 1 min, 5 min, 20 min and 60 min charts....

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: Plotting RTH midline for ES

Postby TJ » 14 Apr 2018

Hi Tj,

I will be using the indicator for 1 min, 5 min, 20 min and 60 min charts....

Have you tried HighS(0) ?

mic645
Posts: 10
Joined: 31 Jan 2014
Has thanked: 1 time

Re: Plotting RTH midline for ES

Postby mic645 » 15 Apr 2018

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));

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: Plotting RTH midline for ES

Postby TJ » 15 Apr 2018

Please see post #1 and #2
viewtopic.php?t=11713

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: Plotting RTH midline for ES

Postby TJ » 15 Apr 2018

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.


Return to “MultiCharts”