TNTrader5159
Active member
Can I reference the current timeframe (eg have a 30-minute timeframe returns 30) in order to calculate a minimum pattern height in price differences basis the average bar size of the timeframe being referenced?
I would key a security for the 1-minute timeframe as an EMA of the 1-bar ATR of that timeframe and multiply the minimum pattern size by the square root of the pattern as a multiple of 1. A 4-minute chart minimum pattern height would therefore be double the minimum height of the 1-minute timeframe as a 144-bar Exponential Moving Average of the Average True Range of that timeframe multiplied by the square root of the number of minutes per bar.
Thanks in advance!
I would key a security for the 1-minute timeframe as an EMA of the 1-bar ATR of that timeframe and multiply the minimum pattern size by the square root of the pattern as a multiple of 1. A 4-minute chart minimum pattern height would therefore be double the minimum height of the 1-minute timeframe as a 144-bar Exponential Moving Average of the Average True Range of that timeframe multiplied by the square root of the number of minutes per bar.
Thanks in advance!