OPEN-SOURCE SCRIPT

Bollinger Bands ForLoop

מאת ‎Patito_1‎
Bollinger Bands ForLoop

OVERVIEW
BB ForLoop is an improved version of Bollinger Bands it is designed to calculate an array of values 1 or -1 depending if soruce for calculations is above or below basis.
It takes avereage of values over a range of lengths, providing trend signals smothed based on various moving averages in order to get rid of noise.
It offers flexibility with different signal modes and visual customizations.

TYPE OF SIGNALS
-FAST (MA > MA[1] or MA > 0.99)
-SLOW (MA > 0)
-THRESHOLD CROSSING (when cross above/below treshold set independently for both directions)
-FAST THRESHOLD (when there's change in signal by set margin e.g (0.4 -> 0.2) means bearsih when FT is set to 0.1, when MA is > 0.99 it will signal bullish, when MA < -0.99 it will signal bearish)

Generaly Lime color of line indicates Bullish, Fuchsia indicates Bearish.
This colors are not set in stone so you can change them in settings.

-Bullish Trend, line color is lime
-Bearish Trend, line color is fuchsia

Credit
Idea for this script was from one of indicators created by tradingview.com/u/InvestorUnknown/

Warning
Be careful when using this indicator especialy combining DEMA with FT (Fast Treshold).
This indicator can be really noisy depending on the settings, signal mode so it should be used preferably as a part of an strategy not as a stand alone indicator
Remember the lower the timeframe you use the more noise there is.
No single indicator should be used alone when making investment decisions.
bolingerbandBollinger Bands (BB)trendanalyseTrend AnalysisVolatilityvolatilty

סקריפט קוד פתוח

ברוח TradingView אמיתית, מחבר הסקריפט הזה פרסם אותו בקוד פתוח, כך שסוחרים יוכלו להבין ולאמת אותו. כל הכבוד למחבר! אתה יכול להשתמש בו בחינם, אבל השימוש החוזר בקוד זה בפרסום כפוף לכללי הבית. אתה יכול להכניס אותו למועדפים כדי להשתמש בו בגרף.

רוצה להשתמש בסקריפ זה בגרף?

כתב ויתור