OPEN-SOURCE SCRIPT
Updated

bpa

3 657
An indicator for Brooks Price Action style of trading.

- 20 exponential moving average from 5, 15 and 60min charts
- high, low, close of yesterday
- open of the week
- open, high, low, close of last week
- session average daily range
- body gaps
- breakout mode patterns, ioi, ii, oo
- bar count
- easy switching from spy/es/us500 charts (different closing times) and some others that would require changing session input like dax, eurusd, ftse
- some stats about scalp, swing, stop loss in the info table, based on the books

If you like it, consider donating!

buymeacoffee.com/
paypal.com/paypalme/yohtza

Checkout more projects on my website : yohtza.trade
Release Notes
Added a session ema per request. It is useful for cfd charts that are showing bars from extended trading hours and there is no option to show only regular trading hours. You might have to change the session open and close times since the inputs are in exchange time zone. Default inputs work for spx, spy, us500 from currency.com and maybe some others.
Release Notes
corrected a typo
Release Notes
fixed session ema inputs
Release Notes
Added a different color for bars that are also hourly close
Release Notes
- added an option to change the size of labels
- some info table fixes for forex
Release Notes
current session range fix when the market is not in session
Release Notes
fixed an issue with a bar count which appears after holiday early close
Release Notes
added nifty to the list of markets that get automatically recognized when switching between charts
Release Notes
Breakout mode patterns now appear only in trading session
Release Notes
Added an option to extend open body gaps to the latest bar
Release Notes
added gap size to info table
Release Notes
added horizontal lines for open, high, low and close of previous month
Release Notes
sma 50, 100, 150, 200 are now showing when on daily, weekly or monthly timeframe
Release Notes
- oil and gold futures sessions are now automatically recognized
- info table should now show correct values for all financial instruments
Release Notes
- added ability to chose between using session presets and session start and end in the session input
- added globex high/low, only available on charts with extended trading hours data
Release Notes
- removed preset session times since the inconsistencies between chart providers daylight savings time transitions makes it difficult to handle all cases

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.