Traders Dynamic Index(RSI) w/ Bull&Bear Control ZonesMomentum (RSI) is one of the most commonly used indicators for trading, but the vast majority of traders who use it, simply apply it as an oscillator to measure overbought and oversold conditions. However, momentum is much more complex than that and using a basic RSI fails to highlight these complexities.
What this highlights are some of the areas/zones that many people may not even know about or are unaware what the RSI can actually reveal about a particular trend.
What this indicator is showing:
Fast moving RSI (Green) - 1 period
Slow moving RSI (Red) - 9 period
Bollinger Bands
Relative Strength: 1 - 100
Bearish Control Zone: 30(Below) - 45
Bullish Control Zone: 60 - 70 (Above)
How this identifies trends:
Bear Market(Bearish Control Zone):
-Support: 20(Below) - 30
-Resistance: 55 - 65
-Momentum will test resistance but will fail to hold support at 50
Bull Market(Bullish Control Zone):
-Support: 45 - 50
-Resistance: 80 - 90(Above)
-Momentum will test support but will not continue past the 45 support
How this identifies reversals:
If a market is bullish, but loses support at 45 and tests 30, it has begun reversal. If a market is bearish, but breaks 60 and tests 70, it has begun reversal.
-A bull market reversal is confirmed if it finds resistance at 60 after testing bearish support
-A bear market reversal is confirmed if it finds support at 50 after testing bullish resistance
Slow & Fast RSI w/ Boll Bands:
-The Slow and Fast RSI crossovers will act as Intermediate trends within the Macro trend - Fast crosses slow, bullish. Slow cross fast, bearish.
-Use in confluence with the Macro trend.
-While under Bearish Control, the Slow RSI will act as resistance for the Fast RSI.
-While under Bullish Control, the Slow RSI will act as support for the Fast RSI.
-The two will have an impulsive crossover when the Macro trend reverses.
-The Bollinger Bands will act as a volatility gauge for potential approaching tests of Support & Resistances. (Expansions & Contractions)
This is an analog of TDIGM (GoldMinds)
-Added Bullish/Bearish Control Zones.
-Changed Fast RSI to Green and Slow RSI to Red.
Recherche dans les scripts pour "重庆30天天气预报"
50ema + 105emaIf price action is above the 50ema + 105ema on the 30-minute chart, be bullish.
If price action is below the 50ema + 105ema on the 30-minute chart, be bearish.
If price action is in-between buy off the lower when it acts like support and sell near the top ema which will act like resistance.
The purpose of this indicator is to show these 30-minute moving averages -- regardless of timeframe. This will only appear if you are using an intraday timeframe.
Fibonacci + RSI - StrategyStrategy: Fibonacci + RSI:
- Intraday trading strategy (Scalping).
Time Frames Tested with best Results:
30 Minutes.
5 Minutes.
15 Minutes.
1 Minute
Indicators Used:
RSI (30 / 70)
Fibonacci (1 - 0.784)
How it Works:
Once the Price Hits the 1 or -1 Fibonacci Level and bounces a little bit, It checks the RSI if Over Bought or Over Sold According to 30 - 70.
If both conditions are satisfied, it triggers a Long or Short Positions.
Further Notes:
- I have put a Stop-loss with a 2% just for further upgrades.
- Not advised to use in High Volatility Markets.
- No Repaint was observed during a 2-Weeks Tests.
If you have any suggestions or modifications please contact to add.
If you have observed any bad behavior please contact to fix.
Trade wisely.
[LunaOwl] 智慧型RSI (Smart RSI - a handy tool with less noise)Relative Strength Index is a common technical analysis tool, it is classified as a momentum oscillator, measuring the velocity and magnitude of directional price movements. it is most typically used on a 14-period timeframe, measured on a scale from 0 to 100, with high and low levels marked at 70 and 30.
相對強弱指標是常見的技術分析工具,它被歸類為動量振盪器,用於測量定向價格運動的速度和幅度,通常會使用14期數,擺盪範圍在0到100間,超買超賣分別標記成70、30。
after simple improvement and addition of logical judgment, it becomes a passive judge from subjective judgments, avoid the shortcomings of peoples in watching passivation, and the trade can be more consistent.
經過簡單的改良與添加邏輯判斷,能夠使RSI指標的使用,從主觀的判斷成為被動的確認指標,有效避免人們判斷指標鈍化的主觀缺失,並能夠使得交易更加一致。
--------------------------*
1) parameter
RSI period 1 - default is 14, same as general RSI.
RSI period 2 - default is 5, due to its own formula, the amplitude of the oscillator will become larger and more agile or fast. When the parameter is small.
exponential moving avg of RSI - using the result of RSI period 1 as the source of Ema's formula, the default length is 14, which can filter the excessive agility of RSI period 2 to reduce noise, and compared to using the baseline as the criterion for long and short judgments, The characteristics of exponential moving avg are more suitable to become flexible filtering standards.
Overbought - default is 70, you can set your overbought level.
Oversold - same as above, the default is 30.
2) Options
Open Candle color(開啟蠟燭線趨勢) - choose whether to start the color of the candle.
Open background color(開啟指標背景色) - the default is false, you can turn on.
--------------------------*
1. 設置參數
RSI期數1:預設值是14,是普通的RSI指標。
RSI期數2:預設值是5,由於RSI公式的算法,造成參數愈小擺盪幅度就會變大,反應比較快。
指數平均化的RSI期數1:將RSI期數1的結果帶入指數移動平均公式,預設值14,它能過濾RSI期數2過度敏捷的缺點,減少雜訊,相較於單純使用基準線作為多空判斷標準,用EMA的判斷標準更加因時制宜。
超買線:預設值是70,可以隨意調。
超賣線:預設值是30,一樣的。
2. 設定選項
開啟蠟燭線趨勢:顧名思義。已經幫您開好了。
開啟指標背景色:顏色太淺的話可以調深一點。
--------------------------*
ver.2- adjust new style design and create two options.
修改2: 調整新的樣式設計與建立兩個選項。
--------------------------*
ver.3- Create alert condition. maybe I should refer to the Alert Creation Framework,
there is also room for improvement.
修改3: 建立快訊選項。我應該參考警報創建框架,還有進步空間。
--------------------------*
Indicator Style - 指標樣式
The design uses casual light color style, light gray between overbought and oversold.
--------------------------*
Market Example - 市場範例
1. Bitcoin/Tether, Binance, 1 day
2. Bitcoin/USD, Coinbase, 4 hour
3. EUR/USD, Forex Market, 4 hour
4. GBP/USD, Forex Market, 30 min
5. TAIEX, Taiwan SE Weighted Index, 1 week
--------------------------*
postscript - 後記感想
The purpose of publishing Chinese Scripts is to make Pine close to more Chinese user.
I hope English skills enhancement...staggered writing makes me feel hard.
發布中文腳本的目的,是希望可以讓 Pine 親近更多中文圈的使用者。希望我的英語進步,中英文交錯撰寫有一些困難。
--------------------------*
If you find my works useful, you can give me encouragement. I can buy more books to sophisticated themselves.
如果您發現我的作品有用,可以給我鼓勵。讓我可以買更多書籍來精進自己。
MacD (Future Known or Unknown) StrategyThis indicator/strategy is to be used as a way to baseline the top potential any strategy could have with other strategies and indicators.
What I have created literally shows the BEST moves possible you could have made in my opinion for SHORTING or LONGING using only the MacD values of the 4 hour while on the 30 minute chart.
To use this, try checking out XBTUSD on the 30 minute chart . It will work under different time frames but works best on the 30 minute chart in my opinion. It WILL NOT WORK Above 2 hours time frame.
DO NOT TRADE WITH THIS indicator . I can't emphasize this enough. These results only work because of the lookahead_on parameter. A lot of scam indicators and strategies use this to trick people on tradingView into buying their scripts.
This code is OPEN SOURCE and as such there is nothing to hide and no scam!
I like to use this as a comparison tool for how good I 'could' have traded and at what points those were. By knowing where the perfect trading positions are, you can create real indicators and scripts that try to find patterns in those positions.
This also shows that IF you could know the direction the MacD was going what amazing results you could get ^_~.
This is meant purely for entertainment purposes and for comparing against your own scripts.
I've included the options in the settings to allow ONLY LONG or ONLY SHORTS. By default it attempts both buy attempts. You can also change your starting ($) amount and commission percentage that is taken per trade as well.
Also included in the options is the ability to set the back testing time frame to see how it performs during just certain time periods.
Finally a color explanation
Red - MacD 4 hour going down
Green - MacD 4 hour going up
Purple - MacD 4 hour going down (from an up position)
Yellow - MacD 4 hour going up (from a down position)
Notice the program will always buy right before it turns into a yellow color since it knows the future.
In the options you can turn off 'use the future' to see the horrible results if you trade the moment you know which direction the MacD 4 hour is actually going. I will revise this script in the future with attempts to work without knowing the future as play options to get better results.
If you have any questions or comments, please do not hesitate to ask!
(JS)DMI BarsAlright - so this is my own version of John Carter's "10x Bars"... I have done multiple things that are different from his version so they are slightly different..
So first of all the main indicator is based off of the ADX and the DMI;
For those who aren't familiar with it, Directional Movement is what you'd pull up under "built-in's" from the indicators tab (if you want to check it out).
The standard interpretation of this however, is when the ADX is above 20 that suggests the trend is strong, whereas under 20 suggests it is weak.
Also, when the D+ is above the D- that suggests a bullish trend, and D- above D+ suggests a bearish trend.
These bars take away the need to have it at the bottom of your screen, and places the data on the bars on your chart instead.
=========================================================================================================================================
So here's what the colors stand for -
Yellow - The ADX is under 20, no strength in trend
Shades of green occur when the ADX is above 20 and there's a bullish trend (D+ higher than D-)
Bright Green (Lime) - Bullish trend, D+ above 30
Green - Bullish Trend
Yellow Green - Bullish trend, D+ below 15
Shades of red occur when the ADX is above 20 and there's a bearish trend (D- higher than D+)
Bright Red - Bearish trend, D- above 30
Red - Bearish Trend
Orange - Bearish trend, D- below 15
=========================================================================================================================================
I have also added multiple time frame labels (label script used is the one created by Ricardo Santos)
These labels are color coded the same as the bars/candles, and they appear off to the right of your screen using every built in time increment from TradingView.
The purpose is to show you in real time, and on any chart resolution, what the current trend is on every individual time frame.
So using just one single chart you'll see your current resolutions candles, but also on the labels you'll see:
1 Minute
3 Minute
5 Minute
15 Minute
30 Minute
45 Minute
1 Hour
2 Hour
3 Hour
4 Hour
Daily
Weekly
Monthly
There is an input I added that allows you to adjust where your labels appear on the side of your screen as well!
=========================================================================================================================================
Now onto the volume spike portion of the indicator. This will plot a blue dot under each bar that has a spike in volume which meets your specified criteria.
I have 500% as the default setting.
What that means is that this indicator looks back and gets the 50 bar volume average and then applies dots where volume is 500% above average.
=========================================================================================================================================
Now finally, the reversal arrows. This is another simple to understand concept that I first read in John Carter's book "Mastering the Trade" that he calls "HOLP/LOHP".
I have added the ability to change the look back period you'd like the indicator to watch for highs and lows on.
What that stands for is 'High of Low Period' and 'Low of High Period', and it is used like this-
Whenever a bar makes a new high the indicator watches the low on that highest bar. Then when a bar afterwards makes a lower low then the one on the high bar,
a reversal arrow is given. Apply this same concept in the other direction in for the highs on the lowest bars.
=========================================================================================================================================
Now, I didn't want to make a "set" or have a bunch of different indicators out there that are all intended for the same package, so I took the time to put them together,
and if there's a part of it you don't care for they can easily be turned off in the settings.
Enjoy!
ADX +- DiThis Adx +-Di is just a complete version of what the ADX is supposed to signal.
So you have:
15 (contraction), 20 (threshold), 30 (expansion), 40 (resistance) levels.
Below 20 the price is not trending
Above 30 the price is trending
Below 15 price has been in contraction for too long
Between 20 and 30 price is in a "transition zone".
I finally added a "Resistance" level (40), which has to be adapted to best represent the historical levels where price usually encounters resistance, and where the price can be declared "overtrending", which means a return to lower levels is likely to happen.
I've chosen mild colors, and set the Adx Color to White, because I use black background, you can easily change that.
Enjoy
-Maurice
ICHIMOKU MTFMultiple Time Frame Version of Ichimoku Kinko Hyo Indicator.
Created in 1940's by Goichi Hosoda withe the help of University students in Japan.
Ichimoku is one of the best trend following indicators that works nearly perfect in all markets and time frames.
Ichimoku is originally an built in indicator in Tradingview but there are some problems like:
the indicator hast 5 lines but you can change only 4 parameters in the settings menu of Tradingview Charts which you could only control 3 of the lines effectively. A second problem is that Tradingview preferred to use English titles for the ICHIMOKU lines instead of giving them the most common original Japanese ones. (So I rewrite the indicator)
Kijun Sen (blue line): Also called standard line or base line, this is calculated by averaging the highest high and the lowest low for the past 26 periods.
Tenkan Sen (red line): This is also known as the turning line and is derived by averaging the highest high and the lowest low for the past nine periods.
Chikou Span (Plum line): This is called the lagging line. It is today’s closing price plotted 26 periods behind.
Senkou SpanA (green line): The first Senkou line is calculated by averaging the Tenkan Sen and the Kijun Sen and plotted 26 periods ahead.
Senkou SpanB (purple line):
The second Senkou line is determined by averaging the highest high and the lowest low for the past 52 periods and plotted 26 periods ahead.
PERSONALLY I ADVISE YOU TO USE ICHIMOKU WITH DEAFULT LENGTHS (9,26,26,52,26) IN ORDER FOR STOCK MARKETS AND FOREX MARKETS
FOR CRYPTO YOU'D BETTER USE:
10,30,30,60,30 OR 20,60,60,120,60
THE TRICKY THING IS THAT KEEPING THE 1-3-3-6-3 RATIO CONSTANT IS NECESSARY
Here's a link of my Youtube video explaining ICHIMOKU but unfortunately only in TURKISH:
www.youtube.com
Developed by: Goichi Hosoda
Here's the link to a complete list of all my indicators:
tr.tradingview.com
Ichimoku kullanımı anlattığım detaylı video serisini linkten izleyebilirsiniz:
www.youtube.com
İndikatörü geliştiren: Goichi Hosoda
ICHIMOKU Kinko Hyo by KIVANC fr3762Created in 1940's by Goichi Hosoda withe the help of University students in Japan.
Ichimoku is one of the best trend following indicators that works nearly perfect in all markets and time frames.
Ichimoku is originally an built in indicator in Tradingview but there are some problems like:
the indicator hast 5 lines but you can change only 4 parameters in the settings menu of Tradingview Charts which you could only control 3 of the lines effectively. A second problem is that Tradingview preferred to use English titles for the ICHIMOKU lines instead of giving them the most common original Japanese ones. (So I rewrite the indicator)
Kijun Sen (blue line): Also called standard line or base line, this is calculated by averaging the highest high and the lowest low for the past 26 periods.
Tenkan Sen (red line): This is also known as the turning line and is derived by averaging the highest high and the lowest low for the past nine periods.
Chikou Span (Plum line): This is called the lagging line. It is today’s closing price plotted 26 periods behind.
Senkou SpanA (green line): The first Senkou line is calculated by averaging the Tenkan Sen and the Kijun Sen and plotted 26 periods ahead.
Senkou SpanB (purple line):
The second Senkou line is determined by averaging the highest high and the lowest low for the past 52 periods and plotted 26 periods ahead.
PERSONALLY I ADVISE YOU TO USE ICHIMOKU WITH DEAFULT LENGTHS (9,26,26,52,26) IN ORDER FOR STOCK MARKETS AND FOREX MARKETS
FOR CRYPTO YOU'D BETTER USE:
10,30,30,60,30 OR 20,60,60,120,60
THE TRICKY THING IS THAT KEEPING THE 1-3-3-6-3 RATIO CONSTANT IS NECESSARY
Here's a link of my Youtube video explaining ICHIMOKU but unfortunately only in TURKISH:
www.youtube.com
Developed by: Goichi Hosoda
RSI Multi-TimeframeThe Relative Strength Index (RSI) is an extremely useful oscillating momentum indicator that was developed by J. Welles Wilder and is one of the most widely used indicators in technical analysis.
HOW IS IT USED ?
In the classic view, a security is thought to be overbought when its RSI reading is above 70 and oversold when its RSI reading falls below 30. This makes it a good indicator for mean-reversion systems. Wilder recommended using the 70 and 30 levels as overbought and oversold levels respectively. When the RSI moves up over the 30 line it is considered a possible bullish reversal while a move down below the 70 line is considered a possible bearish reversal.
When the RSI is above 70 it is a potential exit signal if you are in a long position and when it is below 30 it is a potential exit signal if you are in a short position. Some traders use extreme readings for entry points in the direction of the long-term trend. Thus, if the long-term trend is bullish, then you'd wait for the RSI to reach oversold territory, which would be a potential entry point for a long position. Conversely, if the long-term trend is bearish, then overbought conditions could be a potential point to short the security.
I added the possibility to add on the chart a 2nd timeframe for confirmation.
If you found this script useful, a tip is always welcome... :)
Ichimoku Cloud w/SelIchimoku Cloud with selection for:
Regular:
conversionPeriods = 9,
basePeriods = 26
laggingSpan2Periods = 52,
displacement = 26
Crypto:
conversionPeriods = 10,
basePeriods = 30,
laggingSpan2Periods = 60,
displacement = 30
Crypto Doubled:
conversionPeriods = 20,
basePeriods = 60,
laggingSpan2Periods = 120,
displacement = 30
CM_Ultimate RSI Multi Time FrameAvailable Options on Inputs Tab!!!
RSI with ability to change first RSI to a different Time Frame.(Defaults To Current Chart Time Frame).
Ability To Turn On/Off Background Highlighting if First RSI is Above/Below 70 or 30 Lines.
Ability To Turn On/Off Background Highlighting When First RSI Crosses Above 30 Or Below 70.
Ability To Turn On/Off "B" Or "S" When First RSI Crosses Above 30 Or Below 70.
Ability To Turn On/Off Mid -Line Plot.
Option To Plot 2nd RSI to show different Time Frames on same chart!!!
Ability To Use Different Look Back Period If You Plot 2nd RSI.
Opening Range Breakout with 2 Profit Targets.Opening Range Breakout with 2 Profit Targets.
Updated Indicator now works on all Symbols with Many Different Session Options.
***Known PineScript Issue…While the Opening Range is being Formed the lines only adjust for that individual bar. Just reset Indicator after Opening Range Completes.
***All Times are Based on New York Time
Session Options Forex U.S. Banks Open (8:00), Gold U.S. Open (8:20), Oil U.S. Open (9:00), U.S. Cash Session - Stocks (9:30), NY Forex Open (17:00) , Europe Open (02:00), or if you choose Setting 0 the Session Runs from 00:00 to 00:00 (Midnight to Midnight).
***Ability to use 60 minute Opening Range, 30 minute, 15 minute, and many other options.
***However you can manually change the times in the Inputs Tab to adjust for any session you prefer. This is useful for Day Light Savings Adjustments. Also the default times work if your charts are set to EST Time. If you use A different time zone in your settings you need to Adjust the times in the inputs tab.
Initially Opening Range High and Low plot as Yellow Lines. If Price Goes Above Opening Range then Line Turns Green. If Price Goes Below Opening Range Line Turns Red.
By default the First Profit Target is 1/2 the Width of the Opening Range and the 2nd Profit Target is 1 Times the Opening Range. However these are Adjustable in the Inputs Tab.
By Default the Opening Range Length is 1 Hour. However, you can Change the Opening Range Length to 15 min, 30 min, 2 hours etc. in the Inputs Tab.
Plots a 1 Above or Below Candle when 1st Profit Target is Achieved, and a 2 when 2nd Profit Target is Achieved.
Ram Trend Scoring (Current TF Enhanced)Overview
The Ram Trend Scoring indicator is a trend & momentum scoring tool for Forex and other instruments. It evaluates multiple technical factors on the current timeframe to classify pairs as:
8 EMA Momentum Pair – strong trending momentum
20 EMA Pullback Pair – weaker trend, possible pullback setups
It uses a points-based system, where points are added for positive factors or subtracted for failed EMA conditions.
Scoring Components
Trend Structure – price relative to EMA20
ADX Strength – trend strength (>25 strong, >20 moderate)
Distance from EMA8 – price proximity to short-term EMA
Candle Body Strength – larger bodies indicate stronger momentum
Pullback Depth – evaluates how deep the retracement is
EMA8 Wick Rejection – bullish/bearish rejection near EMA8
EMA Separation – priority #1; ≥20 pips difference required, penalty -2 if not
EMA Angle – priority #2; slope ≥30° required, penalty -2 if not
EMA Order – priority #3; correct EMA8/EMA20 alignment, penalty -2 if not
Total Score = Sum of all factor scores.
Classification Threshold: default 12
Total ≥ threshold → “8 EMA Momentum Pair”
Total < threshold → “20 EMA Pullback Pair”
Table Display
2 columns × 11 rows:
Left column = factor name
Right column = score or value
Shows total score, individual scores, and classification
Usage / How to Trade
Trend Identification
Use the indicator to quickly see momentum strength
Check EMA plots and table scores for alignment
Priority Factors
First check EMA Separation (≥20 pips)
Then EMA Angle (≥30° slope)
Then EMA Order
Only if all conditions are met, consider the setup strong
Trade Planning
8 EMA Momentum Pair → Trend continuation setups
20 EMA Pullback Pair → Wait for retracement or reversal signals
Confirmation
Combine with your usual support/resistance, FVG, or price action for entry
Higher total scores → higher probability setups
Alerts
Use the built-in alerts for “8 EMA Momentum Pair” and “20 EMA Pullback Pair”
Key Advantages
Works entirely on current timeframe → no HTF errors
Easy visual scoring table
Adjustable parameters: EMAs, ADX, ATR, angle, separation
Helps identify high-probability trend continuation or pullback trades
5-Min ORB - NY Session5-Minute Opening Range Breakout (ORB) - NY Session Indicator
This TradingView indicator identifies and plots the Opening Range Breakout (ORB) based on the first 5-minute candle of the New York trading session.
Key Features:
Automatic Detection: Automatically detects the NY session open (default 9:30 AM ET, fully customizable) and captures the high/low of the first 5-minute bar
Multi-Timeframe Support: Works on any chart timeframe (1-min, 3-min, 15-min, etc.) by requesting 5-minute data
Dynamic Price Targets: Calculates both bullish (above ORB high) and bearish (below ORB low) price targets based on the opening range size
Configurable Targets: Set up to 10 price target levels on each side, with targets spaced proportionally to the ORB range
Extended Lines: All lines automatically extend ahead of the current bar by a configurable number of minutes for better forward visibility
Price Labels: Optional price labels display exact values at the end of each level
Midpoint Line: Optional dashed midpoint line shows the center of the opening range
Custom Styling: Fully customizable colors and transparency for all lines and labels
How It Works:
The indicator measures the distance between the ORB high and midpoint, then projects additional targets at equal intervals above the high (bullish targets in green) and below the low (bearish targets in red).
Why Use a 5-Minute ORB?
Tighter Range: The 5-minute opening range is typically smaller than the 15-minute range, providing more precise entry and exit levels
Earlier Signals: Breakouts are identified sooner, allowing for faster reaction times
Scalping-Friendly: Ideal for day traders and scalpers who prefer shorter timeframes and quicker price movements
Higher Probability Zones: The narrower range often creates more reliable support/resistance levels for intraday trading
Best Practices:
Works best on liquid instruments with high volume during NY session open
Combine with volume analysis to confirm breakout validity
Consider using the first target as a take-profit level for quick scalps
Watch for false breakouts within the first 15-30 minutes of the session
5-Minute Opening Range Breakout (ORB) - NY Session IndicatorThis TradingView indicator identifies and plots the Opening Range Breakout (ORB) based on the first 5-minute candle of the New York trading session.
Key Features:
Automatic Detection: Automatically detects the NY session open (default 9:30 AM ET, fully customizable) and captures the high/low of the first 5-minute bar
Multi-Timeframe Support: Works on any chart timeframe (1-min, 3-min, 15-min, etc.) by requesting 5-minute data
Dynamic Price Targets: Calculates both bullish (above ORB high) and bearish (below ORB low) price targets based on the opening range size
Configurable Targets: Set up to 10 price target levels on each side, with targets spaced proportionally to the ORB range
Extended Lines: All lines automatically extend ahead of the current bar by a configurable number of minutes for better forward visibility
Price Labels: Optional price labels display exact values at the end of each level
Midpoint Line: Optional dashed midpoint line shows the center of the opening range
Custom Styling: Fully customizable colors and transparency for all lines and labels
How It Works:
The indicator measures the distance between the ORB high and midpoint, then projects additional targets at equal intervals above the high (bullish targets in green) and below the low (bearish targets in red).
Why Use a 5-Minute ORB?
Tighter Range: The 5-minute opening range is typically smaller than the 15-minute range, providing more precise entry and exit levels
Earlier Signals: Breakouts are identified sooner, allowing for faster reaction times
Scalping-Friendly: Ideal for day traders and scalpers who prefer shorter timeframes and quicker price movements
Higher Probability Zones: The narrower range often creates more reliable support/resistance levels for intraday trading
Best Practices:
Works best on liquid instruments with high volume during NY session open
Combine with volume analysis to confirm breakout validity
Consider using the first target as a take-profit level for quick scalps
Watch for false breakouts within the first 15-30 minutes of the session
ECG PRICE - mauricioofsousa📉 ECG PRICE – The Price Electrocardiogram
(explained for traders, scientists, and complete beginners)
🔍 1. WHAT IS THE ECG PRICE?
The ECG PRICE protocol is a market-reading system based on the RSI, but with a surgical twist:
👉 You don’t just calculate RSI from price.
👉 You adjust the price using the RSI, and then calculate RSI over this adjusted price.
This creates a filtered, amplified signal that behaves like a heart monitor for price, detecting micro-impulses and subtle market movements long before they show up in the standard RSI.
🧬 2. CORE IDEA
Just like a real ECG amplifies and reveals electrical rhythms hidden inside the heartbeat,
the ECG PRICE amplifies micro-deformations hidden inside the price’s momentum.
It works in three stages:
Compute the regular RSI
Use the RSI to adjust the price (creating an electrocardiographic price)
Compute a second RSI over this modified price
The result is a meta-derived oscillator—more sensitive, more precise, and better at detecting structural changes.
🧩 3. TECHNICAL BREAKDOWN
3.1. First RSI (classic)
The script calculates:
average gains
average losses
relative strength (RS)
and then the standard 0–100 RSI
This is the “normal heart rate monitor” everyone uses.
3.2. Creating the “Adjusted Price”
adjustedPrice = close * (rsi / 100)
This means:
➡️ When RSI is high (strong buying momentum), price is amplified.
➡️ When RSI is low (strong selling momentum), price is compressed.
This converts raw price into a bio-electrical signal, where the price itself is modulated by its own internal momentum.
It’s the financial equivalent of ECG gain adjustment.
3.3. RSI of the Adjusted Price
Now the script calculates a new RSI from this modified price.
That is the actual ECG PRICE.
This second-order oscillator becomes extremely sensitive to:
micro-momentum shifts
early trend fading
volatility shocks
micro-divergences
institutional pressure waves
It reads the electrical pattern behind the price rather than the superficial movement.
🟩🟥 4. Diagnostic Lines of the Protocol
35 (green dotted)
Pre-oversold fatigue zone.
65 (red dotted)
Pre-overbought exhaustion zone.
30 (white solid)
Classic oversold.
70 (white solid)
Classic overbought.
Together they create two diagnostic corridors:
1. Medical corridor (30–70):
Standard RSI clinical range.
2. Electrical corridor (35–65):
The ECG-sensitive zone where micro-shifts appear first.
🧠 5. In Engineering Language (MGO style)
The ECG PRICE is essentially:
A nonlinear second-order oscillator where the RSI feeds back into price, creating a recursive momentum-modulated signal.
It functions like a:
bioinformational modulator
feedback-driven wave processor
impulse amplifier
micro-PID sensitivity enhancer
Very similar to the informational-wave transformations inside the MGO pipeline.
👨⚕️📉 6. Explained for a Total Beginner
Imagine the price is a heart.
The normal RSI shows if the heart is beating fast or slow.
But the ECG PRICE takes that heartbeat…
feeds it back into the heart…
and then measures the new heartbeat.
This creates a much more sensitive exam that detects problems before the normal test would.
💡 7. What It Gives You in Practice
earlier reversal signals
better trend-fatigue detection
clearer micro-divergences
a clean RSI with reduced noise
a smoother momentum curve
advanced behavioral readings before breakouts
It’s an upgrade.
A second-layer RSI that “hears” the inner electrical impulses of price.
Smart MA Crossover█ OVERVIEW
"Smart MA Crossover" is a technical analysis indicator designed to enhance the effectiveness of strategies based on MA crossovers, combining classic moving average crossovers with breakouts from boxes and dynamic trend visualizations. The indicator is fully customizable—you can freely adjust both parameters and graphical elements.
█ CONCEPTS
Trading approaches based solely on moving average crossover moments generate a large number of false signals. Smart MA Crossover was created to improve this statistic. That's why boxes are added, which are formed from the candle where the MA crossover occurred and generate signals only upon breakout from them. The boxes have bullish (green) and bearish (red) colors. By default, the show_only_matching filter is enabled, displaying entry signals only when the breakout direction matches the box color (e.g., only upward for a bullish box). Boxes are by default the size of the candle on which the crossover occurred, but their size can be adjusted to suit your strategy via an optional average candle size multiplier.
█ FEATURES
- Moving Averages: Two configurable MAs (fast_length, default 10; slow_length, default 30) with selectable type (SMA, EMA, WMA, HMA, VWMA). Optionally displayed with gradient fill between them (color depends on trend: green for uptrend, red for downtrend).
- MA Gradient and Candle Coloring: Enable gradient fill between MAs (transparency: gradient_opacity, default 85) and dynamic candle coloring based on trend (green/red).
- Fog Gradient Trend: Multi-layered gradient "fog" around hl2, consisting of 5 levels up and down, with offset based on average candle size (offset_mult, default 0.7) and increasing transparency (base_transp, default 80; transp_inc, default 4). Fog colors are dynamic (green/red).
- Breakout Boxes: Created at the moment of MA crossover, extending to the right. Box height optionally multiplied by average candle size (use_box_multiplier, box_multiplier, default 1.0). Boxes close and generate a signal when price breaks out beyond the top/bottom edge.
Signals:
- Triangles: Green downward triangles (buy breakout) below the bar, red upward triangles (sell breakout) above the bar—only on breakouts matching direction (if show_only_matching = true). When the matching filter is disabled, every box generates a signal based not on the MA crossover, but on the breakout direction.
- Labels: “BUY” (green, below bar) and “SELL” (red, iabove bar) with transparent background (transparency 40).
- Matching Filter: The show_only_matching option limits signals to breakouts consistent with box direction (bullish box → only buy, bearish → only sell).
- Visualization: Gradient MA lines, fill between MAs, multi-layered fog with increasing transparency, boxes with transparent background (85) and colored borders, dynamic trend colors.
- Alerts: Built-in alerts for BUY and SELL signals (with message including ticker and timeframe).
█ HOW TO USE
Add to Chart: Apply the indicator via Pine Editor or the Indicators menu on TradingView.
Configure Settings:
- MA Settings: Adjust fast (fast_length, default 10) and slow (slow_length, default 30) MA lengths and type (ma_type, default SMA).
- Visualization: Enable/disable MA lines (show_ma_lines), MA gradient (use_gradient_ma), fog trend (show_fog), candle coloring (color_candles).
- Boxes and Breakouts: Enable candle size multiplier (use_box_multiplier) and set value (box_multiplier, default 1.0). Enable signal filter (show_only_matching).
- Signals: Choose type (signal_type): Triangles or Labels (Buy/Sell).
- Fog Trend: Adjust offset (offset_mult), base transparency (base_transp), and increment (transp_inc). Select trend colors (col_up, col_dn).
Signal Interpretation:
- Buy Signals: Green triangles below the bar or “BUY” label—on upward breakout from a bullish box (after bull cross).
- Sell Signals: Red triangles above the bar or “SELL” label—on downward breakout from a bearish box (after bear cross).
- Fog and Gradient: green fog/fill = uptrend; red = downtrend.
- Boxes: Active boxes indicate potential breakout zones; their closure confirms the move.
Signal Confirmation: Use with other tools, such as support/resistance levels, volume, or additional MAs to filter false crossovers.
█ APPLICATIONS
- MA Cross Strategies: Replace classic crossovers—boxes and breakouts eliminate many false signals, thereby increasing effectiveness. Confirm with other indicators, e.g., RSI, Fibonacci, FVG, pivot levels.
- Trend Following: Can be used as a classic trend indicator, especially with larger MA values.
█ NOTES
- Test the indicator across different timeframes and assets, adjusting MA lengths and box multiplier to market volatility.
- In consolidating markets, the indicator generates more false signals.
AI Adaptive MA - Machine Learning Trading Algorithm🤖 AI-Powered Self-Learning Trading Algorithm
This indicator uses machine learning to automatically optimize trading parameters in real-time, continuously learning from market behavior to improve signal accuracy.
How the AI Works:
- Runs backtesting loops across 45+ MA configurations simultaneously
- Scores each model based on recent prediction accuracy
- Auto-selects the highest-performing configuration
- Filters signals using multi-factor ML validation
Real-Time Stats Dashboard:
Shows the AI's current selected model, performance score, and trend detection
Key ML Features:
- Continuous Learning: Adapts every bar to changing markets
- Pattern Recognition: Identifies optimal MA periods automatically
- Smart Filtering: ML-based signal validation reduces false positives
- No Manual Optimization: The algorithm handles everything
Understanding the Score:
The AI's performance score shows how well the selected MA is working:
- 0-10: Poor - Choppy market, reduce trading
- 10-20: Moderate - Normal conditions
- 20-30: Good - Reliable signals
- 30+: Excellent - Strong trend, increase confidence
Score = Higher prediction accuracy over last 20 bars
The score tells you when to trust signals more (high score) or be cautious (low score). Sudden drops indicate market regime changes.
Why It's Different:
Unlike static indicators, this is a true adaptive AI system that learns and evolves with market conditions - similar to how quant funds use ML for signal generation.
Perfect for traders wanting to leverage artificial intelligence without coding their own algorithms.
Note: 70+ bar learning period required for AI initialization.
1m EMA Scalper + Lot Size HUD [DIMS]1m EMA Scalper w/ Pre-Alert + Lot Size HUD
Purpose:
A short-term (1-minute) scalping strategy for assets like XAUUSD, GBPJPY, and GER30/GER40, showing precise buy/sell signals, stop-loss, take-profit, breakeven levels, and a dynamic lot size HUD for risk management.
Key Features:
Signals:
Buy/Sell signals generated using EMA crossover (fast vs slow) + RSI filter + optional candle/volume filter.
Signals only appear during selected trading sessions (London & NY).
Pre-alert signals appear 30 seconds before the candle closes, so you can prepare to enter.
Stop Loss / Take Profit / Breakeven:
SL calculated using ATR × multiplier and adjustable for spread.
TP follows a configurable risk:reward ratio.
Breakeven can be toggled on/off and uses a custom multiplier.
Lines have customizable length, width, and style.
Lot Size HUD:
Automatically calculates lot size based on account balance, risk % or fixed amount, and leverage.
Shows stop distance in pips/points.
HUD retains the value for 5 minutes after the signal candle.
Flashes 30 seconds before the candle closes to prepare for the trade.
Auto-adjusts for XAUUSD, GBPJPY, GER30/GER40.
Alerts:
Alerts for pre-alert signals and confirmed signals.
Can toggle alerts on/off for both types.
Customization & Display:
Toggle buy/sell signals, SL/TP/BE lines, and pre-alert arrows.
Works entirely on-chart, displaying only the essential arrows, lines, and HUD.
Summary:
It’s a ready-to-trade scalping tool that combines fast technical signal detection with risk management, pre-alert timing, and visual trade guidance — letting you focus on execution without manually calculating lot size or monitoring every candle.
Lightning Session LevelsLightning Session Levels (LSL) draws clean, non-repainting levels for the major market sessions and a compact HUD in the top-right corner. It’s built to be lightweight, readable, and “set-and-forget” for intraday traders.
What it shows
Session High/Low and Open/Close levels for:
ASIA (00:00–08:00 UTC)
EUROPE (07:00–16:00 UTC)
US (13:30–20:00 UTC)
OVERNIGHT (20:00–24:00 UTC)
HUD panel:
Current active session
Countdown to the next US session (auto-calculated from UTC)
How it works (non-repainting)
Levels are anchored at session close. Each line is created once on the confirmed closing bar of the session (x2 = session end).
Optional Extend Right keeps the level projecting forward without changing the anchor (no “drifting”).
All drawings are pinned to the right price scale for stable reading.
Inputs
Show HUD — toggle the top-right panel.
Show Levels — master switch for drawing levels.
Draw High/Low — H/L session levels.
Draw Open/Close — O/C session levels.
Extend Right — extend all session lines to the future.
Keep N past sessions per market — FIFO limit per session group (default 12).
ASIA / EUROPE / US / OVERNIGHT — enable/disable specific sessions.
Style & palette
Consistent “Lightning” colors:
ASIA = Cyan, EUROPE = Violet, US = Amber, OVERNIGHT = Teal
Labels are always size: Normal for readability.
HUD uses a dark, subtle two-tone background to stay out of the way.
Recommended use
Timeframes: intraday (1m → 4h).
On 1D and higher, TradingView’s session-window time() filters won’t match intraday windows, so levels won’t plot (by design).
Markets: crypto, indices, FX, equities — any symbol where intraday session context helps.
Notes & limitations
Fixed UTC windows. The US window is set to 13:30–20:00 UTC. Daylight-saving shifts (DST) are not auto-adjusted; if you need region-specific DST behavior, treat this as a consistent UTC model.
The HUD timer counts down to the next US open from the current UTC clock.
Draw limits are capped (500 lines, 500 labels) for performance and stability.
Quick start
Add Lightning Session Levels to your chart.
Toggle Draw High/Low and/or Draw Open/Close.
Turn on Extend Right if you want the levels to project forward.
Enable only the sessions you care about (e.g., just EUROPE and US).
Use Keep N past sessions to control clutter (e.g., 6–12).
Disclaimer
This tool is for educational/informational purposes only and is not financial advice. Past session behavior does not guarantee future results. Always manage risk.
Relative Performance Binary FilterDescription:
This indicator monitors the relative performance of 30 selected crypto assets and generates a binary signal for each: 1 if the asset’s price has increased above a user-defined threshold over a specified lookback period, 0 otherwise. The script produces a JSON-formatted output suitable for webhooks, allowing you to send the signals to external applications like Google Sheets.
Key Features:
Configurable lookback period, price source, and performance threshold.
Supports confirmed or real-time bar data.
Monitors 30 crypto assets simultaneously.
Produces a one-line JSON output with batch grouping for easy webhook integration.
Includes an optional visual sum plot showing how many assets are above the threshold at any time.
Use Cases:
Automate performance tracking across multiple crypto assets.
Feed binary signals into external dashboards, trading bots, or Google Sheets.
Quickly identify which assets are outperforming a set threshold.
[Statistics] killzone SFPSFP Statistics (ICT Sessions)
This indicator automatically finds and draws the high and low of the Asia, London, and New York trading sessions. It then hunts for Swing Failure Patterns (SFPs) that sweep these key session levels.
The main purpose of this script is to gather statistics on when these high-probability SFPs occur, allowing you to map out and identify the times of day when they are most frequent.
How to Use This Indicator
Set Your SFP Timeframe: In the settings, choose the timeframe you want to hunt for SFPs on (e.g., 1H, 15m). Important: You must also set your main chart to this exact same timeframe for the statistics to be collected correctly.
Define Your Sessions: Go to the "Session Definitions" tab.
Set the Global Timezone to your preferred trading timezone (e.g., "America/New_York"). This controls all session times and table times.
Adjust the start and end times for Asia, London, and NY AM sessions.
You can turn off sessions you don't want to track (like NY Lunch or NY PM).
You can also change the colors and text style for the session boxes here.
Set Confirmation Bars: In "SFP Engine Settings," the "Confirmation Bars" (default is 2) defines how many bars must close after the SFP bar without invalidating the level. An SFP is only "confirmed" and drawn after this period.
0 = Confirms immediately on the SFP candle's close.
2 = Confirms 2 bars after the SFP candle's close.
Read the Statistics: The "Custom SFP Statistics" table will appear on your chart. This table logs every confirmed SFP and tells you:
Which time of day they happen most.
How many were Bearish (swept a high) vs. Bullish (swept a low).
It's set by default to show the "Top 20" most frequent times, sorted chronologically.
Filter Your Chart (Optional): If your chart feels cluttered, go to "Visual Time Filter" and turn it ON.
Set a time window (e.g., "09:30-11:00").
The indicator will now only draw SFP signals that occurred within that specific time window. This is perfect for focusing on a single killzone.
How to Set Up Alerts
You can set up server-side alerts to be notified every time a new SFP is confirmed.
Check the "Enable SFP Alerts" box at the top of the indicator's settings.
Click the "Alert" button (alarm clock icon) on the TradingView toolbar.
In the "Condition" dropdown, select "SFP Statistics (ICT Sessions)".
In the second dropdown, choose "Any alert() function call".
Most Important Step: In the "Message" box, delete any default text and type in this exact placeholder:
{{alert_message}}
Set the trigger to "Once Per Bar Close".
Click "Create".
How Alerts Work (Triggers & Filtering)
Trigger: Alerts are tied to the confirmed signal. An alert will only fire after your "Confirmation Bars" have passed and the SFP is locked in. This prevents you from getting alerts on fake-outs.
Alert Filtering: The alerts are linked to the "Visual Time Filter". If you turn on the Visual Time Filter (e.g., to 09:30-11:00), you will only receive alerts for SFPs that are confirmed within that time window. If an SFP happens at 14:00, the script will ignore it, it will not be drawn, and it will not send you an alert. This allows you to get alerts only for the session you are actively trading.
Note: This is a first draft of this indicator. I will continue to work on it and improve it over time, as it may still contain small bugs.
Acknowledgements:
A big thank you to TFO (tradeforopp). The session detection logic and the visual style for the session boxes were adapted from his excellent "ICT Killzones & Pivots " indicator.






















