Help on coding a scan for Jake Bernstein's MA Channel strategy.

I was looking to develop a scan for Jake Bersiens MA average channel strategy. I made a scan in the TOS scanner, but it does not do the consecutive days right. The scan is for two consecutive days above the 10 MA of the highs followed by a dip (low) below the 10 MA high channel touching or close to the 8 days MA of the low. I am new to coding, so I have an idea how to do the consecutive day part. I want to only look no more than 10 days back as this a good time frame for the price to correct back to the channel bottom. Any help would be appreciated, and if more information is needed, please let me know
YXf5hd7.png

u2CiVNU.png
 
I was looking to develop a scan for Jake Bersiens MA average channel strategy. I made a scan in the TOS scanner, but it does not do the consecutive days right. The scan is for two consecutive days above the 10 MA of the highs followed by a dip (low) below the 10 MA high channel touching or close to the 8 days MA of the low. I am new to coding, so I have an idea how to do the consecutive day part. I want to only look no more than 10 days back as this a good time frame for the price to correct back to the channel bottom. Any help would be appreciated, and if more information is needed, please let me know
YXf5hd7.png

u2CiVNU.png
Here is exactly what I was looking for. Two consecutive days above with a retracement to the lower MA line
h7FgWa0.png
 
You need to compare two consecutive bars as part of your conditional code, similar to price <meets criteria> and price[1] <meets criteria>, whether part of within x bars or not... See if that gets you headed in the right direction...
 

Join useThinkScript to post your question to a community of 21,000+ developers and traders.

Similar threads

Not the exact question you're looking for?

Start a new thread and receive assistance from our community.

87k+ Posts
336 Online
Create Post

Similar threads

Similar threads

The Market Trading Game Changer

Join 2,500+ subscribers inside the useThinkScript VIP Membership Club
  • Exclusive indicators
  • Proven strategies & setups
  • Private Discord community
  • ‘Buy The Dip’ signal alerts
  • Exclusive members-only content
  • Add-ons and resources
  • 1 full year of unlimited support

Frequently Asked Questions

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?
VIP members get exclusive access to these proven and tested premium indicators: Buy the Dip, Advanced Market Moves 2.0, Take Profit, and Volatility Trading Range. In addition, VIP members get access to over 50 VIP-only custom indicators, add-ons, and strategies, private VIP-only forums, private Discord channel to discuss trades and strategies in real-time, customer support, trade alerts, and much more. Learn all about VIP membership here.
How can I access the premium indicators?
To access the premium indicators, which are plug and play ready, sign up for VIP membership here.
Back
Top