Alert if the price increases or decreases by 15 pts on /ES futures within 5 mins


New member
Hi, I want to create an alert if the price increases or decreases by 13 pts on /ES futures within less than or equal to 5 mins.
For ex: I'm on a 1 minute chart. Day started on 06:00 PM 3/16.
Very first bar opened at 4000, high is 4004, low of the bar is 3998. close is 4002. high is 4004.
Then , in next 1 min candle, open is 4002.25, high is 4006, low is 4002.25, close is 4004.
In next min candle, open is 4004, high is 4004, low is 3987, close is 3992.

At this point, high was 4004 and low is 3987 but i want to get an alert when the current price of the bar reaches the difference of 13. so get an alert at 3991. Is this possible?
Idea for this alert is to enter an order to other side for a quick scalp. Because when the price decreases or increases so quickly, there will be a slight pull back and i want to catch that pull back by doing a quick scalp. I am new to the scripting and needs some help from this community. Thanks in Advance.
on 1 minutes bar use condition abs(close - close[1]) > 13 or abs(close - close[2]) > 13 or abs(close - close[3]) > 13 or abs(close - close[4]) > 13 or abs(close - close[5) > 13;

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
133 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.