ATT Trading Method(Candle Counting)

BannonMan85

New member
I saw this method on youtube and thought that it was interesting. It counts candles to look for possible pivots in the market using prime numbers. The range or "container" is 60 candles. Within that 60 candles you are looking for highs or lows at candle 3, 11, 17, 29, 41, 47, 53 and 59. the question I have is, is there a way to create a candle counting script for this methods prime numbers that will either chart actual numbers or points at the candles?

One of the other things when watching the videos is that it could be off by one candle before or after the numbered candle. It seems to be looking for a pivot near these prime numbers. The script would have to be adjustable for the time frames because they don't work the same and the best time to start intraday is 10 or 11 EST.

1 min= 1 hour, 2 min = 2 hour, 3 min = 3 hour, 4 min = 4 hour, 5 min = 5 hour, 6 min = 6 hour, 15 min = 2 days, 30 min = 1 week, 1 hour = 2 weeks, 2 hours = month, 1 day = Quarter, 4 days = 1 year



Here is a tradingview script that I found https://www.tradingview.com/script/s8z9ufrr-ATT-FFSJR/ :
Code:
//@version=5
indicator("ATT #FFSJR", overlay=true)
att1 = 3
att2 = 11
att3 = 17
att4 = 29
att5 = 41
att6 = 47
att7 = 53
 
Last edited:
//@version=5
indicator("ATT #FFSJR", overlay=true)
att1 = 3
att2 = 11
att3 = 17
att4 = 29
att5 = 41
att6 = 47
att7 = 53
att8 = 59
setHour = input.int(0, 'ATT Hour', minval = 0)
lineCss = input.color(color.new(#000000, 70), 'ATT Line', group = 'Style')
horarios = array.new_int(8)
array.set(horarios, 0, timestamp("GMT-5", year, month, dayofmonth, setHour, att1))
array.set(horarios, 1, timestamp("GMT-5", year, month, dayofmonth, setHour, att2))
array.set(horarios, 2, timestamp("GMT-5", year, month, dayofmonth, setHour, att3))
array.set(horarios, 3, timestamp("GMT-5", year, month, dayofmonth, setHour, att4))
array.set(horarios, 4, timestamp("GMT-5", year, month, dayofmonth, setHour, att5))
array.set(horarios, 5, timestamp("GMT-5", year, month, dayofmonth, setHour, att6))
array.set(horarios, 6, timestamp("GMT-5", year, month, dayofmonth, setHour, att7))
array.set(horarios, 7, timestamp("GMT-5", year, month, dayofmonth, setHour, 59))
fator_ampliacao = 2.0
for i = 0 to 7
if (time == array.get(horarios, i))
// Expandindo as linhas verticais
linha_altura = (high - low) * fator_ampliacao
y1 = low - linha_altura / 2
y2 = high + linha_altura / 2
line.new(x1=bar_index, y1=20000, x2=bar_index, y2=22000, color=lineCss, width=1, style=line.style_dotted)
 

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
374 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