# Joe Ross Measure bar script

#### MLlalala

##### Member
I have seen an idea similar to Joe ross measure bar, which is very powerful to identify market phase. Let me explain:

First i need to look back 10 bars back, define the range of each bar is high-low of each bar, then take 10 day average of this. Then i determine if the range of 10th bar back is 1.8(or any number) times that average range. If so, that 10th bar back is the measure bar and i need to mark it on the chart.

Next i wanna define range two as high[10]-low[10], which is the measure bar range. This is the moment i start to hunt for congestion.

Next i will check the 9th bar. This bar has to be included in the measure bar range, the highs and lows must be included, not only the body. Meanwhile, the range of this 9th bar needs to be higher than 50% the measure bar range.

Then I check the 8th bar back, the 7th bar back...... the 2nd bar back, the 1st bar back. ALL of them have to be inside the Measuring Bar and meet the above criterion. If this criterion met, then i wanna plot a number counting below each bar. If any of the bar in the range doesn't meet the criterion, which also means that bar breaks the measure bar range, then stop counting.

For instance, let say i find a measure bar, then the following 3 bars met criterion, then script should have marked an arrow below the measure bar and counted 1,2,3 for the following 3 bar, then the 4th bar breaks the range. Stop counting now and this means a potential start of trend.

Anyone can help with the script?

Solution
I have seen an idea similar to Joe ross measure bar, which is very powerful to identify market phase. Let me explain:

First i need to look back 10 bars back, define the range of each bar is high-low of each bar, then take 10 day average of this. Then i determine if the range of 10th bar back is 1.8(or any number) times that average range. If so, that 10th bar back is the measure bar and i need to mark it on the chart.

Next i wanna define range two as high[10]-low[10], which is the measure bar range. This is the moment i start to hunt for congestion.

Next i will check the 9th bar. This bar has to be included in the measure bar range, the highs and lows must be included, not only the body. Meanwhile, the range of this 9th bar needs...
I have seen an idea similar to Joe ross measure bar, which is very powerful to identify market phase. Let me explain:

First i need to look back 10 bars back, define the range of each bar is high-low of each bar, then take 10 day average of this. Then i determine if the range of 10th bar back is 1.8(or any number) times that average range. If so, that 10th bar back is the measure bar and i need to mark it on the chart.

Next i wanna define range two as high[10]-low[10], which is the measure bar range. This is the moment i start to hunt for congestion.

Next i will check the 9th bar. This bar has to be included in the measure bar range, the highs and lows must be included, not only the body. Meanwhile, the range of this 9th bar needs to be higher than 50% the measure bar range.

Then I check the 8th bar back, the 7th bar back...... the 2nd bar back, the 1st bar back. ALL of them have to be inside the Measuring Bar and meet the above criterion. If this criterion met, then i wanna plot a number counting below each bar. If any of the bar in the range doesn't meet the criterion, which also means that bar breaks the measure bar range, then stop counting.

For instance, let say i find a measure bar, then the following 3 bars met criterion, then script should have marked an arrow below the measure bar and counted 1,2,3 for the following 3 bar, then the 4th bar breaks the range. Stop counting now and this means a potential start of trend.

Anyone can help with the script?

this finds sequential inside bars after a big bar.
can choose to compare the wicks or the body.
It doesn't test that the big bar is some factor above an average. that would have to be added.

Last edited:

87k+ Posts
176 Online

## The Market Trading Game Changer

Join 2,500+ subscribers inside the useThinkScript VIP Membership Club
• Exclusive indicators
• Proven strategies & setups
• Private Discord community
• Exclusive members-only content
• 1 full year of unlimited support

What is useThinkScript?

useThinkScript is the #1 community of stock market investors using indicators and other tools to power their trading strategies. Traders of all skill levels use our forums to learn about scripting and indicators, help each other, and discover new ways to gain an edge in the markets.

How do I get started?

We get it. Our forum can be intimidating, if not overwhelming. With thousands of topics, tens of thousands of posts, our community has created an incredibly deep knowledge base for stock traders. No one can ever exhaust every resource provided on our site.

If you are new, or just looking for guidance, here are some helpful links to get you started.

What are the benefits of VIP Membership?