Noro's Trend MAs Strategy v2.0Don't use on pairs of type "crypto/crypto"!
Only for pairs like "crypto/fiat" ("BTC/USD", "BTC/CNY", "ETH/USD", "ETH/CNY", etc)
Trade strategy which uses only 2 MA.
The slow MA (blue) is used for definition of a trend
The fast MA (red) is used for an entrance to the transaction
For:
- For H1
- For crypto/fiat
- Good for "BTC/USD", "ETH/USD"
Recomended:
Long = true (if it is profitable as a result of backtests)
Short = true (if it is profitable as a result of backtests)
Stops = false
Stop, % = any
OHLC4 = any
Use Fast MA = true
Fast MA Period = 5
Slow MA Period = 21
Bars Q = (2 for "bitcoin/fiat" or 1 for "crypto/fiat")
Extreme = true (if "crypto/fiat")
In the new version 2.0
- CryptoBottom is added
스크립트에서 "profitable"에 대해 찾기
Noro's Trend MAs Strategy v1.9 ExtremeExtreme version of Noro's Trend MAs strategy.
Don't use on pairs of type "crypto/crypto"!
Only for pairs like "crypto/fiat" ("BTC/USD", "BTC/CNY", "ETH/USD", "ETH/CNY", etc)
Trade strategy which uses only 2 MA.
The slow MA (blue) is used for definition of a trend
The fast MA (red) is used for an entrance to the transaction
For:
- For H1
- For crypto/fiat
- Good for "BTC/USD", "ETH/USD"
Recomended:
Long = true (if it is profitable as a result of backtests)
Short = true (if it is profitable as a result of backtests)
Stops = false
Stop, % = any
OHLC4 = any
Use Fast MA = true
Fast MA Period = 5
Slow MA Period = 21
Bars Q = (2 for "bitcoin/fiat" or 1 for "crypto/fiat")
Extreme = true (if "crypto/fiat")
In the new version 1.9
- Extreme is added
Noro's Trend MAs Strategy v1.8Trade strategy which uses only 2 MA.
The slow MA (blue) is used for definition of a trend
The fast MA (red) is used for an entrance to the transaction
For:
- For H1
- For crypto/fiat or crypto/crypto
- Good for "BTC/USD", "ETH/USD", "ETH/BTC"
Recomended:
Long = true (if it is profitable as a result of backtests)
Short = true (if it is profitable as a result of backtests)
Stops = false
Stop, % = any
OHLC4 = any
Use Fast MA = true
Fast MA Period = 5
Slow MA Period = 21
Bars Q = (2 for "bitcoin/fiat" or 1 for "crypto/fiat" or 0 for "crypto/crypto")
In the new version 1.8
- The second PriceChannel is added
- Profit became more
- Losses became less
- The unnecessary types of MA are removed
Noro's Trend MAs Strategy v1.7Trade strategy which uses only 2 MA.
The slow MA (blue) is used for definition of a trend
The fast MA (red) is used for an entrance to the transaction
For:
- For H1
- For crypto/fiat
Recomended:
Long = true (if it is profitable as a result of backtests)
Short = true (if it is profitable as a result of backtests)
Stops = false
Stop, % = any
Type of slow MA = 7 (only for Crypto/Fiat)
Source of slow MA = close or OHLC4
Use Fast MA = true
Fast MA Period = 5
Slow MA Period = 20
Bars Q = (2 for "BitCoin/Fiat" or 1 for "Fork/Fiat")
In the new version 1.7
+ stoporders
+ entry arrow (black)
Types of slow MA:
1 = SMA = Simple Moving Average
2 = EMA = Exponential Moving Average
3 = VWMA = Volume-Weighted Moving Average
4 = DEMA = Double Exponential Moving Average
5 = TEMA = Triple Exponential Moving Average
6 = KAMA = Kaufman's Adaptive Moving Average
7 = Price Channel
Noro's Trend MAs Strategy v1.6Trade strategy which uses only 2 MA.
The slow MA (blue) is used for definition of a trend
The fast MA (red) is used for an entrance to the transaction
For:
- For H1
- For crypto/fiat
Recomended:
Long = true (if it is profitable as a result of backtests)
Short = true (if it is profitable as a result of backtests)
Type of slow MA = 7 (only for Crypto/Fiat)
Source of slow MA = close or OHLC4
Use Fast MA = true
Fast MA Period = 5
Slow MA Period = 20
Bars Q = (2 for "BitCoin/Fiat" or 1 for "Fork/Fiat")
In the new version 1.5
+ Profit became more
+ Losses became less
+ Alerts
+ Background (lime = uptrend, red = downtrend)
Types of slow MA:
1 = SMA = Simple Moving Average
2 = EMA = Exponential Moving Average
3 = VWMA = Volume-Weighted Moving Average
4 = DEMA = Double Exponential Moving Average
5 = TEMA = Triple Exponential Moving Average
6 = KAMA = Kaufman's Adaptive Moving Average
7 = Price Channel
Noro's Trend MAs Strategy 1.5Trade strategy which uses only 2 MA .
The slow MA (blue) is used for definition of a trend
The fast MA (red) is used for an entrance to the transaction
For:
- For H1
- For crypto/fiat
Recomended:
Long = true (if it is profitable as a result of backtests)
Short = true (if it is profitable as a result of backtests)
Type of slow MA = 7 (only for Crypto/Fiat)
Source of slow MA = clole or OHLC4
Use Fast MA = true
Fast MA Period = 5
Slow MA Period = 20
Bars Q = (2 for "BitCoin/Fiat" or 1 for "Fork/Fiat")
In the new version 1.5
+ Source
+ Types of slow MA
Types of slow MA:
1 = SMA = Simple Moving Average
2 = EMA = Exponential Moving Average
3 = VWMA = Volume-Weighted Moving Average
4 = DEMA = Double Exponential Moving Average
5 = TEMA = Triple Exponential Moving Average
6 = KAMA = Kaufman's Adaptive Moving Average
7 = Price Channel
PS: 100000000%, because of use of a piramiding have turned out
Noro's Trend SMA Strategy v1.4Trade strategy which uses only 2 SMA .
The slow SMA (blue) is used for definition of a trend
The fast SMA (red) is used for an entrance to the transaction
Recomended:
For H1
For crypto/fiat
Long = true (if it is profitable as a result of backtests)
Short = true (if it is profitable as a result of backtests)
Use Fast SMA = true
Fast SMA Period = 5
Slow SMA Period = 20
Bars = (2 for "BitCoin/Fiat" or 1 for "Fork/Fiat")
In the new version 1.4
- Parameters are added
Russian:
Перевожу на понятный. В новой версии 1.4 ничего не поменялось в логике, работает так же. Но добавлены новые параметры, можно поэкспериментировать с настройками, убедиться как что выгоднее.
Есть галка лонг и шорт. По умолчанию обе включены. Если убрать галку лонг, то исчезнут лонги вообще, если убрать шорт, то соответственно исчезнут шорты. По идее галку надо будет снимать если стратегия создает убыточные шорты, то их можно отключить. Смотреть в сводке показателей тестера стратегий профитны они или нет. По идее почти на всех парах крипто/фиат лучше ставить обе галки. Или убирайте галку шорт если не хотите шортить из религиозных соображений.
Добавлена галка отключающая быструю SMA. То есть если галку убрать то стратегия будет её игнорировать. Таким образом, параметр Fast SMA (который 5) перестанет влиять на результаты. Однако, скорее всего без этой галки станет только хуже. Но можете проверить. Позволяет убедиться что входить в сделку по быстрой SMA в среднем немного профитнее, чем входить где попало.
"Bars" - количество свечек одного цвета после после которых будет открываться сделка. По умолчанию 2. Можно от 0 до 3 ставить. Если 0 то цвет свечек игнорируется. Если 3, значит будет ждать 3 красных свечи подряд чтобы открыть лонг. Так же и с зелеными свечами для шорта. 2 - оптимально для пар типа биткойн/фиат. А для пар типа форк/фиат лучше ставить 1 свеча в параметре "Bars".
TZv420simplified version of TZ original. With Alert function
Transient Zones (v420)
I drew the trades on the arrow signals so you can see, its not all win, but with good money management and other ways of finding Target points (MA's or Pivots or Fib or Structure etc)
It is profitable. No repaint, No offset
CCI Level Zero Strategy (by Marcoweb) v1.0Hi guys,
My strategy is ready :)
Finally the zero level of the CCI gives the start and stop to my positions. As you could notice, setting up the CCI length to 340 area on 1 minute chart will let the profit factor go up to 20% from an already wonderful 16%. This is a great result cause will let profitable trades run while stopping the wrong ones with a very limited loss. What makes our profit are not several small little positions that are clearly unrepitable in real trade but few and very profitable positions in which jumping in will be easier due to their length (71 bars average).
Please share with me your impressions and suggestions.
Have a nice trade :)
I_Heikin Ashi CandleWhen apply a strategy to Heikin Ashi Candle chart (HA candle), the strategy will use the open/close/high/low values of the Heikin Ashi candle to calculate the Profit and Loss, hence also affecting the Percent Profitable, Profit Factor, etc., often resulting a unrealistic high Percent Profitable and Profit Factor, which is misleading. But if you want to use the HA candle's values to calculate your indicator / strategy, but pass the normal candle's open/close/high/low values to the strategy to calculate the Profit / Loss, you can do this:
1) set up the main chart to be a normal candle chart
2) use this indicator script to plot a secondary window with indicator looks exactly like a HA-chart
3) to use the HA-candle's open/close/high/low value to calculate whatever indicator you want (you may need to create a separate script if you want to plot this indicator in a separate indicator window)
MACDouble + RSI (rec. 15min-2hr intrv) Uses two sets of MACD plus an RSI to either long or short. All three indicators trigger buy/sell as one (ie it's not 'IF MACD1 OR MACD2 OR RSI > 1 = buy", its more like "IF 1 AND 2 AND RSI=buy", all 3 match required for trigger)
The MACD inputs should be tweaked depending on timeframe and what you are trading. If you are doing 1, 3, 5 min or real frequent trading then 21/44/20 and 32/66/29 or other high value MACDs should be considered. If you are doing longer intervals like 2, 3, 4hr then consider 9/19/9 and 21/44/20 for MACDs (experiment! I picked these example #s randomly).
Ideal usage for the MACD sets is to have MACD2 inputs at around 1.5x, 2x, or 3x MACD1's inputs.
Other settings to consider: try having fastlength1=macdlength1 and then (fastlength2 = macdlength2 - 2). Like 10/26/10 and 23/48/20. This seems to increase net profit since it is more likely to trigger before major price moves, but may decrease profitable trade %. Conversely, consider FL1=MCDL1 and FL2 = MCDL2 + (FL2 * 0.5). Example: 10/26/10 and 22/48/30 this can increase profitable trade %, though may cost some net profit.
Feel free to message me with suggestions or questions.
SPY Master v1.0This is a simple swing trading algorithm that uses a fast RSI-EMA to trigger buy/cover signals and a slow RSI-EMA to trigger sell/short signals for SPY, an xchange-traded fund for the S&P 500.
The idea behind this strategy follows the premise that most profitable momentum trades usually occur during periods when price is trending up or down. Periods of flat price actions are usually where most unprofitable trades occur. Because we cannot predict exactly when trending periods will occur, the algorithm basically bets money on all trade opportunities during all market conditions. Despite an accuracy rate of only 40%, the algorithm's asymmetric risk/reward profile allows the average winner to be 2x the average loser. The end result is a positive (profitable) net payout.
TRADING RULES:
Buy/Cover = EMA3(RSI2) cross> 50
Sell/Short = EMA5(RSI2) cross< 50
BACKTEST SETTINGS:
- Period = March 2011 - Present
- Initial capital = $10,000
- Dividends excluded
- Trading costs excluded
PERFORMANCE COMPARISON:
There are 657 trades, which means 1,314 orders. Assuming each order costs $2 (what I pay for at Interactive Brokers), total trading costs should be $2,628.
-SPY (buy & hold) = 132.73 ---> 193.22 = +45.57% (dividends excluded)
-SPY Master v1.0 = $12,649 - $2,628 = $10,021 = +100.21%
DISCLAIMER: None of my ideas and posts are investment advice. Past performance is not an indication of future results. This strategy was constructed with the benefit of hindsight and its future performance cannot be guaranteed.
Ichimoku EMA BandsSome find Ichimoku Clouds bit complicated. This simplified version is combined with EMA Bands may be profitable. Give a try!. I recommend hourly timeframe for good results. Aye! :D
yuthavithi volatility based force trade scalper strategyI have converted my volatility based force scalper into strategy. Nice to see it is so profitable. Work best with Heikin Ashi bar.
BACKTEST SCRIPT 0.999 ALPHATRADINGVIEW BACKTEST SCRIPT by Lionshare (c) 2015
THS IS A REAL ALTERNATIVE FOR LONG AWAITED TV NATIVE BACKTEST ENGINE.
READY FOR USE JUST RIGHT NOW.
For user provided trading strategy, executes the trades on pricedata history and continues to make it over live datafeed.
Calculates and (plots on premise) the next performance statistics:
profit - i.e. gross profit/loss.
profit_max - maximum value of gross profit/loss.
profit_per_trade - each trade's profit/loss.
profit_per_stop_trade - profit/loss per "stop order" trade.
profit_stop - gross profit/loss caused by stop orders.
profit_stop_p - percentage of "stop orders" profit/loss in gross profit/loss.
security_if_bought_back - size of security portfolio if bought back.
trades_count_conseq_profit - consecutive gain from profitable series.
trades_count_conseq_profit_max - maxmimum gain from consecutive profitable series achieved.
trades_count_conseq_loss - same as for profit, but for loss.
trades_count_conseq_loss_max - same as for profit, but for loss.
trades_count_conseq_won - number of trades, that were won consecutively.
trades_count_conseq_won_max - maximum number of trades, won consecutively.
trades_count_conseq_lost - same as for won trades, but for lost.
trades_count_conseq_lost_max - same as for won trades, but for lost.
drawdown - difference between local equity highs and lows.
profit_factor - profit-t-loss ratio.
profit_factor_r - profit(without biggest winning trade)-to-loss ratio.
recovery_factor - equity-to-drawdown ratio.
expected_value - median gain value of all wins and loss.
zscore - shows how much your seriality of consecutive wins/loss diverges from the one of normal distributed process. valued in sigmas. zscore of +3 or -3 sigmas means nonrandom realitonship of wins series-to-loss series.
confidence_limit - the limit of confidence in zscore result. values under 0.95 are considered inconclusive.
sharpe - sharpe ratio - shows the level of strategy stability. basically it is how the profit/loss is deviated around the expected value.
sortino - the same as sharpe, but is calculated over the negative gains.
k - Kelly criterion value, means the percentage of your portfolio, you can trade the scripted strategy for optimal risk management.
k_margin - Kelly criterion recalculated to be meant as optimal margin value.
DISCLAIMER :
The SCRIPT is in ALPHA stage. So there could be some hidden bugs.
Though the basic functionality seems to work fine.
Initial documentation is not detailed. There could be english grammar mistakes also.
NOW Working hard on optimizing the script. Seems, some heavier strategies (especially those using the multiple SECURITY functions) call TV processing power limitation errors.
Docs are here:
docs.google.com
CM Stochastic POP Method 1 - Jake Bernstein_V1A good friend ucsgears recently published a Stochastic Pop Indicator designed by Jake Bernstein with a modified version he found.
I spoke to Jake this morning and asked if he had any updates to his Stochastic POP Trading Method. Attached is a PDF Jake published a while back (Please read for basic rules, which also Includes a New Method). I will release the Additional Method Tomorrow.
Jake asked me to share that he has Updated this Method Recently. Now across all symbols he has found the Stochastic Values of 60 and 30 to be the most profitable. NOTE - This can be Significantly Optimized for certain Symbols/Markets.
Jake Bernstein will be a contributor on TradingView when Backtesting/Strategies are released. Jake is one of the Top Trading System Developers in the world with 45+ years experience and he is going to teach how to create Trading Systems and how to Optimize the correct way.
Below are a few Strategy Results....Soon You Will Be Able To Find Results Like This Yourself on TradingView.com
BackTesting Results Example: EUR-USD Daily Chart Since 01/01/2005
Strategy 1:
Go Long When Stochastic Crosses Above 60. Go Short When Stochastic Crosses Below 30. Exit Long/Short When Stochastic has a Reverse Cross of Entry Value.
Results:
Total Trades = 164
Profit = 50, 126 Pips
Win% = 38.4%
Profit Factor = 1.35
Avg Trade = 306 Pips Profit
***Most Consecutive Wins = 3 ... Most Consecutive Losses = 6
Strategy 2:
Rules - Proprietary Optimization Jake Will Teach. Only Added 1 Additional Exit Rule.
Results:
Total Trades = 164
Profit = 62, 876 Pips!!!
Win% = 38.4%
Profit Factor = 1.44
Avg Trade = 383 Pips Profit
***Most Consecutive Wins = 3 ... Most Consecutive Losses = 6
Strategy 3:
Rules - Proprietary Optimization Jake Will Teach. Only added 1 Additional Exit Rule.
Results:
Winning Percent Increases to 72.6%!!! , Same Amount of Trades.
***Most Consecutive Wins = 21 ...Most Consecutive Losses = 4
Indicator Includes:
-Ability to Color Candles (CheckBox In Inputs Tab)
Green = Long Trade
Blue = No Trade
Red = Short Trade
-Color Coded Stochastic Line based on being Above/Below or In Between Entry Lines.
Link To Jakes PDF with Rules
dl.dropboxusercontent.com
Vervoort Heiken Ashi Candlestick OscillatorHeiken-Ashi Candlestick Oscillator (HACO), by Sylvian Vervoort, is a digital oscillator version of the colored candlesticks.
Explanation from Vervoort:
"HACO is not meant to be an automatic trading system, so when there is a buy or sell signal from HACO, make sure it is confirmed by other TA techniques. HACO will certainly aid in signaling buy/sell opportunities and help you hold on to a trade, making it more profitable. The behavior of HACO is closely related to the level and speed of price change. It can be used on charts of any time frame ranging from intraday to monthly."
HACO has 2 configurable length parameters - "UP TEMA length" and "Down TEMA length". Vervoort suggests having them the same value.
I have also added an option to color the bars (overlay mode).
More info:
Trading with the Heiken-Ashi Candlestick Oscillator - Sylvian Vervoort
List of my other indicators:
- GDoc: docs.google.com
- Chart:
DEnvelope [Better Bollinger Bands]*** ***
Bollinger Bands (BB) usually expand quickly after a volatility increase but contract more slowly as volatility declines. This extended time it takes for BB to contract after a volatility drop can make trading some instruments using BB alone difficult or less profitable.
In the October 1998 issue of "Futures" there is an article written by Dennis McNicholl called "Better Bollinger Bands", in which the author recommends improving BB by modifying:
- the center line formula &
- different equations for calculating the bands.
These bands, called "DEnvelope", follow price more closely and respond faster to changes in volatility with these modifications.
Fore more indicators, check out my "Master Index of indicators" (Also check my published charts page for new ones I haven't added to that list):
More scripts related to DEnvelope:
------------------------------------------------
- DEnvelope Bandwidth: pastebin.com
- DEnvelope %B : pastebin.com
Sample chart with above indicators: www.tradingview.com
Advanced Strategy Template This script is a strategy execution and risk-management template designed to test external indicators under consistent and repeatable conditions.
The script does not generate buy or sell signals internally. All trade entries and exits are driven by a user-supplied indicator through a numeric connector. This design intentionally separates signal generation from trade execution, allowing users to evaluate indicators without rewriting strategy logic.
Purpose and Originality
The purpose of this template is to provide a standardized execution framework rather than a trading methodology.
Instead of embedding a specific signal logic, the script focuses on how trades are managed after a signal occurs. This allows users to:
Benchmark different indicators under identical execution rules
Compare stop-loss and take-profit models objectively
Study the impact of risk constraints on performance
Reduce bias caused by inconsistent trade management
This makes the script suitable for educational testing and experimentation, not for presenting a profitable strategy.
How the Signal Connector Works
The strategy listens to a single numeric data source supplied by an external indicator.
The indicator must output values using the following convention:
1 → open long position
-1 → open short position
0 → no action
Optional:
2 → custom close for long
-2 → custom close for short
The strategy reacts only to these values and ignores all other indicator logic.
Example Connector Code (Indicator Side)
Users must add the following logic to their indicator to make it compatible with this template:
// Strategy Connector
// 1 = Buy
// -1 = Sell
// 0 = No Signal
signal = buySignal ? 1 : sellSignal ? -1 : 0
plot(signal, title="Connector", display=display.none)
buySignal and sellSignal represent the indicator’s own conditions
The connector plot is hidden and used only as a data source
How to Connect the Indicator to the Strategy
Add the indicator (with connector output) to the chart
Add this strategy template to the same chart
Open the strategy’s settings
Set Data source to the indicator’s Connector plot
Configure risk, stop-loss, and take-profit settings as required
The strategy will not execute trades unless a valid connector signal is received.
Execution and Risk-Management Features
This template provides configurable execution modules including:
Position sizing and pyramiding control
Maximum drawdown and intraday loss limits
Consecutive win, loss, and losing-day limits
Stop-loss methods (percent, trailing, ATR, structure-based)
Take-profit models (single target, tiered targets, risk-reward, Fibonacci levels)
Optional breakeven logic
Session-based trading control
All execution logic operates independently of the signal source.
Strategy Properties and Results
Default strategy properties are intentionally conservative and provided only as a demonstration baseline.
Backtest results depend entirely on:
The connected indicator
Market and timeframe selection
User-defined execution parameters
Results shown by this template do not represent a trading edge and should not be interpreted as investment advice.
Intended Use
This script is intended for:
Educational study of trade execution and risk control
Indicator benchmarking under identical execution rules
Exploring how exits and risk constraints influence outcomes
It is not intended to promote or present a standalone trading strategy.
Retail Forex Sentiment Fear/Greed CurrencyPairsRetail Forex Sentiment Fear/Greed CurrencyPairs
Overview
The Retail Forex Sentiment Indicator provides sentiment data for major and cross currency pairs. This indicator displays retail trader positioning using retail brokers data, showing what percentage of retail traders are long or short on each forex pair.
Important: Indicator Split Notice
---------------------------------
Due to TradingView's limitation of 40 data requests per indicator, the original Retail Sentiment Indicator has been split into TWO separate indicators you will find on TradingView:
1. This indicator - Specialized for Forex currency pairs (30+ pairs)
[2. Retail Sentiment Indicator - Multi-Asset CFD & Fear/Greed Index - For indices, commodities, cryptocurrencies, and Fear/Greed indices
Please look at both indicators to access all available sentiment data.
Methodology and Scale Calculation
---------------------------------
This indicator operates on a **-50 to +50 scale** with zero representing perfect market equilibrium.
Scale Interpretation:
- **Zero (0)**: Market balance - exactly 50% of traders long, 50% short
- **Positive values**: Majority long (buying) pressure
- Example: If 63% of traders are long, the indicator shows +13 (63 - 50 = +13)
- **Negative values**: Majority short (selling) pressure
- Example: If 92% of traders are short, the indicator shows -42 (50 - 92 = -42)
Features
--------
- **Auto-Detection**: Automatically loads sentiment data based on the current chart symbol
- **Manual Selection**: Choose from 30+ supported currency pairs when auto-detection is unavailable
- **Visual Zones**: Clear greed/fear zones with color-coded backgrounds (green for fear zone, red for greed zone - contrarian colors)
- **Daily Updates**: Live sentiment data from retail CFD providers
Supported Currency Pairs
========================
Major Pairs
-----------
- EURUSD (most traded pair globally)
- GBPUSD (Cable)
USD Pairs
---------
- USDJPY, USDCHF, USDCAD
- USDPLN
PLN (Polish Zloty) Pairs
------------------------
- USDPLN, EURPLN, GBPPLN, CHFPLN
EUR Cross Pairs
---------------
- EURJPY, EURCHF, EURCAD, EURAUD, EURNZD, EURGBP
GBP Cross Pairs
---------------
- GBPJPY, GBPCHF, GBPCAD, GBPAUD, GBPNZD
AUD (Australian Dollar) Pairs
-----------------------------
- AUDUSD, AUDJPY, AUDCHF, AUDNZD, AUDCAD
NZD (New Zealand Dollar) Pairs
------------------------------
- NZDUSD, NZDJPY, NZDCHF, NZDCAD
CAD Cross Pairs
---------------
- CADJPY, CADCHF
CHF Cross Pairs
---------------
- CHFJPY
How to Use
----------
1. **Auto Mode** (Default): Enable "Auto-load Sentiment Data" checkbox to automatically display sentiment for the current chart's currency pair
2. **Manual Mode**: Disable auto-load and select from the dropdown menu for specific currency pairs
3. **Interpretation**:
- Values above 0 (green line) indicate retail traders are net long (greed/bullish sentiment)
- Values below 0 (red line) indicate retail traders are net short (fear/bearish sentiment)
- Extreme zones (+35 to +50 and -35 to -50) indicate strong positioning
Trading Strategy & Market Philosophy
====================================
Contrarian Trading Approach
---------------------------
The primary purpose of this indicator is based on the fundamental market principle that **the majority of retail forex traders are wrong most of the time**, and currency pairs typically move opposite to the positions held by the majority of retail participants.
Key Strategy Guidelines:
- **Contrarian Signal**: When the majority of retail traders are positioned on one side, consider opportunities in the opposite direction
- **Trend Exhaustion Signal**: When retail traders finally flip to trade WITH an established trend after being wrong for extended period, this often signals trend exhaustion
Interpretation Examples:
- High greed readings (majority long) -> Consider short opportunities
- High fear readings (majority short) -> Consider long opportunities
- Sudden sentiment flip during established trends -> Potential trend reversal signal
Forex-Specific Notes
====================
Currency Correlations
---------------------
When analyzing forex sentiment, consider that:
- USD pairs often move together (if retail is long EURUSD, they're often short USDJPY)
- Cross pairs can provide confirmation signals
- Comparing sentiment across related pairs can reveal broader positioning
Auto-Detection Support
----------------------
The indicator supports automatic detection of various broker ticker formats including:
- Standard pairs (EURUSD, GBPUSD, etc.)
- CME Futures symbols (6E, 6B, JY, etc.)
- Micro futures (M6E, M6B, MJY, etc.)
This functionality is powered by regex pattern matching. However, for some CME futures pairs—particularly those involving JPY, CAD, and CHF—auto-detection may not work properly. In such cases, disable the auto-load checkbox and manually select the ticker from the dropdown menu.
Technical Notes
---------------
- Built with PineScript v6
- Dynamic symbol detection with fallback options
- Optimized for performance with minimal resource usage
- Color-coded visualization with customizable zones
Data Sources
------------
This indicator uses curated sentiment data from retail CFD providers. Data is updated regularly and sourced from reputable financial data providers.
Data Infrastructure Status
--------------------------
Current Data Upload Process:
Please note that sentiment data uploads may occasionally experience minor interruptions. However, this should not pose significant issues as sentiment data typically changes gradually rather than rapidly.
Acknowledgments
---------------
We extend our gratitude to **TradingView** for enabling the use of custom data feeds based on GitHub repositories, making this comprehensive forex sentiment analysis possible.
Disclaimer
----------
This indicator is for educational and informational purposes only. Sentiment data should be used as part of a comprehensive trading strategy and not as the sole basis for trading decisions. Past performance does not guarantee future results. The contrarian approach described is a market theory and may not always produce profitable results. Forex trading involves significant risk of loss.
[TehThomas] - Order Blocks█ OVERVIEW
This Order Blocks indicator identifies institutional-level support and resistance zones using fractal pattern recognition combined with Fair Value Gap (FVG) filtering. Order blocks represent areas where large institutional orders have been placed, creating significant price reactions when retested. This indicator uses a 5-bar fractal pattern to detect market structure breaks and highlights the last bearish or bullish candle before a strong impulse move.
█ KEY FEATURES
- Fractal-Based Detection: Uses 5-candle fractal patterns to identify key market structure highs and lows
- FVG Filtering: Optional Fair Value Gap confirmation ensures order blocks are followed by true market imbalances
- Automatic Mitigation: Order blocks are automatically removed when price breaks through them
- Overlap Prevention: Prevents cluttered charts by avoiding overlapping order block zones
- Customizable Display: Full control over colors, labels, line heights (body/wick), and maximum blocks shown
- Dual Polarity: Detects both bullish (OB+) and bearish (OB-) order blocks independently
█ HOW IT WORKS
The indicator scans price action for fractal patterns where the middle candle forms a local extreme (highest high or lowest low among 5 bars). When price breaks above a fractal high or below a fractal low, the script identifies the last opposing candle in the impulse move as the order block.
For bearish order blocks, it finds the highest bullish candle before a fractal low is broken, marking institutional selling pressure. For bullish order blocks, it locates the lowest bearish candle before a fractal high is breached, indicating institutional buying.
When FVG filtering is enabled, the indicator confirms that a Fair Value Gap (a 3-candle imbalance where price leaves an unfilled gap) occurred within the specified distance from the order block. This combination increases the probability that institutional traders are present in these zones.
█ SETTINGS
Bullish Order Block Settings
- Show/hide bullish order blocks
- Customize fill color and border color
- Toggle OB+ label display
Bearish Order Block Settings
- Show/hide bearish order blocks
- Customize fill color and border color
- Toggle OB- label display
Label Settings
- Label size: Tiny, Small, Normal, or Large
- Label text color customization
General Settings
- Bars Back to Check (10-200): Lookback period for order block detection
- Filter by FVG: Requires Fair Value Gap confirmation
- Max Bars Between OB and FVG (1-6): Distance tolerance for FVG filtering
- Line Height: Choose between Body or Wick for order block boundaries
- Prevent Overlapping OBs: Avoids drawing overlapping zones
- Max Order Blocks to Display (1-50): Limits active blocks on chart
- Length of Boxes (10-100): Horizontal projection length
█ HOW TO USE
1. Add the indicator to your TradingView chart
2. Configure settings based on your trading timeframe and style
3. Watch for OB+ labels (bullish order blocks) as potential support zones where price may bounce
4. Watch for OB- labels (bearish order blocks) as potential resistance zones where price may reverse
5. Wait for price retracement to the order block zone before taking entries
6. Use confirmation signals like volume spikes or reversal patterns at the order block
7. Place stop loss just outside the order block boundary to manage risk
8. Monitor mitigation: Order blocks disappear when price breaks through them completely
█ TRADING STRATEGY EXAMPLES
Bullish Order Block Strategy
Wait for a market structure shift from bearish to bullish. When price creates a bullish impulse breaking a fractal high, identify the OB+ zone. Enter long positions when price retraces to test the bullish order block, placing stop loss 10-20 pips below the zone's low. Target previous highs or resistance levels.
Bearish Order Block Strategy
Monitor for market structure shift from bullish to bearish. After price creates a bearish impulse breaking a fractal low, locate the OB- zone. Enter short positions when price retraces to test the bearish order block, placing stop loss 10-20 pips above the zone's high. Target previous lows or support levels.
FVG-Confirmed Entries
Enable FVG filtering to only display order blocks validated by Fair Value Gaps. These aligned setups increase probability as they combine institutional order placement with market inefficiencies. Trade retracements to these high-confluence zones for better risk-reward ratios.
█ IDEAL FOR
- ICT Traders: Follows Inner Circle Trader methodology for institutional order flow
- Smart Money Concepts: Tracks where large players place orders
- Swing Traders: Identifies key support/resistance for multi-day holds
- Price Action Traders: Pure chart-based approach without lagging indicators
- Breakout Traders: Confirms structure breaks with fractal patterns
- Forex, Crypto, and Stock Markets: Works on all liquid markets and timeframes
█ TECHNICAL SPECIFICATIONS
- Max Boxes: 500
- Max Labels: 500
- Detection Method: 5-bar fractal pattern recognition
- Mitigation Logic: Automatic removal when price breaks order block boundaries
- Time Projection: Uses time offset calculations for box extension
- Array Management: Dynamic array cleanup to prevent memory issues
█ NOTES & DISCLAIMERS
- Order blocks work best when combined with overall market context and trend analysis
- Not all order blocks result in price reversals; use proper risk management
- FVG filtering may reduce the number of signals but increases quality
- Fractal patterns require 5 bars to form, causing a 2-bar delay in detection
- Works optimally on higher timeframes (4H, Daily) for institutional footprints
- This indicator does not guarantee profitable trades; always use stop losses
- Past performance of order blocks does not predict future results
- Compatible with other ICT concepts like liquidity sweeps and market structure
Neeson Mayer MultipleIntegrating the Mayer Multiple Indicator: A Practical Guide for Market Analysis
Introduction
The Mayer Multiple indicator is a specialized tool designed to assess asset valuations relative to their long-term historical trends. By comparing current price action against a long-term simple moving average, this indicator provides a quantitative framework for identifying potential overbought and oversold conditions. This article explains the rationale behind its design, operational mechanics, practical applications, and unique value proposition.
Purpose and Functionality
The primary function of the Mayer Multiple indicator is to measure how far current prices deviate from a long-term moving average, expressed as a ratio. This measurement helps traders and investors identify:
Extreme valuation levels that may signal potential reversal points
Long-term trend strength and sustainability
Market psychology shifts between fear and greed cycles
Originally popularized in Bitcoin analysis, the indicator's principles apply to any volatile asset class where mean reversion tendencies exist alongside strong trend characteristics.
Operational Principles
The indicator operates through several interconnected components:
Core Calculation Mechanism
At its heart, the indicator calculates the Mayer Multiple by dividing the current closing price by a configurable simple moving average (default: 200 periods). This ratio represents how many times the current price exceeds its long-term average, providing an immediate visual reference for valuation extremes.
Multi-Level Threshold System
Four configurable thresholds create distinct market condition zones:
Optimal Buy Zone (default: 0.7) - Historically extreme undervaluation
Undervalued Zone (default: 1.0) - Moderate undervaluation
Overvalued Zone (default: 2.4) - Moderate overvaluation
Optimal Sell Zone (default: 3.5) - Historically extreme overvaluation
These thresholds create a graduated scale of market conditions rather than binary signals.
Visual Signal Hierarchy
A sophisticated color-coding system prioritizes different signal types based on their significance:
White/Gray: Neutral territory (between undervalued and overvalued thresholds)
Aqua: Entering undervalued territory (potential accumulation zone)
White: Reaching optimal buying conditions (historically rare opportunities)
Yellow: Entering overvalued territory (potential distribution zone)
Orange: Reaching optimal selling conditions (historically rare extremes)
Green: Emerging from optimal buying conditions (momentum shift confirmation)
Red: Retreating from optimal selling conditions (momentum reversal confirmation)
This hierarchy helps users distinguish between entry signals, exit signals, and confirmation signals.
Integration Rationale
The integration of these components follows a logical progression:
Mathematical Foundation
The moving average provides a stable reference point that filters out short-term noise while maintaining sensitivity to long-term trend changes. The ratio format normalizes values across different price levels and timeframes, enabling cross-asset comparisons.
Behavioral Finance Alignment
The threshold system corresponds to documented market psychology patterns. The extreme thresholds (optimal buy/sell) represent points where fear or greed typically reach maximum intensity, while the moderate thresholds represent early warning levels.
Progressive Signal Detection
The indicator tracks both threshold breaches and retreats from extreme zones. This dual-tracking approach captures not only when conditions become extreme but also when they begin to normalize—often the most actionable moments for position adjustments.
Component Synergy
The indicator's components work together through a continuous feedback loop:
Calculation Engine: Continuously computes the core ratio, serving as the foundation for all subsequent analysis.
Threshold Comparator: Compares the current ratio against user-defined thresholds, categorizing market conditions in real-time.
Signal Generator: Identifies specific events (threshold crossings, zone entries/exits) and assigns appropriate visual representations.
Visual Renderer: Displays the information through colored histograms, reference lines, and data tables, creating an intuitive interface.
Alert System: Monitors for predefined conditions and notifies users of significant developments without requiring constant screen monitoring.
This integrated approach transforms raw price data into structured, actionable information while maintaining mathematical rigor and visual clarity.
Practical Application Guidelines
Parameter Customization
Users should adjust parameters based on:
Asset volatility (higher volatility assets may require wider thresholds)
Timeframe (longer timeframes may benefit from longer moving averages)
Personal risk tolerance (conservative traders may use tighter thresholds)
Signal Interpretation Framework
Zone-Based Analysis: Focus on which zone the indicator occupies rather than chasing individual data points
Confirmation Seeking: Use extreme zone signals (white/orange) as alerts for further analysis rather than automatic trade triggers
Momentum Assessment: Observe how quickly the indicator moves between zones as a measure of trend strength
Complementary Tools
The Mayer Multiple works best when combined with:
Volume analysis to confirm participation during extreme readings
Momentum indicators to identify potential divergence
Support/resistance levels for precise entry/exit timing
Fundamental analysis for context validation
Distinctive Attributes
Original Implementation Features
Progressive Color System: Unlike binary indicators, this implementation provides graduated signals through a carefully prioritized color hierarchy.
Dual-Signal Detection: The indicator captures both threshold breaches and retreats, offering insights into momentum shifts rather than just static levels.
Contextual Display: The integrated data table provides immediate access to key metrics without cluttering the chart space.
Customizable Framework: All thresholds and calculation periods are adjustable, allowing adaptation to different market regimes and trading styles.
Practical Innovation
The indicator's design emphasizes usability through:
Immediate visual comprehension via color coding
Clear separation between alert conditions and confirmation signals
Balanced information density (sufficient data without overload)
Flexible integration with existing trading workflows
Responsible Usage Considerations
Empirical Perspective
Historical analysis suggests that assets frequently revert toward their long-term moving averages, but the timing and extent of such reversions vary significantly. The indicator identifies statistical extremes rather than predicting immediate price movements.
Risk Management Integration
Users should:
Treat extreme readings as risk management triggers rather than directional forecasts
Consider position sizing based on distance from the moving average
Implement stop-loss strategies regardless of indicator readings
Avoid allocating excessive weight to any single indicator
Performance Realism
The indicator does not guarantee profitable outcomes. Its value lies in providing structured information about valuation extremes, which must be interpreted within broader market context and individual risk parameters.
Conclusion
The Mayer Multiple indicator represents a thoughtfully integrated approach to long-term valuation analysis. By combining mathematical rigor with behavioral insights and practical visualization, it provides traders with a structured framework for assessing market extremes. Its modular design allows customization while maintaining core analytical integrity, and its emphasis on graduated signals helps avoid the oversimplification common in technical indicators. When used as part of a comprehensive trading methodology with appropriate risk management, it can contribute valuable perspective to the decision-making process.
Gap Hunter Pro [Auto-Alerts + Fill Detection]Gap trading is profitable, but staring at charts waiting for a fill is tedious.
Gap Hunter Pro automates the process by instantly detecting valid gaps, drawing dynamic support/resistance zones, and alerting you exactly when action happens. Unlike standard gap indicators, this script manages the lifecycle of the gap—tracking it from creation to partial entry, and finally removing it once it is fully filled.
Key Features:
🚀 Smart Detection: Automatically finds "Gap Ups" and "Gap Downs" based on your custom threshold (filter out small noise).
🔔 Dual Alerts:
Entry Alert: Get notified the moment price touches the gap zone.
Fill Alert: Get a second notification when the gap is 100% closed (filled).
🧹 Auto-Cleanup: Zones automatically delete themselves from the chart once filled, keeping your workspace clean.
🎨 Fully Customizable: Control colors, border thickness, history depth, and text labels.
How to Use:
Add to Chart: Works on any timeframe (15m recommended for Day Trading, Daily for Swing).
Adjust Settings: Set "Max Gaps to Keep" to control history depth.
Set the Alert (Crucial):
Click the Alert button in TradingView.
Condition: Select Gap Hunter Pro.
Action: Select "Any alert() function call".
You now have a fully automated gap scanner running 24/7.






















