BIASBias — MTF Market Structure
What it does
Bias determines bullish/bearish bias from a higher timeframe (HTF) market structure and shows BOS/CHOCH events in a minimal, uncluttered way. When a BOS/CHOCH is confirmed, the script draws a single horizontal line at the broken swing that extends to the right and stops automatically once price invalidates it. Background shading reflects the current bias.
Why it’s different (Minimal Clean)
No boxes or noisy fills — just clean horizontal continuation lines and small optional labels.
Pivot-based structure on your chosen HTF; lines update only when swings are confirmed.
Built-in anti-clutter controls (limit number of active lines).
Optional conservative confirmation (wait for HTF close).
How Bias is determined (BOS/CHOCH logic)
On the selected HTF, the script detects swing highs/lows using Pivot Left / Right.
New swings are filtered by Min Swing Distance (%) so tiny wiggles are ignored.
A breakUp occurs when price crosses the latest HTF swing high; a breakDown when it crosses the latest swing low (by Close or Wick, per your setting).
Event classification:
BOS (Break of Structure): break in the same direction as the current bias (trend continuation).
CHOCH (Change of Character): break in the opposite direction (trend change).
After a break, bias flips/updates (Bullish after breakUp, Bearish after breakDown). A thin horizontal line is drawn from that level, extending until price invalidates it in the opposite direction.
Inputs & Settings (what to tweak)
Basis Timeframe (HTF) – the timeframe used to build structure (e.g., 1H, 4H, 1D).
Pivot Left / Right – swing sensitivity (higher = cleaner, slower).
Confirm Break by Close – if ON, require close beyond the level; if OFF, wick is enough.
Wait for HTF Close – confirms only after the HTF candle closes (safer, later).
Min Swing Distance (%) – minimum percent distance vs. previous swing to accept a new swing.
Show Bias Background – soft background shading of current bias.
Show BOS/CHOCH Labels – small tags on the break candle (optional).
Max Active Level Lines – caps how many horizontal lines are kept on the chart (default 8).
Line Width – thickness of the horizontal lines.
Colors
Bull continuation lines/labels use a teal theme; Bear uses orange. You can adjust in code if desired.
How to use (quick start)
Add to any chart and keep your trading timeframe as you like (e.g., 5m, 15m, 1H).
Set HTF to the structure frame you trust (e.g., 1H for intraday, 4H/D for swing).
For a cleaner map, raise Pivot Left/Right (e.g., 4–6) and Min Swing Distance (e.g., 0.5–1%).
Choose break confirmation:
Want early signals? leave Confirm by Close ON and Wait for HTF Close OFF.
Want stronger signals? turn Wait for HTF Close ON.
Read the chart:
Background = current Bias (Bullish or Bearish).
Each BOS/CHOCH prints a short label and a horizontal line that extends to the right until price invalidates it.
Use the lines as clean reference for structure and for where bias last changed/continued.
Reduce clutter by lowering Max Active Level Lines (e.g., 5–8) or turning labels off.
Multi-HTF tip: Add two instances — e.g., HTF=4H for strategic bias and HTF=1H for tactical entries. Keep labels ON only on the tactical one for simplicity.
Alerts
The script provides ready-made alert conditions (constant strings per Pine v6 rules):
BOS Bullish
BOS Bearish
CHOCH Bullish
CHOCH Bearish
Bias Flip → Bullish
Bias Flip → Bearish
Create an alert on the indicator and choose the condition you want.
Notes & Limitations
Swings use pivots; a pivot only finalizes after pR bars, so signals don’t repaint forward once the HTF pivot is confirmed.
If Wait for HTF Close is OFF, intrabar spikes can trigger earlier (faster but less strict).
As with any tool, this is not financial advice and should be combined with your own risk management.
Recommended presets
Intraday: HTF = 1H, pL/pR = 4/4, Min Swing % = 0.6–1.0, Confirm by Close = ON, Wait HTF Close = OFF, Max Lines = 6–8.
Swing: HTF = 4H or 1D, pL/pR = 5–6, Min Swing % = 1.0–2.0, Confirm by Close = ON, Wait HTF Close = ON, Max Lines = 5.
Moving Averages
Xmoon – 3 Push Divergence – PremiumWhat the Xmoon Indicator Does and Why It’s Special
The Xmoon Indicator is an advanced and unique analytical tool, built on years of trading experience, research, and development. It is not merely a combination of a few simple indicators; it is a comprehensive, intelligent system that brings together the three main pillars of trading success—strategy, risk management, and trading psychology—into a single integrated tool.
Strategy
• Xmoon’s core algorithm is based on the 3 Push Divergence pattern in the RSI —a pattern not offered in other indicators. Most existing tools only detect divergence between two highs or two lows, whereas Xmoon can identify three consecutive highs or three consecutive lows with a momentum mismatch, which considerably increases the statistical likelihood of a trend reversal.
Risk Management
• Automatically calculates the size of each step entry based on per-step capital allocation, leverage, and entry/exit prices, using precise, weighted calculations.
• These multi-step calculations run in real time and are shown clearly in the Information Box for quick reading.
• A Liquidity Line (risk threshold) is computed for each setup and plotted on the chart so you can see at a glance where the position would be liquidated (futures) or where the analysis is invalidated (spot).
Psychology & Decision-Making
• From the moment a signal is generated, Xmoon plots all key levels— step entries, risk-free levels, targets, and the liquidity line —so the trader knows from the outset:
o where the profitable exit is if the market follows the analysis;
o where the break-even (risk-free) exit is if the market moves against the analysis.
• This approach significantly reduces stress and emotional decision-making, because both favorable and unfavorable scenarios are predefined.
Logic & Workflow of the Xmoon Indicator
1️⃣ Pivot Detection and Classification
Xmoon first detects price pivots on the chart and classifies them— based on the bar distance between consecutive pivot highs/lows—into four tiers: Super Minor, Minor, Mid-Major, and Major .
The greater the distance between pivots, the larger and more reliable the pivot becomes—though signals are generated less frequently.
2️⃣ Detecting the 3 Push Divergence Pattern
At this stage, Xmoon identifies 3 Push Divergence patterns. The pattern forms when price prints three consecutive pivots in the same direction, i.e.:
• Bullish: three successive higher highs
• Bearish: three successive lower lows
Meanwhile, at the corresponding points on the RSI , momentum moves the other way:
• Bullish case: RSI peaks step down each time — weakening buying pressure
• Bearish case: RSI troughs step up each time — weakening selling pressure
This repeated price–momentum disagreement three times in a row can significantly increase the likelihood of a trend reversal.
3️⃣ Plotting the Pattern and Key Levels
After the pattern is detected, Xmoon draws the divergence lines and plots the following levels on the chart:
• Step entry lines based on the user-defined number of steps and allocated capital.
• Risk-free (break-even) lines for exits without profit or loss.
• Target lines indicating minimum profit objectives.
• Liquidity level (risk threshold) marking where equity would be wiped out in futures.
These visuals let the trader see, at a glance, the full picture of the pattern, planned entries/exits, and the risk range.
4️⃣ Information Box
After the pattern is detected, Xmoon can display an on-chart Information Box alongside each detected pattern (when enabled in the settings). It includes:
• Pivot type: Super Minor, Minor, Mid-Major, or Major.
• Confirmation filters:
1. Higher-timeframe trend based on the 200-period moving average (MA200).
2. Higher-timeframe overbought/oversold status based on RSI.
• Suggested entry size: based on actual capital and leverage.
This box helps the trader quickly see the pattern quality, overall market context, and the suggested position size.
ℹ️ Explanation of Confirmation Filters
Using these filters can increase signal accuracy.
This information is built into the Xmoon indicator, so you don’t need to add any extra indicators or tools to the chart. Xmoon performs the comparisons in real time and displays the filter results in the Information Box .
• Higher-timeframe trend filter: If the higher-timeframe trend based on the 200-period moving average (MA200) is bullish, buy/long signals are stronger; if it’s bearish, sell/short signals are stronger.
• Higher-timeframe overbought/oversold filter: If RSI is in the overbought zone, the probability of success for sell/short signals is higher; in the oversold zone, the probability of success for buy/long signals is higher.
🧩 What are the components of the Xmoon indicator, and why are they combined?
• Core strategy: trend-reversal signals via a proprietary 3 Push Divergence algorithm.
• Multi-stage confirmation: higher-timeframe trend based on MA200 , plus higher-timeframe RSI overbought/oversold confirmation.
• Advanced position sizing: step-based sizing and weighted averaging .
• Structured exit management: risk-free levels, targets , and liquidity level.
• Supports fast decision-making: all vital information at a glance.
This combination turns Xmoon into a complete, practical system that has not been implemented in this integrated way in any similar tool on TradingView, and it is precisely the sum of these features in a single indicator that sets Xmoon apart from comparable tools.
How to Use the Xmoon Indicator
1️⃣ Add to chart: Add the indicator to the chart of your chosen symbol.
2️⃣ Configure parameters: In Settings , adjust the following to match your strategy:
• Number of Entry steps: 2 to 10 steps
• Pivot type: Super Minor / Minor / Mid-Major / Major
• Pattern direction: Bullish / Bearish
• Display options: show lines and the Information Box
• Capital per trade
• Higher-timeframe filters: timeframes for Trend and RSI
3️⃣ Enable alerts: Turn on alerts to receive immediate notifications when a 3 Push Divergence pattern is detected.
4️⃣ Review the Information Box: To assess pattern strength and alignment with the market after a signal appears, check:
• Pivot size: Super Minor / Minor / Mid-Major / Major (for gauging pattern strength)
• Confirmation filters:
1. Whether the detected pattern aligns with the higher-timeframe trend
2. Whether the detected pattern aligns with the higher-timeframe RSI overbought/oversold condition
These details help you decide whether to enter the trade.
5️⃣ Step Entries
After reviewing the conditions, open your first position at Step 1 . If price moves against you and reaches the Step 2 level, open a new position there, and continue opening additional positions at each subsequent step level.
Whenever price reverses from any of these levels and moves in the direction of your analysis, all open positions will move into profit .
In Xmoon, the number of entry steps is fully configurable ( 2 to 10 ). Set it according to your strategy—the system automatically calculates the size of each step based on the capital you allocate.
6️⃣ Exit Management
Depending on market conditions, you can choose one of the following:
• ⚖️ Exit at the risk-free level: when the market is uncertain and you prefer to close at break-even.
• 🎯 Exit at the target level: when price has followed your analysis and you want to realize profit.
⚠️ Liquidity Level
• Spot: analysis invalidation point.
• Futures: the price at which a leveraged position’s equity would be wiped out.
Why the Invite-Only Version of Xmoon Is Worth Getting
• Proprietary 3 Push Divergence detection and confirmation that isn’t available in the free version or generic indicators.
• Automatic, precise capital and step sizing, with visual plotting of key levels from the moment a signal is issued.
• Real-time market context and pattern quality shown in the Information Box—no need to switch timeframes or add extra indicators.
• Risk control and psychological support by outlining predefined scenarios from start to finish of the trade.
• Limited access to help prevent misuse and reduce users’ financial risk, with dedicated training before activation.
• Developed through extensive backtesting and live evaluation; outcomes depend on correct use and market conditions.
We sincerely hope you have successful and profitable trades.
📣 If you have any questions or need further guidance, we’ll be happy to hear from you.
It’s our pleasure to assist you anytime.
🔻🔻🔻 Persian Section – بخش فارسی 🔻🔻🔻
اندیکاتور ایکسمون چه کاری انجام میدهد و چرا خاص است
اندیکاتور ایکسمون یک ابزار تحلیلی پیشرفته و منحصربهفرد است که حاصل سالها تجربه ترید، تحقیق و توسعه است. این اندیکاتور صرفاً ترکیب چند اندیکاتور ساده نیست، بلکه یک سیستم جامع و هوشمند است که سه رکن اصلی موفقیت در معاملات یعنی استراتژی، مدیریت سرمایه و روانشناسی معاملهگری را در یک ابزار یکپارچه گردآورده است
در بخش استراتژی
* الگوریتم اصلی ایکسمون بر اساس الگوی سهپوش واگرایی (تری پوش دایورجنس) در آر-اِس-آی طراحی شده است؛ الگویی که در سایر اندیکاتور ها ارائه نشده است، بیشتر ابزارهای موجود تنها واگرایی بین دو قله یا دو کف را تشخیص میدهند، در حالی که ایکسمون توانایی شناسایی سه قله یا سه کف متوالی با تضاد مومنتوم را دارد که این موضوع از نظر آماری احتمال بازگشت روند را بهمراتب افزایش میدهد
در بخش مدیریت سرمایه
* محاسبه خودکار حجم هر پله، بر اساس سرمایه پله ای، لوریج و قیمتهای ورود/خروج بهصورت دقیق و وزنی انجام میشود
* این محاسبات پیچیده برای چندین پله به شکل لحظهای انجام شده و در باکس اطلاعات به سادهترین شکل نمایش داده میشود
* خط لیکوییدیتی (حد ریسک) برای هر الگو محاسبه و روی نمودار بصورت بصری رسم میشود تا کاربر در یک نگاه بداند سرمایهاش کجا صفر میشود (در فیوچرز) یا تحلیلش کجا باطل میشود (در اسپات)
در بخش روانشناسی و تصمیمگیری
* ایکسمون از همان لحظه صدور سیگنال، تمام خطوط کلیدی (ورودی پلهای، ریسکفری، تارگت، لیکوییدیتی) را رسم میکند تا معاملهگر از ابتدا بداند
* اگر بازار طبق تحلیل پیش برود، خروج سودآور کجاست
* اگر بازار بر خلاف تحلیل پیش برود، نقطه خروج بیضرر (ریسکفری) کجاست
* این رویکرد باعث کاهش شدید استرس و تصمیمگیری احساسی میشود، چون سناریوهای خوشبینانه و بدبینانه از پیش مشخص هستند
⚙️ منطق و روش کار اندیکاتور ایکسمون
1️⃣ شناسایی و طبقهبندی پیوتها
اندیکاتور ایکسمون ابتدا پیوتهای قیمتی را روی نمودار شناسایی کرده و بر اساس فاصلهی کندلی بین سقف یا کف ها، آنها را در چهار دسته طبقهبندی میکند : سوپر مینور، مینور، میدماژور و ماژور
هرچه فاصله بین پیوت ها بیشتر باشد، پیوت بزرگتر و معتبرتر است، اما سیگنالها کمتر تولید میشوند
2️⃣ تشخیص الگوی سهپوش واگرایی
اندیکاتور ایکسمون در این مرحله الگوهای سهپوش واگرایی را شناسایی میکند، این الگو زمانی شکل میگیرد که قیمت سه پیوت متوالی همجهت تشکیل دهد، یعنی
* حالت صعودی : سه سقف پیاپی بالاتر از قبلی
* حالت نزولی : سه کف پیاپی پایینتر از قبلی
و همزمان، در نقاط متناظر در آر-اِس-آی حرکت معکوس دیده شود، به این معنا که
* حالت صعودی، قلههای آر-اِس-آی هر بار پایینتر از قبلی قرار گیرند - کاهش قدرت خرید
* حالت نزولی، درههای آر-اِس-آی هر بار بالاتر از قبلی شکل گیرند - کاهش فشار فروش
این تضاد قیمت و مومنتوم، وقتی سه بار پیاپی رخ دهد، احتمال بازگشت روند را بهشدت افزایش میدهد
3️⃣ ترسیم الگو و نمایش سطوح کلیدی
پس از شناسایی الگو، ایکسمون خطوط واگرایی و همچنین خطوط و سطوح زیر را روی نمودار ترسیم میکند، این موارد شامل
* 📍 خطوط ورود پلهای بر اساس تعداد پله و سرمایه تنظیمشده توسط کاربر
* ⚖️ خطوط ریسکفری برای خروج بدون سود و زیان
* 🎯 خطوط تارگت به عنوان سطوح حداقل سود
* 🛡 سطح لیکوییدیتی (حد ریسک) برای مشخصکردن نقطه صفر شدن سرمایه در معاملات فیوچرز
این ترسیمات باعث میشود معاملهگر در یک نگاه تصویر کامل از الگو، سطوح ورود و خروج و محدوده ریسک داشته باشد
4️⃣ باکس اطلاعات
پس از شناسایی الگو، اندیکاتور ایکسمون یک باکس اطلاعات تکمیلی در کنار هر الگو نمایش میدهد، البته با فعالسازی گزینه مربوطه در تنظیمات، باکس اطلاعات در کنار الگو نمایش داده میشود و شامل موارد زیر میباشد
* 🏷 نوع پیوت : سوپر مینور، مینور، میدماژور یا ماژور
* 📋 فیلترهای تأییدی
یک - جهت روند در تایمفریم بالاتر بر اساس میانگین متحرک دویست
دو - وضعیت اشباع خرید/فروش در تایمفریم بالاتر بر اساس اندیکاتور آر-اِس-آی
* 📊 حجم پیشنهادی ورود : بر اساس سرمایه واقعی و لوریج
این باکس به معاملهگر کمک میکند در یک نگاه کیفیت الگو، شرایط کلی بازار و حجم پیشنهادی ورود را بداند
توضیح درباره فیلترهای تأییدی : استفاده از این فیلترها میتواند دقت سیگنالها را افزایش دهد. این اطلاعات در اندیکاتور ایکسمون موجود است و نیازی نیست اندیکاتور یا ابزار اضافه دیگری به چارت اضافه کنید. ایکسمون مقایسه ها را در لحظه انجام میدهد و نتیجه فیلترها را در باکس اطلاعات به شما نشان میدهد
* فیلتر جهت روند در تایمفریم بالاتر : اگر روند بالاتر بر اساس اِم-اِی-دویست صعودی باشد، سیگنالهای خرید/لانگ قویتر هستند و بالعکس
* فیلتر تشخیص نواحی اشباع خرید/فروش در تایمفریم بالاتر : اگر آر-اِس-آی در محدوده اُورباوت باشد، احتمال موفقیت فروش بیشتر است و در محدوده اُورسولد احتمال موفقیت خرید بالاتر میرود
🧩 اجزای اندیکاتور ایکسمون چه هستند و چرا این اجزا با هم ترکیب شدهاند
* استراتژی اصلی : سیگنال بازگشت روند با الگوریتم اختصاصی سهپوش واگرایی
* تأیید چندمرحلهای جهت روند در تایم فریم بالاتر بر اساس اِم-اِی-دویست و تایید وضعیت بیشینه خرید/فروش در تایم فریم بالاتر در اندیکاتور آر-اِس-آی
* مدیریت سرمایه پیشرفته : محاسبه حجم پلهای و میانگین وزنی
* مدیریت خروج ساختاریافته : سطوح ریسکفری، تارگت، لیکوییدیتی
* پشتیبانی از تصمیمگیری سریع : همه اطلاعات حیاتی در یک نگاه
این ترکیب، ایکسمون را به یک سیستم کامل و کاربردی تبدیل کرده که در هیچ ابزار مشابهی در تریدینگویو به این شکل یکپارچه پیادهسازی نشده است و دقیقاً مجموع این ویژگیها در یک اندیکاتور است که ایکسمون را از ابزارهای مشابه متمایز میکند
📖 نحوه استفاده از اندیکاتور ایکسمون
1️⃣ افزودن اندیکاتور به چارت : اندیکاتور را به نمودار نماد دلخواه اضافه کنید
2️⃣ تنظیم پارامترها : از بخش تنظیمات، موارد زیر را بر اساس استراتژی شخصی خودتان مشخص کنید
* تعداد پلههای ورود: از دو تا ده پله
* نوع پیوت ها: سوپر مینور/مینور/مید-ماژور/ماژور
* نوع الگوها: نزولی/صعودی
* نمایش خطوط و باکس اطلاعات
* تعیین سرمایه در هر معامله
* تایمفریمهای فیلتر اِم-اِی-دویست و آر-اِس-آی
3️⃣ فعالسازی هشدارها : برای اطلاع فوری از شناسایی الگوهای سهپوش واگرایی ، آلارمها را فعال کنید
4️⃣ بررسی باکس اطلاعات : برای سنجش قدرت الگو و همجهتی با بازار، پس از صدور سیگنال، اطلاعات زیر را در باکس مشکی اطلاعات بررسی کنید
* 🏷 نوع پیوت : بررسی میزان قدرت الگو - سوپر مینور، مینور، میدماژور یا ماژور
* 📋 فیلترهای تأییدی
یک - بررسی هم جهتی الگوی شناسایی شده با جهت روند در تایمفریم بالاتر
دو - بررسی هم جهتی الگوی شناسایی شده با وضعیت اشباع خرید یا فروش در اندیکاتور آر-اِس-آی در تایمفریم بالاتر
این اطلاعات به شما کمک میکند تصمیم بگیرید که آیا وارد معامله شوید یا خیر
5️⃣ ورود پلهای
اگر پس از بررسی شرایط تصمیم به ورود گرفتید، اولین پوزیشن را در پله اول باز کنید و در صورتی که بازار در خلاف جهت موردنظر شما حرکت کرد و به سطح پله دوم رسید، یک پوزیشن جدید در همان سطح باز کنید و با رسیدن به سطوح بعدی، پوزیشن های بعدی را باز می کنید
هر زمان که بازار از هر یک از این سطوح برگشت و در جهت تحلیل شما حرکت کرد، تمامی پوزیشنهای باز شده وارد سود میشوند
در اندیکاتور ایکسمون، تعداد پلههای ورودی کاملاً قابلتنظیم است (بین دو تا ده پله ) و شما میتوانید بر اساس استراتژی شخصی خود آن را تعیین کنید، سیستم بهطور خودکار حجم هر پله را بر اساس سرمایه واردشده محاسبه میکند
6️⃣ مدیریت خروج
بسته به شرایط بازار، میتوانید یکی از دو روش زیر را انتخاب کنید
* ⚖️ خروج در سطح ریسکفری : زمانی که بازار نامطمئن است و میخواهید بدون سود یا زیان از معامله خارج شوید
* 🎯 خروج در سطح تارگت : زمانی که قیمت طبق تحلیل شما حرکت کرده است و بدنبال کسب سود هستید
⚠️سطح لیکوییدیتی
* اسپات: نقطه ابطال تحلیل
* فیوچرز: نقطه صفر شدن سرمایه پوزیشن با لوریج
💎 چرا نسخه اینوایت اونلی ایکسمون ارزش تهیه دارد
* الگوریتم اختصاصی شناسایی و تأیید سهپوش واگرایی که در نسخه رایگان یا اندیکاتورهای عمومی وجود ندارد
* محاسبات سرمایه و حجم پلهای بهصورت خودکار و دقیق، همراه با رسم بصری سطوح کلیدی از لحظه صدور سیگنال
* نمایش آنی شرایط بازار و کیفیت الگو در باکس اطلاعات بدون نیاز به تغییر تایمفریم یا افزودن اندیکاتورهای اضافی
* کنترل ریسک و پشتیبانی روانی معاملهگر با ارائه سناریوهای مشخص از ابتدا تا انتهای معامله
* دسترسی محدود برای جلوگیری از استفاده نادرست و کاهش ریسک مالی کاربران، همراه با آموزش اختصاصی پیش از فعالسازی
* اثباتشده در تستها و معاملات واقعی با نتایج قابل اتکا، به شرط استفاده صحیح بر اساس آموزش
صمیمانه امیدواریم معاملات موفق و پرسودی داشته باشید
📣 اگر سوالی دارید یا نیاز به راهنمایی بیشتری دارید، خوشحال میشویم از ما بپرسید
با کمال میل در خدمتتان هستیم
Multi Moving Average System with MACDDetailed Description of "Multi Moving Average System with MACD" Indicator
This indicator is designed to help traders identify the direction and strength of market trends. It combines several technical tools that work together to provide a more complete picture of market conditions.
What are Moving Averages and how do they work?
Moving Averages (MA) are lines on a chart that show the average price over a specific period. They smooth out price fluctuations, making it easier to see the overall direction of price movement.
This indicator uses 5 moving averages with different periods:
- MA1 (9 periods) - the fastest line, reacts to short-term changes
- MA2 (18 periods) - slightly slower, shows short-term trend
- MA3 (50 periods) - medium-term moving average
- MA4 (72 periods) - shows medium-term trend
- MA5 (200 periods) - the slowest, shows long-term trend
When price is above these lines - it may indicate an uptrend, and when below - a downtrend.
What is MACD and how is it used?
MACD (Moving Average Convergence Divergence) is an oscillator that helps determine trend strength and direction, as well as potential reversal points.
In this indicator, MACD is used for:
- Determining trend strength (weak, medium, strong)
- Identifying potential trend changes (MACD line crossovers)
- Confirming signals from moving averages
How candle coloring works (important for understanding the trend)
One of the key features of this indicator is the color marking of candles, which helps visually determine the current market condition:
- **Strong uptrend (green)**: when the closing price is above both MA1 and MA2 simultaneously
- **Strong downtrend (red)**: when the closing price is below both MA1 and MA2 simultaneously
- **Bullish signal (light green)**: when price crosses MA1 from below upward (potential start of an uptrend)
- **Bearish signal (light red)**: when price crosses MA1 from above downward (potential start of a downtrend)
- **Neutral state (gray)**: when none of the other color conditions are met
**It's important to understand the coloring mechanism:**
- Already formed (closed) candles **do not change their color** - their coloring is permanently fixed
- The current (not closed) candle may change color as the price moves during the formation of the bar
- This is not "repainting" in the negative sense (when signals change retroactively), but a natural process of forming the current candle
- This approach does not mislead, as it shows only the current state relative to moving averages
What does the indicator display?
1. **Five colored lines on the chart** - these are moving averages with different periods. Their crossovers help determine the trend.
2. **Information panel**:
- "Trend" - shows current market condition (Max Bullish, Bullish, Weak Bullish, Weak Bearish, Bearish, Max Bearish) with corresponding color
- "RSI" - Relative Strength Index value, showing overbought/oversold conditions
- "ADX" - Average Directional Index value, showing trend strength
3. Support and resistance levels:
- MA4 and MA5 from higher timeframe (e.g., 4-hour chart when trading on 15-minute chart)
- Mirror levels, calculated mathematically using the formula. These are not subjective levels, but strict mathematical calculations based on market symmetry principle mentioned in John Murphy's book "Technical Analysis of Financial Markets". This approach helps identify potential reversal points where price may react to symmetrical reflection relative to a price level.
4. Signals on the chart:
- MACD and signal line crossovers (crosses)
- Signal line crossing zero level (triangles)
- **MACD line crossing zero level (circles)**:
* Green circles below candles - when MACD line crosses zero level from below upward
* Red circles above candles - when MACD line crosses zero level from above downward
How to interpret the signals?
- **Strong uptrend (Max Bullish)**: when price is above MA1 and MA2, MACD is above zero line and above signal line with sufficient histogram amplitude
- **Weak uptrend (Weak Bullish)**: when MACD is above signal line but below zero line (potential reversal)
- **Strong downtrend (Max Bearish)**: when price is below MA1 and MA2, MACD is below zero line and below signal line with sufficient histogram amplitude
- **Weak downtrend (Weak Bearish)**: when MACD is below signal line but above zero line (potential reversal)
Higher timeframe configuration
One of the unique features of this indicator is the flexible configuration of higher timeframe linkage:
- **Auto-detection (Auto)** - the indicator automatically selects the most appropriate higher timeframe based on the current working timeframe
- **Special profiles** - you can choose a preset for a specific market type:
* **Crypto** - optimized for cryptocurrencies (accounts for 24/7 trading mode)
* **Forex** - optimized for forex market (accounts for 24-hour trading with breaks)
* **Stocks** - optimized for stock market (accounts for exchange trading hours)
- **Manual configuration (Manual)** - complete flexibility: you can specify which higher timeframe to use for each specific current timeframe (from 1 minute to monthly)
This feature allows adapting the indicator to the characteristics of any market and any trading style, providing relevant analysis for both scalpers and position traders.
How to customize the indicator?
You can adjust:
- Types and periods of moving averages
- Colors for different signals and levels
- Display of additional elements (levels, mirrors, signals)
- Filters (volume, RSI, ADX)
- Connection to higher timeframes
Important!
This indicator follows standard technical analysis principles and contains no secret algorithms. It is provided exclusively for informational and educational purposes. Technical analysis does not guarantee future results, and before making trading decisions, it is recommended to use additional analysis methods and consider your risk tolerance.
Six Meridian Divine Swords [theUltimator5]The Six Meridian Divine Sword is a legendary martial arts technique in the classic wuxia novel “Demi-Gods and Semi-Devils” (天龙八部) by Jin Yong (金庸). The technique uses powerful internal energy (qi) to shoot invisible sword-like energy beams from the six meridians of the hand. Each of the six fingers/meridians corresponds to a “sword,” giving six different sword energies.
The Six Meridian Divine Swords indicator is a compact “signal dashboard” that fuses six classic indicators (fingers)—MACD, KDJ, RSI, LWR (Williams %R), BBI, and MTM—into one pane. Each row is a traffic-light dot (green/bullish, red/bearish, gray/neutral). When all six align, the script draws a confirmation line (“All Bullish” or “All Bearish”). It’s designed for quick consensus reads across trend, momentum, and overbought/oversold conditions.
How to Read the Dashboard
The pane has 6 horizontal rows (explained in depth later):
MACD
KDJ
RSI
LWR (Larry Williams %R)
BBI (Bull & Bear Index)
MTM (Momentum)
Each tick in the row is a dot, with sentiment identified by a color.
Green = bullish condition met
Red = bearish condition met
Gray = inside a neutral band (filtering chop), shown when Use Neutral (Gray) Colors is ON
There are two lines that track the dots on the top or bottom of the pane.
All Bullish Signal Line: appears only if all 6 are strongly bullish (default color = white)
All Bearish Signal Line: appears only if all 6 are strongly bearish (default color = fuchsia)
The Six Meridians (Indicators) — What They Mean:
1) MACD — Trend & Momentum
What it is: A trend-following momentum indicator based on the relationship between two moving averages (typically 12-EMA and 26-EMA)
Logic used: Classic MACD line (EMA12−EMA26) vs its 9-EMA signal.
Bullish: MACD > Signal and |MACD−Signal| > Neutral Threshold
Bearish: MACD < Signal and |diff| > threshold
Neutral: |diff| ≤ threshold
Why: Small crosses can whipsaw. The neutral band ignores tiny separations to reduce noise.
Inputs: Fast/Slow/Signal lengths, Neutral Threshold.
2) KDJ — Stochastic with J-line boost
What it is: A variation of the stochastic oscillator popular in Chinese trading systems
Logic used: K = SMA(Stochastic, smooth), D = SMA(K, smooth), J = 3K − 2D.
Bullish: K > D and |K−D| > 2
Bearish: K < D and |K−D| > 2
Neutral: |K−D| ≤ 2
Why: K–D separation filters tiny wiggles; J offers an “extreme” early-warning context in the value label.
Inputs: Length, Smoothing.
3) RSI — Momentum balance (0–100)
What it is: A momentum oscillator measuring speed and magnitude of price changes (0–100)
Logic used: RSI(N).
Bullish: RSI > 50 + Neutral Zone
Bearish: RSI < 50 − Neutral Zone
Neutral: Between those bands
Why: Centerline/adaptive bands (around 50) give a directional bias without relying on fixed 70/30.
Inputs: Length, Neutral Zone (± around 50).
4) LWR (Williams %R) — Overbought/Oversold
What it is: An oscillator similar to stochastic, measuring how close the close is to the high-low range over N periods
Logic used: %R over N bars (0 to −100).
Bullish: %R > −50 + Neutral Zone
Bearish: %R < −50 − Neutral Zone
Neutral: Between those bands
Why: Uses a centered band around −50 instead of only −20/−80, making it act like a directional filter.
Inputs: Length, Neutral Zone (± around −50).
5) BBI (Bull & Bear Index) — Smoothed trend bias
What it is: A composite moving average, essentially the average of several different moving averages (often 3, 6, 12, 24 periods)
Logic used: Average of 4 SMAs (3/6/12/24 by default):
BBI = (MA3 + MA6 + MA12 + MA24) / 4
Bullish: Close > BBI and |Close−BBI| > 0.2% of BBI
Bearish: Close < BBI and |diff| > threshold
Neutral: |diff| ≤ threshold
Why: Multiple MAs blended together reduce single-MA whipsaw. A dynamic 0.2% band ignores tiny drift.
Inputs: 4 lengths (default 3/6/12/24). Threshold is auto-scaled at 0.2% of BBI.
6) MTM (Momentum) — Rate of change in price
What it is: A simple measure of rate of change
Logic used: MTM = Close − Close
Bullish: MTM > 0.5% of Close
Bearish: MTM < −0.5% of Close
Neutral: |MTM| ≤ threshold
Why: A percent-based gate adapts across prices (e.g., $5 vs $500) and mutes insignificant moves.
Inputs: Length. Threshold auto-scaled to 0.5% of current Close.
Display & Inputs You Can Tweak
🎨 Use Neutral (Gray) Colors
ON (default): 3-color mode with clear “no-trade”/“weak” states.
OFF: classic binary (green/red) without neutral filtering.
kriptoeth SPKriptoETH SP Indicator - Smart Money Analysis Tool
Main Function
This indicator identifies potential market reversal points based on Smart Money concepts. It analyzes liquidity sweeps and significant support/resistance breaks to generate trading signals.
Key Features
1. Swing Analysis
Identifies high and low levels based on specified swing length (default 15 bars)
These levels are considered potential liquidity zones
2. Liquidity Sweep Detection
Detects short-term violations of support and resistance levels as "sweeps"
Sweep tolerance (%) parameter allows sensitivity adjustment
3. Volume Confirmation
Requires volume spike for signal formation
Volume multiplier sets minimum volume threshold
4. Trend Filter
Analyzes overall trend direction using 50-period MA
Filters signals against the trend to improve success rate
5. Retest Capability
Tracks price return to main signal levels (B/S lines) after initial signals
Shows small confirmation signals when retests occur
Signal Types
B Signal: Potential buy opportunity (green label)
S Signal: Potential sell opportunity (red label)
b✓ / s✓: Retest confirmation signals (small labels)
Filtering System
Filters out too-rapid breaks
Controls for insufficient bar distance
Next bar confirmation option
Eliminates signals inconsistent with trend direction
Statistics Table
Daily, monthly, yearly retest counts
Last signal timestamps
Total signal statistics
Usage Guidelines
Combine signals with other technical analysis tools
Determine your risk-reward ratio in advance
Limit position size to 1-2% of your capital
Consider overall market conditions
Use proper stop-loss levels
Wait for confluence with other indicators
Parameters Explanation
Swing Length: Period for identifying swing highs/lows
Sweep Tolerance: Sensitivity for liquidity sweep detection
Volume Multiplier: Minimum volume increase requirement
Trend Filter: Enable/disable trend-based signal filtering
Retest Filters: Additional confirmation requirements for retest signals
How It Works
Algorithm identifies swing highs and lows as potential liquidity levels
Monitors for price sweeps beyond these levels with volume confirmation
Generates main signals (B/S) when criteria are met
Tracks subsequent retests of these signal levels
Applies multiple filters to reduce false signals
Best Practices
Use higher timeframes for trend confirmation
Combine with support/resistance analysis
Consider market structure context
Apply proper risk management rules
Backtest on historical data before live trading
IMPORTANT DISCLAIMER: This indicator is for educational and analysis purposes only. It does not constitute financial advice. Trading involves substantial risk of loss. Always conduct your own research and consider consulting with a qualified financial advisor before making investment decisions. Past performance does not guarantee future results.
Version Updates
Enhanced filtering system
Improved retest detection
Statistics tracking table
Trend-based signal validation
Multiple confirmation methods
Multi-Timeframe 200 EMAMulti-Timeframe 200 EMA Indicator
This indicator plots five 200-period Exponential Moving Averages (EMAs) on your chart, each from a different timeframe: 1-hour, 2-hour, 4-hour, 8-hour, and 1-day.
What It Does:
Analyzes Higher Timeframes: It uses the request.security() function to fetch data from higher timeframes. This allows you to see significant long-term support and resistance levels from higher timeframes, all on your current chart.
Customizable: You can easily turn each EMA line on or off individually in the indicator's settings. By default, the 1-hour and 1-day EMAs are off, so you can focus on the intermediate timeframes right away.
Clean and Simple: The indicator is designed to be clean and easy to read, with different colors for each EMA line to help you quickly identify the different timeframes at a glance.
This is a powerful tool for trend analysis and identifying key price levels, helping you make more informed trading decisions.
Momentum CrossThis indicator tracks momentum shifts using a 3-period EMA crossing above or below an 8-period EMA. It's simple, and quite effective as a momentum confirmation signal.
Signals:
Cyan circles below bars - Bullish momentum (3 EMA crosses above 8 EMA)
Red circles above bars - Bearish momentum (3 EMA crosses below 8 EMA)
Setups to Use:
V-Shaped Reversals: When price hits major support/resistance and shows rejection, the momentum cross confirms whether the reversal has legs or not. Helps separate real bounces from dead cat bounces.
One-Two Punch Pattern: My favorite high-probability setup: Initial cross shows momentum shifting, counter-move gets rejected quickly, second cross in original direction with follow-through.
Opening Range Breakout Confirmation: Use momentum crosses to confirm pullbacks or retests to key levels after opening range breakouts. The cross timing shows when the retest is holding and momentum is resuming in the breakout direction.
Fibonacci Support/Resistance: Momentum crosses at key Fibonacci levels (38.2%, 50%, 61.8%, 1.272%, and 1.618%) help confirm whether the level will hold or break. Particularly useful for timing entries at these widely-watched levels.
Settings:
Default 3/8 EMAs work well for most situations. Faster settings (2/5) for active markets, slower (5/13) for cleaner signals in strong trends.
Notes:
This works best when combined with key levels, volume, and market context. The cross timing is what matters - it shows when momentum is actually shifting, not just when price bounces.
Gemini All-in-OneDescription
The Gemini AIO (All-in-One) is a comprehensive overlay indicator designed for swing and position traders. It merges three distinct and powerful trading strategies into a single, cohesive tool to identify high-probability setups in stocks that are in confirmed uptrends.
What the Indicator Does:
Combines Three Strategies: Integrates a multi-scanner breakout system, a mean-reversion model, and a multi-year breakout tool into one indicator.
Main Modules
Signals Module:
1. Features six unique scanner signals (CS1-CS6) to identify a variety of bullish consolidation patterns.
2. Includes a full trade management framework with RVC (Red Volume Candle), PBP (Post Breakout Pivot Entry), and ISL (Initial Stop Loss) levels.
3. Identifies powerful Episodic Pivot (EP) and EP Entry (EPE) signals for stocks showing exceptional strength.
Reversal Module:
1. A mean-reversion strategy that primarily uses Bollinger Bands to find oversold conditions.
2. Provides a three-stage signal process: RA (Reversal Setup), Entry 1, and Entry 2 to time entries from a potential bottom.
Multi-Year Breakout (MYBO) Module:
1. Automatically identifies and plots historical, multi-year resistance and support levels.
2. Generates a clear signal when the price breaks out above these significant long-term levels.
Advanced Alerts: Features a highly customizable alert system that can be timed to trigger either on the bar's close or at a specific time of day (e.g., 2:30 PM IST), allowing for end-of-day style notifications.
How to Best Use It:
This indicator is most powerful when used with a systematic, rules-based approach. The core principle is to use long-term moving averages to define the trend and then use the indicator's signals to time entries within that trend.
The Foundation (Trend Filter): The most important rule is to only consider long setups on stocks where the 150-day SMA is above the 200-day EMA, and the 150-day SMA is sloping upwards. This keeps you aligned with the primary uptrend.
Strategy 1: The Momentum Breakout (PBP Entry)
1. Confirm the stock meets the primary trend filter rules.
2. Wait for an AIO setup signal (Super, Pls Buy, etc.) to draw a PBP line.
3. Enter when the price crosses above the PBP line or wait for a pull back after the price has crossed the PBP line.
Strategy 2: The Mean Reversion (RA Entry)
1. Confirm the stock meets the primary trend filter rules.
2. Wait for an "RA" (Reversal Setup) signal to appear on the chart.
3. Enter on the "ENTRY 1" (Risky Entry) or "ENTRY 2" signal (Safer Entry) or wait for a pull back after "ENTRY 1" or "ENTRY 2" signal.
Strategy 3: Multi-Year Breakout (MYBO) :
1. A breakout triangle (orange or fuchsia) appears below the candle, signaling a close above the "Recent High" (Orange) or "Older High" (Fuchsia).
2. Recent High refers to the highest price the stock has reached in last 12 months. Breaking above the "Recent High" is a sign of strong current demand.
3. Older High refers to the highest price the stock reached in a more distant, historical period - the period between 5 years ago and 1 year ago. Breaking above the "Older High" is a sign of VERY strong demand as it has broken a historic high.
4. Wait for a breakout triangle to appear on the chart.
5. Enter on the high of the candle marked with a breakout triangle or wait for a pull back after that signal.
Customize Your View: Use the "Inputs" tab to enable/disable the modules you want to focus on and configure the alerts you want to receive. Use the "Style" tab to hide any visual elements you don't need to keep your chart clean.
Panda's Orb StrategyORB strategy I created using ChatGBT!
Please message me for any bugs or recomendations!
Mag7 Day-Trade Recommender (Single-Symbol) [v6]Mag7 Day-Trade Recommender & Status Board
Intraday trading toolkit for the Magnificent Seven (AAPL, MSFT, NVDA, GOOGL, AMZN, TSLA, META). Signals are generated from VWAP crossovers confirmed by EMA50 trend and volume spikes, with automatic stops and targets (1R/2R). Includes a single-chart trade overlay and a multi-symbol scanner dashboard so you can instantly see which Mag7 names are in play.
Mag7 Day-Trade Recommender & Status Board (v6)📌 Mag7 Day-Trade Recommender & Status Board (v6)
Overview
This indicator system is designed to generate high-probability intraday trading signals on the Magnificent Seven stocks (AAPL, MSFT, NVDA, GOOGL, AMZN, TSLA, META). It combines price action with VWAP, EMA trend filters, and volume confirmation to highlight potential long and short setups.
It comes in two versions:
Day-Trade Recommender (single-symbol) – overlays on one chart, plotting entries, stops, and targets.
Status Board (multi-symbol scanner) – a dashboard table showing signal status across all Mag7 stocks at once.
Core Logic
VWAP Crossovers: Signals are triggered when price crosses above (LONG) or below (SHORT) VWAP.
EMA Trend Filter: Confirms trades only when price is aligned with the EMA50 slope (optional).
Volume Spike Filter: Requires current volume to exceed the 20-bar average by a set multiplier (default: 1.2×).
ATR-Based Risk/Reward: Stops are placed using ATR multiples, with profit targets set at 1R and 2R.
Session Filter: Optionally restricts signals to Regular Trading Hours (09:30–16:00).
****************** Note: Not financial advice. For educational purposes only. /b]*******************
2 Reds -> 2 Greens Strategy with Custom TP/SLcustom candle configuration with a 61 percent win rate in the strategy tester user can configure take profit and stop loss to suit
Heikin Ashi [Techno]
A powerful and innovative indicator that uses Heikin Ashi candles to filter out market noise and clearly highlight trends. It includes an optional EMA filter and a Candle Body Size filter to provide accurate and reliable buy and sell signals.
Features:
Clear Buy and Sell signals directly on the chart.
Optional EMA filter that can be turned on or off.
Candle Body Size filter to avoid weak signals in low-volatility markets.
Automatic alerts for every Buy and Sell signal.
Suitable for both beginners and professionals, offering precise signals without market clutter.
How to Use:
Set the EMA length between 5 and 15 based on your trading style.
Define the minimum candle body size to filter out small, weak signals.
Choose whether to enable the EMA filter.
Follow signals after candle close for best results.
Disclaimer:
This indicator is a helpful tool for decision-making and should not be relied upon solely without personal technical analysis.
Amiya's Crude Oil Alligator RSI StrategyCrude Oil Futures with the following conditions:
15 minutes candle.
Indicators: William Alligator and RSI- both default setting.
Buy signal to be generated when following conditions are met:
1. Candle closes above Lips.
2. Lips is above teeth
3. Teeth is above jaws
4. RSI is above 55.
Stop loss when either of the following conditions are met:
1. RSI is below 50 or
2. Candle close crosses below Teeth or
3. Lips is lower than teeth.
Take Profit Signal to be generated when the current price is 25 rupees above the entry price.
Sell signal to be generated when following conditions are met:
1. Candle closes below lips.
5. Lips is below teeth
6. Teeth is below jaws
7. RSI is below 45.
Stop loss when either of the following conditions are met:
2. RSI is above 50 or
3. Candle close crosses above Teeth or
4. Lips is higher than teeth.
Take Profit Signal to be generated when the current price is 25 rupees lower than the entry price.
In cases of Buy Signal, Sell Signal, Stop Loss and Take Profit, alerts should be generated and also, alerts should be shown on the chart, mentioning Buy Signal, Sell Signal, Stop Loss and Take Profit.
EMA Trend SuiteThe EMA Trend Suite is a trend-following tool built around a stack of four Exponential Moving Averages (EMAs): 9, 21, 51, and 200. It is designed to help traders quickly identify market bias, potential support/resistance zones, and directional momentum.
🔹 How it works:
EMA 200 – The Trend Boss
Price trading above EMA 200 → bullish bias is prioritized.
Price trading below EMA 200 → bearish bias is prioritized.
EMA 51 & EMA 21 – Dynamic Support & Resistance
These mid-range EMAs behave as adaptive support and resistance.
In bullish bias, pullbacks often respect EMA 21 or EMA 51.
In bearish bias, rallies often fail at EMA 21 or EMA 51.
EMA 9 – The Momentum Guide
The fastest EMA tracks short-term direction.
A clean break and hold beyond EMA 9 signals short-term momentum continuation.
EMA 9 crossing EMA 21 often signals the next move within the bias.
🔹 How to Trade It:
Identify the bias with EMA 200
Above EMA 200 = bullish bias.
Below EMA 200 = bearish bias.
Look for the trigger
In bullish bias: wait until EMA 9 crosses above EMA 21 → potential long signal.
In bearish bias: wait until EMA 9 crosses below EMA 21 → potential short signal.
Manage the trade with EMA 21 & 51
Price often bounces off EMA 21 and EMA 51.
In longs: if price starts closing below EMA 51, it’s often a warning to consider closing or reducing risk.
In shorts: if price starts closing above EMA 51, same idea — momentum might be weakening.
Ride momentum, don’t marry the trade
Sometimes price keeps trending strongly even after a close beyond EMA 51, but often it’s a sign of exhaustion. The suite is best used as a trend filter + timing tool, not a guaranteed entry/exit system.
🔹 Best Timeframes:
Gold, NAS100, US30, S&P500: Best results between 15M, 30M, and 1H.
Currency pairs (Forex): Best results on 1H, 4H, and Daily.
⚠️ Important Disclaimer:
This indicator is not a one-stop shop solution for trading.
It is not reliable in consolidations — EMA crossings can create false signals in sideways markets.
Always combine with other tools like candlestick patterns, market structure, or volume analysis.It should be seen as a guide to bias and momentum, not as a trading bot or automated strategy.
Capiba Ultimate Suite (RSI, MA Cloud & Volatility)
🇬🇧 English
Summary
This indicator, Capiba Ultimate Suite, is a powerful compilation of various open-source technical analysis tools, refined and integrated into a single, cohesive, and functional package. The goal is to provide a complete system with clear entry and exit signals, ideal for traders operating in trending and volatile markets.
The combination of a custom momentum oscillator (Ultimate RSI), a moving average cloud for trend definition, and a volatility oscillator for range analysis transforms this script into a true trading suite.
Disclaimer: This indicator is most effective in markets with a defined trend (bullish or bearish) and may generate less reliable signals during periods of strong consolidation.
Components and How to Use
Ultimate RSI with Crossover Signals (Entries and Exits)
What it is: A variation of the classic RSI, designed to be more reactive to price movements.
Entry Signals (Buy): A green arrow (▲) appears below the candle when the Ultimate RSI line crosses above its momentum line (EMA). This is a signal of a potential start of an upward move.
Exit Signals (Sell): A red arrow (▼) appears above the candle when the Ultimate RSI crosses below its momentum line. This is a signal of potential weakening or trend reversal.
Moving Average Cloud (Trend Filter)
What it is: A cloud formed by the space between a short-term moving average (default 55) and a long-term one (default 233).
How to use for signal validation:
Uptrend: When the cloud is green (Short MA > Long MA), buy signals (▲) are strengthened. Sell signals can be seen as partial profit-taking.
Downtrend: When the cloud is red (Short MA < Long MA), sell signals (▼) are strengthened. Buy signals should be treated with extreme caution as they are against the main trend.
Candle Coloring (Quick Momentum Reading)
Lime Green: Strong bullish momentum (RSI > 50 and above its EMA).
Red: Strong bearish momentum (RSI < 50 and below its EMA).
Blue: Overbought level reached.
Yellow: Oversold level reached.
Volatility Ruler (Breakout Analysis)
What it is: The green (high) and red (low) lines mark the range of the last 'N' candles. The Vol: X.XX label on the right measures the current volatility against its historical average.
How to use:
Vol < 1.00: Contracting volatility ("Squeeze"). The market is "coiling the spring." Watch for an impending breakout of the range lines.
Vol > 1.00: Expanding volatility. Confirms the strength of a breakout that has already occurred. Very high values may indicate exhaustion.
Use the ruler to identify false breakouts: a candle closing outside the line but with a very low Vol value is more likely to be a false signal.
Acknowledgements
This indicator is the result of compiling and adapting open-source concepts and codes available in the TradingView community. Thanks to all the developers who share their knowledge.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
The Barking Rat LiteMomentum & FVG Reversion Strategy
The Barking Rat Lite is a disciplined, short-term mean-reversion strategy that combines RSI momentum filtering, EMA bands, and Fair Value Gap (FVG) detection to identify short-term reversal points. Designed for practical use on volatile markets, it focuses on precise entries and ATR-based take profit management to balance opportunity and risk.
Core Concept
This strategy seeks potential reversals when short-term price action shows exhaustion outside an EMA band, confirmed by momentum and FVG signals:
EMA Bands:
Parameters used: A 20-period EMA (fast) and 100-period EMA (slow).
Why chosen:
- The 20 EMA is sensitive to short-term moves and reflects immediate momentum.
- The 100 EMA provides a slower, structural anchor.
When price trades outside both bands, it often signals overextension relative to both short-term and medium-term trends.
Application in strategy:
- Long entries are only considered when price dips below both EMAs, identifying potential undervaluation.
- Short entries are only considered when price rises above both EMAs, identifying potential overvaluation.
This dual-band filter avoids counter-trend signals that would occur if only a single EMA was used, making entries more selective..
Fair Value Gap Detection (FVG):
Parameters used: The script checks for dislocations using a 12-bar lookback (i.e. comparing current highs/lows with values 12 candles back).
Why chosen:
- A 12-bar displacement highlights significant inefficiencies in price structure while filtering out micro-gaps that appear every few bars in high-volatility markets.
- By aligning FVG signals with candle direction (bullish = close > open, bearish = close < open), the strategy avoids random gaps and instead targets ones that suggest exhaustion.
Application in strategy:
- Bullish FVGs form when earlier lows sit above current highs, hinting at downward over-extension.
- Bearish FVGs form when earlier highs sit below current lows, hinting at upward over-extension.
This gives the strategy a structural filter beyond simple oscillators, ensuring signals have price-dislocation context.
RSI Momentum Filter:
Parameters used: 14-period RSI with thresholds of 80 (overbought) and 20 (oversold).
Why chosen:
- RSI(14) is a widely recognized momentum measure that balances responsiveness with stability.
- The thresholds are intentionally extreme (80/20 vs. the more common 70/30), so the strategy only engages at genuine exhaustion points rather than frequent minor corrections.
Application in strategy:
- Longs trigger when RSI < 20, suggesting oversold exhaustion.
- Shorts trigger when RSI > 80, suggesting overbought exhaustion.
This ensures entries are not just technically valid but also backed by momentum extremes, raising conviction.
ATR-Based Take Profit:
Parameters used: 14-period ATR, with a default multiplier of 4.
Why chosen:
- ATR(14) reflects the prevailing volatility environment without reacting too much to outliers.
- A multiplier of 4 is a pragmatic compromise: wide enough to let trades breathe in volatile conditions, but tight enough to enforce disciplined exits before mean reversion fades.
Application in strategy:
- At entry, a fixed target is set = Entry Price ± (ATR × 4).
- This target scales automatically with volatility: narrower in calm periods, wider in explosive markets.
By avoiding discretionary exits, the system maintains rule-based discipline.
Visual Signals on Chart
Blue “▲” below candle: Potential long entry
Orange/Yellow “▼” above candle: Potential short entry
Green “✔️”: Trade closed at ATR take profit
Blue (20 EMA) & Orange (100 EMA) lines: Dynamic channel reference
⚙️Strategy report properties
Position size: 25% equity per trade
Initial capital: 10,000.00 USDT
Pyramiding: 10 entries per direction
Slippage: 2 ticks
Commission: 0.055% per side
Backtest timeframe: 1-minute
Backtest instrument: HYPEUSDT
Backtesting range: Jul 28, 2025 — Aug 17, 2025
Note on Sample Size:
You’ll notice the report displays fewer than the ideal 100 trades in the strategy report above. This is intentional. The goal of the script is to isolate high-quality, short-term reversal opportunities while filtering out low-conviction setups. This means that the Barking Rat Lite strategy is very selective, filtering out over 90% of market noise. The brief timeframe shown in the strategy report here illustrates its filtering logic over a short window — not its full capabilities. As a result, even on lower timeframes like the 1-minute chart, signals are deliberately sparse — each one must pass all criteria before triggering.
For a larger dataset:
Once the strategy is applied to your chart, users are encouraged to expand the lookback range or apply the strategy to other volatile pairs to view a full sample.
💡Why 25% Equity Per Trade?
While it's always best to size positions based on personal risk tolerance, we defaulted to 25% equity per trade in the backtesting data — and here’s why:
Backtests using this sizing show manageable drawdowns even under volatile periods.
The strategy generates a sizeable number of trades, reducing reliance on a single outcome.
Combined with conservative filters, the 25% setting offers a balance between aggression and control.
Users are strongly encouraged to customize this to suit their risk profile.
What makes Barking Rat Lite valuable
Combines multiple layers of confirmation: EMA bands + FVG + RSI
Adaptive to volatility: ATR-based exits scale with market conditions
Clear, actionable visuals: Easy to monitor and manage trades
MomentumThe strategy uses EMA200, ADX/DMI, RSI, and volume. Pivot levels and Heikin-Ashi ensure safe entries, while cooldowns and opposite-locks prevent overtrading. Exits are managed with ATR trailing stops and trend-reversal signals.
5EMA Touch/Break EMA Touch/Break Monitor (5 Lines) — Overview
Purpose: Track downside touches and breakdowns against key EMAs (default 20/60/100/200/300) to judge pullbacks and risk control.
Direction considered: From above to below only. Upside touches/breakouts are not counted.
Signals:
Downside Touch (T): Previous bar at/above EMA, current low ≤ EMA → draw an upward triangle below the bar in the EMA’s color.
Downside Break (B): Previous bar at/above EMA, current low ≤ EMA × (1 − threshold) (default 2%) → draw a gold downward triangle above the bar.
Priority: If both occur on the same bar, Break overrides Touch.
First-only: Within a continuous run, only the first bar is marked; condition must clear before re-marking.
Scope: Signals are produced only for EMAs with length ≥ 60 (adjustable).
Display: The status line shows EMA prices only; a top-right table shows EMA name / price / color.
Inputs: Adjustable EMA lengths; break threshold (default 2%); optional date filter (default 2024-02-14 → 2025-12-30).
Alerts: Global first-only alerts for downside touch/break, plus per-EMA alerts.
用途:跟踪价格对关键 EMA(默认 20/60/100/200/300)的下行触及与下破,便于回踩/风控判断。
仅计算方向:从上向下。向上的触及/突破不计。
信号含义:
下触及(T):上一根在 EMA 上方,本根 低点 ≤ EMA → K线下方画与该 EMA 同色向上三角形。
下破位(B):上一根在 EMA 上方,本根 低点 ≤ EMA × (1 − 阈值)(默认 2%) → K线上方画金色向下三角形。
优先级:同根同时满足时,破位优先于触及。
首次原则:连续区间内只标第一根;需先离开条件,才会再次标记。
范围限制:仅对 长度 ≥60 的 EMA 标记信号(阈值可改)。
显示:状态行只显示 5 条 EMA 的价格;右上角表格展示每条 EMA 的名称/价格/颜色。
参数:EMA 长度可改;破位阈值默认 2%;可启用日期过滤(默认 2024-02-14 → 2025-12-30)。
提醒:提供“向下触及/向下破位(首次)”总提醒与每条 EMA 独立提醒。
VWAP Suite {Phanchai}VWAP Suite {Phanchai}
Compact, readable, TradingView-friendly.
What is VWAP?
The Volume Weighted Average Price (VWAP) is the average price of a period weighted by traded volume. It’s used as a fair-value reference (mean) and resets at the start of each new period.
Included VWAP Modes
Session — resets each trading day (current session).
Week / Month / Quarter / Year — current calendar periods.
Anchored Week / Month / Quarter / Year — starts at the beginning of the previous completed period.
Rolling 7D / 30D / 90D — rolling windows: today + last 6/29/89 daily sessions.
Important
This suite does not generate buy/sell signals. It provides structure and confluence; decisions remain yours.
Use Cases
Identify fair-value zones / mean-reversion areas.
Plan TP / SL around periodic VWAPs.
Define DCA levels (e.g., anchored to prior week/month).
Gauge trend bias via VWAP slope and reactions.
How to Use
Inputs → VWAP 1..5: Choose the period per slot (Session, Anchored, Rolling, etc.) and toggle Show .
Sources: Select the price source for all VWAPs (default: HLC3).
Global: Line offset (bars) shifts plots visually (does not affect calculations).
Style tab: Adjust per-line colors, thickness, and line style.
Alerts
Price crosses a VWAP (per slot).
VWAP slope turns UP or DOWN (per slot).
Tips & Notes
Volume required: Poor/absent volume (e.g., some FX tickers) can degrade accuracy.
Anchored modes: Start at the prior period’s open; values appear only after that timestamp.
Rolling modes: Use completed daily sessions (including today).
Clutter control: If labels crowd, increase Line offset or hide unneeded slots.
Confluence: Combine with market structure, liquidity zones, or momentum filters for stronger context.
Built for clear VWAP workflows. Trade safe!
9 EMA & 50 EMA with FillEasy strategy using this very simple cloud.
Take long when price touches the green cloud and closes above
Take short when price touches the red cloud and closes bellow
1R:R ratio
MA 10/20/50A Simple MA array including 10, 20, and 50 day.
Used primarily for determining crypto bullish or bearish technical trending primarily on the 1-day chart.
MA 50/150Simple MA at 50 and 150. Important levels, especially looking at the 1-Day chart, for momentum and swing trading equities and ETFs.