tradeforopp

Balanced Price Range (BPR)

tradeforopp Uppdaterad   
This script finds BPR's, which some simply refer to as a "double Fair Value Gap" (FVG). In a BPR, there is an overlapping vertical area between a recent bullish and bearish FVG. You may tune the parameters to filter out smaller FVG's or BPR's, as well as how far back the indicator must look to find a matching pair.
Versionsinformation:
Two updates:

1. You can edit the color used to draw the BPR boxes
2. New "Only Clean BPR" setting that, when checked, doesn't show BPR's when price interferes with the range prior to its creation. Leaving it off will show all BPR's regardless of how price traded in between the bearish and bullish FVG's
Versionsinformation:
Updating the chart image
Versionsinformation:
Fixed minor issue with the last update regarding "Only Clean BPR" setting
Versionsinformation:
Updated the threshold values such that:

1. The default value is 0 for both, that way all BPR's will show (to avoid confusion for new users)
2. Valid FVG's and BPR's will be considered if their range is greater than *or equal to* the threshold value, instead of greater than
Versionsinformation:
Two updates:

1. You can now add alerts that will tell you when a new BPR is created
2. New "Delete Old BPR" setting that, when enabled, will delete all old BPR's that have been invalidated or overwritten
Versionsinformation:
Edited alert function so that users can edit the message sent when a new BPR is created
Versionsinformation:
Fixed an issue where BPR's were being created and alerted before the following candle had a chance to invalidate the range (needed to delay bear/bull signals by one bar)
Versionsinformation:
Removed the FVG threshold to avoid confusion. All FVGs will now be considered for a potential BPR
Versionsinformation:
Updating thumbnail image
Versionsinformation:
Updated script titles

Skript med en öppen källkod

I sann TradingView-anda har författaren publicerat detta skript med öppen källkod så att andra handlare kan förstå och verifiera det. Hatten av för författaren! Du kan använda det gratis men återanvändning av den här koden i en publikation regleras av våra ordningsregler. Du kan ange den som favorit för att använda den i ett diagram.

Frånsägelse av ansvar

Informationen och publikationerna är inte avsedda att vara, och utgör inte heller finansiella, investerings-, handels- eller andra typer av råd eller rekommendationer som tillhandahålls eller stöds av TradingView. Läs mer i Användarvillkoren.

Vill du använda det här skriptet i ett diagram?