Pucci Trend EMA-SMA Crossover with TolerancePucci Trend EMA-SMA Crossover with Tolerance
This indicator helps identify market trends and generates trading signals based on the crossover between an Exponential Moving Average (EMA) and a Simple Moving Average (SMA) with an adjustable tolerance threshold. The signals work as follows:
Buy Signal (B) -> Triggers when the EMA crosses above the SMA, exceeding a user-defined tolerance (in basis points). Optionally, a price filter can require the high or low to be below the EMA for confirmation.
Sell Signal (S) -> Triggers when the SMA crosses above the EMA, exceeding the tolerance. The optional price filter may require the high or low to be above the EMA.
The tolerance helps reduce false signals by requiring a minimum distance between the moving averages before confirming a crossover. The price filter adds an extra confirmation layer by checking if price action respects the EMA level.
Important Notes:
1º No profitability guarantee: This tool is for analysis only and may generate losses.
2º "As Is" disclaimer: Provided without warranties or responsibility for trading outcomes.
3º Use Stop Loss: Users must determine their own risk management.
4º Parameter adjustment needed: Optimal MA periods and tolerance vary by timeframe.
5º Filter impact varies: Enabling/disabling the price filter may improve or worsen performance.
簡單移動平均線(SMA)
RS Triple MA Confluence Signal (Lower Pane)This indicator outputs a binary signal (1 or 0) based on triple moving average confluence of an asset’s relative strength vs a benchmark (e.g., SPY, BTC, etc).
✅ A value of 1 indicates full confluence, where the asset's relative strength is above three customizable moving averages (short, medium, and long).
❌ A value of 0 indicates confluence is off.
This version is designed to be used in a lower pane for:
Quick visual scanning
Dashboard-style layouts
Systematic filtering or alerting
Pairs perfectly with the main overlay tool:
👉 Relative Strength Triple MA Confluence
Use that version for candle coloring and price-level signals, and this version for clean signal tracking and screening support.
3-SMA/EMA Ribbon### 3-MA Ribbon (EMA / SMA Switchable)
**What it is**
The 3-MA Ribbon overlays three configurable moving averages (Fast, Mid, Slow) and colours the space between them to show both *trend strength* and *trend clarity* at a glance. A single dropdown lets you choose whether those MAs are **EMAs** (react faster) or **SMAs** (smoother).
---
#### How the colour logic works
| MA order (Fast > Mid > Slow) | Ribbon | Meaning |
| ---------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------- |
| **Fast > Mid > Slow** | **Vivid Green** | Strong bullish stack |
| **Fast < Mid < Slow** | **Vivid Red** | Strong bearish stack |
| Any other order | Upper gap is soft green/red if the *upper* MA is above/below the *lower* one; lower gap is evaluated separately. Mixed colours = indecision / transition phase. | |
Opacity is lower (more solid) when the stack is perfect, higher (more transparent) when it’s mixed, so you instantly see how clean the trend structure is.
---
#### Visual cues
* **Fast MA** – dotted line (circles)
* **Mid MA** – dashed-look (crosses)
* **Slow MA** – solid line
All three line colours are separately customisable and are chosen to stay readable over both red and green fills.
Tiny ▲/▼ markers optionally call out the exact bar where a full bullish or bearish stack first appears.
---
#### Inputs
* **Moving-average type** – *EMA* or *SMA*
* **Fast / Mid / Slow lengths** – default 21 / 50 / 200
* **Ribbon colours** – bullish, bearish, neutral
* **Opacity (stacked / mixed)** – adjust how strong the fills appear
* **Line colours** – fast, mid, slow
---
#### Typical uses
1. **Trend confirmation** – Trade only when the ribbon is vivid green (long) or red (short) to filter whipsaws.
2. **Early warning** – Mixed fills flag potential transitions before a full MA cross completes.
3. **Dynamic S/R** – Each MA can act as a moving support or resistance level.
4. **Multi-time-frame stacking** – Apply the ribbon to higher TFs (e.g., 4 h) while trading lower ones for structural bias.
---
#### Tips
* Short-term traders might prefer 9-21-55 lengths; long-term swing traders often use 20-50-200.
* If price chops sideways, the gaps will flip soft green/red frequently—treat this as a signal to stay patient.
* Combine with volume or momentum oscillators for added confirmation.
---
> **Disclaimer:** This script is for educational purposes only and should not be taken as financial advice. Always test thoroughly in a demo environment and use proper risk management.
RONALD SMA BUY and SELL Indicator//@version=6
indicator('RONALD SMA BUY and SELL Indicator', overlay=true, max_labels_count=500)
// 1. Instellingen met standaardwaarden
fastLength = input.int(3, 'Fast SMA Lengte', minval=1, tooltip='Kortere periode voor snellere SMA')
slowLength = input.int(40, 'Slow SMA Lengte', minval=1, tooltip='Langere periode voor tragere SMA')
signalColor = input.color(color.yellow, 'Signaalkleur', tooltip='Kleur voor alle signalen')
// 2. SMA berekeningen
fastSMA = ta.sma(close, fastLength)
slowSMA = ta.sma(close, slowLength)
// 3. Plot SMA lijnen
plot(fastSMA, 'Fast SMA', color.new(color.blue, 0), 2)
plot(slowSMA, 'Slow SMA', color.new(color.red, 0), 2)
// 4. Signaal detectie
bullish = ta.crossover(fastSMA, slowSMA)
bearish = ta.crossunder(fastSMA, slowSMA)
// 5. Geavanceerde label positioning
yPosBuy = low - (ta.tr(true) * 0.5)
yPosSell = high + (ta.tr(true) * 0.5)
// 6. Dynamische labels met vingers
if bullish
label.new(
bar_index, yPosBuy,
text='BUY', color=signalColor,
style=label.style_label_up, textcolor=color.white,
yloc=yloc.price, size=size.normal)
if bearish
label.new(
bar_index, yPosSell,
text='SELL', color=signalColor,
style=label.style_label_down, textcolor=color.white,
yloc=yloc.price, size=size.normal)
// 7. Alternatieve plotshapes (optioneel)
plotshape(bullish, style=shape.triangleup, location=location.belowbar, color=signalColor, size=size.small)
plotshape(bearish, style=shape.triangledown, location=location.abovebar, color=signalColor, size=size.small)
useTrendFilter = input(true, "Gebruik Trendfilter")
trendLength = input(50, "Trend SMA Lengte")
trendSMA = ta.sma(close, trendLength)
Relative Strength Triple MA ConfluenceThis tool highlights moments of strong outperformance based on three customizable moving averages of an asset's relative strength vs a benchmark (SPY, BTC, etc).
✅ Green candles + triangle-up icon appear when relative strength is above all 3 MAs (short, medium, long)
❌ Red triangle-down appears when full confluence is lost
🔧 Fully customizable MA types (EMA or SMA), lengths, and benchmark
Ideal for traders seeking high-conviction confirmation based on stacked RS strength.
Benchmark Above MA SignalBenchmark Above MA Signal (Configurable Visual)
This tool provides a simple ON/OFF signal showing whether a selected benchmark asset (e.g., SPY, BTC, QQQ, etc.) is currently trading above a specified moving average.
🔧 Customizable Settings:
Choose the benchmark symbol
Set the timeframe (e.g., daily, 4H, weekly)
Select SMA or EMA type
Define the MA length (e.g., 21, 50, 200)
Pick between two display modes:
Stepline (default): plots a clean binary signal in the lower pane
Background Only: visually highlights confluence periods without a line plot
✅ Ideal for macro filters, trend confirmation, or dashboard-style layouts
📊 Common use case: staying aware of the daily trend of SPY while trading lower intraday timeframes
EMA/MA Bands + Golden Ratio Fibonacci Multiplier20/50/100/200 EMA/MA Colored Bands + Golden Ratio Fibonacci Multiplier
Directional Strength IndexThis indicator is designed to detect the dominant market direction and quantify its strength by aggregating signals across six key timeframes: 1H, 4H, 1D, 3D, 1W, and 1M.
At its core, it uses a SMEMA 'the Simple Moving Average of an EMA' as the main trend reference. This hybrid smoothing method was chosen for its balance: the EMA ensures responsiveness to recent price moves, while the SMA dampens short-term volatility. This makes the SMEMA more stable than a raw EMA and more reactive than a simple SMA, especially in noisy or volatile environments.
For each timeframe, a score between -10 and +10 is calculated. This score reflects:
- the distance of the price from the SMEMA, using ATR as a dynamic threshold
- the number of price deviations above or below the SMEMA
- the slope of the SMEMA, which adjusts the score based on momentum
These six timeframe scores are then combined into a single Global Score, using weighted averages. Three weighting profiles are available depending on your trading horizon:
- Long Term: emphasizes weekly and monthly data
- Swing Trading: gives balanced importance to all timeframes
- Short Term: prioritizes 1H and 4H action
This multi-timeframe aggregation makes the indicator adaptable to different styles while maintaining a consistent logic.
The result is displayed in a table on the chart, showing:
- the trend direction per timeframe (up, down or neutral)
- the strength score per timeframe
- the overall trend direction and strength based on the selected profile
Optional deviation bands based on ATR multiples are also plotted to provide visual context for overextensions relative to the SMEMA.
This indicator is non-repainting and built for objective, trend-based decision making.
Digital RSI Display (Bottom-Right)Digitial display bottom right of chart, displays RSI live during market hours.
Over 70 RSI turns red to indicate overbought
Under 30 RSI turns green to indicate oversold
SImple & easy.
Golden SMA 50 200Two simple moving averages (short-term vs long-term), e.g. 50-day and 200-day SMA.
Signal: Enter long (bullish) when the short MA crosses above the long MA (a Golden Cross); exit (or go short) when it crosses below (a Death Cross). This classic trend-following combo keeps you in bull markets and gets you out during prolonged downtrends. In Bitcoin, using a MA crossover on daily charts filters out noise and catches the big trend reversals.
Gold BBW Mean ReversionBollinger Band Width Mean Reversion Strategy.
Strategy Components:
1. Bollinger Bands Settings:
• Period (N): 20
• Standard Deviation (K): 2
• Middle Band: 20-period Simple Moving Average (SMA)
2. Bollinger Band Width (BBW):
Calculated as: BBW = (Upper Band - Lower Band) / Middle Band * 100
3. Volatility Threshold:
• Average BBW: a 100-period SMA of the BBW.
• Trigger Condition: Current BBW > 2 × 100 SM Average on BBW
4. Entry Signals:
• Long Entry:
o Price closes below the lower Bollinger Band.
o Subsequent candle closes back inside the bands.
• Short Entry:
o Price closes above the upper Bollinger Band.
o Subsequent candle closes back inside the bands.
5. Stop Loss & Take Profit:
• Stop Loss: 1.5 × Average True Range (ATR) from the entry price.
• Take Profit: Return to the middle Bollinger Band (20-period SMA).Mind Math Money
________________________________________
🕒 Recommended Timeframe
A 15-minute chart is optimal for this strategy on Gold.
Trend Scanner ProTrend Scanner Pro, Robust Trend Direction and Strength Estimator
Trend Scanner Pro is designed to evaluate the current market trend with maximum robustness, providing both direction and strength based on statistically reliable data.
This indicator builds upon the core logic of a previous script I developed, called Best SMA Finder. While the original script focused on identifying the most profitable SMA length based on backtested trade performance, Trend Scanner Pro takes that foundation further to serve a different purpose: analyzing and quantifying the actual trend state in real time.
It begins by testing hundreds of SMA lengths, from 10 to 1000 periods. Each one is scored using a custom robustness formula that combines profit factor, number of trades, and win rate. Only SMAs with a sufficient number of trades are retained, ensuring statistical validity and avoiding curve fitting.
The SMA with the highest robustness score is selected as the dynamic reference point. The script then calculates how far the price deviates from it using rolling standard deviation, assigning a trend strength score from -5 (strong bearish) to +5 (strong bullish), with 0 as neutral.
Two detection modes are available:
Slope mode, based on SMA slope reversals
Bias mode, based on directional shifts relative to deviation zones
Optional features:
Deviation bands for visual structure
Candle coloring to reflect trend strength
Compact table showing real-time trend status
This tool is intended for traders who want an adaptive, objective, and statistically grounded assessment of market trend conditions.
NY Opening Range Breakout - MA StopCore Concept
This strategy trades breakouts from the New York opening range (9:30-9:45 AM NY time) on intraday timeframes, designed for scalping and day trading.
Setup Requirements
Timeframe: Works on any timeframe under 15 minutes (1m, 2m, 3m, 5m, 10m)
Session: New York market hours
Range Period: 9:30-9:45 AM NY time (15-minute opening range)
Entry Rules
Long Entries:
Wait for a candle to close above the opening range high
Enter long on the next candle (before 12:00 PM NY time)
Must be above moving average if using MA-based take profit
Short Entries:
Wait for a candle to close below the opening range low
Enter short on the next candle (before 12:00 PM NY time)
Must be below moving average if using MA-based take profit
Risk Management
Stop Loss:
Long trades: Opening range low
Short trades: Opening range high
Take Profit Options:
Fixed Risk Reward: 1.5x the range size (customizable ratio)
Moving Average: Exit when price crosses back through MA
Both: Whichever comes first
Key Features
Trade Direction Options:
Long Only
Short Only
Both directions
Moving Average Filter:
Prevents entries that would immediately hit stop loss
Uses EMA/SMA/WMA/VWMA with customizable length
Acts as dynamic support/resistance
Time Restrictions:
No entries after 12:00 PM NY time (customizable cutoff)
One trade per direction per day
Daily reset of all variables
Visual Elements
Red/green lines showing opening range
Purple line for moving average
Entry and breakout signals with shapes
Take profit and stop loss levels plotted
Information table with current status
Strategy Logic Flow
Morning: Capture 9:30-9:45 range high/low
Wait: Monitor for breakout (previous candle close outside range)
Filter: Check MA condition if using MA-based exits
Enter: Trade on next candle after breakout
Manage: Exit at fixed TP, MA cross, or stop loss
Reset: Start fresh next trading day
This is a momentum-based breakout strategy that capitalizes on early market volatility while using the opening range as natural support/resistance levels.
RSI SwingRadar🧠 Strategy Overview
This long-only strategy combines RSI/MA crossovers with ATR-based risk management, designed for cleaner entries during potential bounce phases — especially tuned for assets like XMR/USDT.
🔍 Core Logic:
- RSI Crossover: Entry occurs when the 14-period RSI crosses above its 14-period SMA, signaling a potential shift in momentum.
- Oversold Filter: The RSI must have been below a user-defined oversold threshold (default: 35) on the previous candle, filtering for bounce setups after a pullback.
- ATR-Based Stop/Target: Stop-loss is placed below the low by a user-adjustable ATR multiplier (default: 0.5×). Take-profit is calculated with a Risk:Reward multiplier (default: 4×).
These elements work in tandem — RSI crossovers give momentum confirmation, oversold filtering adds context, and ATR-based exits adapt to volatility, creating a compact yet responsive strategy.
📉 Visuals:
- Dynamic Bands: The chart displays the active stop-loss, entry price, and take-profit as colored bands for easy visual tracking.
- Clean Overlay: Designed with simplicity — only confirmed setups are shown, keeping noise low.
✅ Suggested Use:
- Works best on XMR/USDT or similarly trending assets.
- Best suited for pullback entries during broader uptrends.
- Adjustable for different volatility conditions and asset behaviors.
⚠️ Disclaimer
- This strategy is for educational and research purposes only.
- It does not guarantee profitability in any market.
- Always backtest, forward-test, and understand your own risk tolerance before using any
strategy in a live environment.
- Past performance is not indicative of future results.
- This script is not financial advice.
MA OrderlinessMA Orderliness measures how well a series of simple moving averages (SMAs) are stacked in the expected order for a trending market and turns that measurement into a normalized oscillator. You choose how many MAs to include and the shortest and longest lengths. The script generates a family of evenly spaced SMAs between those lengths, then compares each pair: shorter MAs should lie above longer ones in an uptrend and below in a downtrend. When any pair is out of order, a “violation” score is accumulated, but violations between nearby MAs count more heavily than those between MAs that are far apart. All weights are summed, and the total weighted violations are converted into a score from –1 (completely reversed) to +1 (perfectly ordered).
This orderliness score is plotted as a line oscillator. A fixed horizontal line at +1 marks perfect order, and another at –1 marks perfect reversal. To smooth the raw oscillator and generate trading signals, the script also plots a simple moving average of the orderliness score over a user-defined period. When the unsmoothed score crosses above its moving average, a bullish crossover alert fires. When it crosses below, a bearish crossover alert fires.
Everything is calculated on each bar so you can see the oscillator evolve in real time. You can customize the number of MAs, their minimum and maximum lengths, and the length of the signal-line SMA to suit different timeframes or markets.
DECODE Moving Average ToolkitDECODE Moving Average Toolkit: Your All-in-One MA Analysis Powerhouse!
This versatile indicator is designed to be your go-to solution for analysing trends, identifying potential entry/exit points, and staying ahead of market movements using the power of Moving Averages (MAs).
Whether you're a seasoned trader or just starting out, the Decode MAT offers a comprehensive suite of features in a user-friendly package.
Key Features:
Multiple Moving Averages: Visualize up to 10 Moving Averages simultaneously on your chart.
Includes 5 Exponential Moving Averages (EMAs) and 5 Simple Moving Averages (SMAs).
Easily toggle the visibility of each MA and customize its length to suit your trading style and the asset you're analyzing.
Dynamic MA Ribbons: Gain a clearer perspective on trend direction and strength with 5 configurable MA Ribbons.
Each ribbon is formed between a corresponding EMA and SMA (e.g., EMA 20 / SMA 20).
The ribbon color changes to indicate bullish (e.g., green) or bearish (e.g., red) sentiment, providing an intuitive visual cue.
Toggle ribbon visibility with a single click.
Powerful Crossover Alerts: Never miss a potential trading opportunity with up to 5 customizable MA Crossover Alerts.
Define your own fast and slow MAs for each alert from any of the 10 available MAs.
Receive notifications directly through TradingView when your specified MAs cross over or cross under.
Optionally display visual symbols (e.g., triangles ▲▼) directly on your chart at the exact crossover points for quick identification.
Highly Customizable:
Adjust the source price (close, open, etc.) for all MA calculations.
Fine-tune the appearance (colors, line thickness) of every MA line, ribbon, and alert symbol to match your charting preferences.
User-Friendly Interface: All settings are neatly organized in the indicator's input menu, making configuration straightforward and intuitive.
How Can You Use the Decode MAT in Your Trading?
This toolkit is incredibly versatile and can be adapted to various trading strategies:
Trend Identification:
Use longer-term MAs (e.g., 50, 100, 200 period) to identify the prevailing market trend. When prices are consistently above these MAs, it suggests an uptrend, and vice-versa.
Observe the MA ribbons: A consistently green ribbon can indicate a strong uptrend, while a red ribbon can signal a downtrend. The widening or narrowing of the ribbon can also suggest changes in trend momentum.
Dynamic Support & Resistance:
Shorter-term MAs (e.g., 10, 20 period EMAs) can act as dynamic levels of support in an uptrend or resistance in a downtrend. Look for price pullbacks to these MAs as potential entry opportunities.
Crossover Signals (Entries & Exits):
Golden Cross / Death Cross: Configure alerts for classic crossover signals. For example, a 50-period MA crossing above a 200-period MA (Golden Cross) is often seen as a long-term bullish signal. Conversely, a 50-period MA crossing below a 200-period MA (Death Cross) can be a bearish signal.
Shorter-Term Signals: Use crossovers of shorter-term MAs (e.g., EMA 10 crossing EMA 20) for more frequent, shorter-term trading signals. A fast MA crossing above a slow MA can signal a buy, while a cross below can signal a sell.
Use the on-chart symbols for quick visual confirmation of these crossover events.
Confirmation Tool:
Combine the Decode MAT with other indicators (like RSI, MACD, or volume analysis) to confirm signals and increase the probability of successful trades. For instance, a bullish MA crossover combined with an oversold RSI reading could strengthen a buy signal.
Multi-Timeframe Analysis:
Apply the toolkit across different timeframes to get a broader market perspective. A long-term uptrend on the daily chart, confirmed by a short-term bullish crossover on the 1-hour chart, can provide a higher-confidence entry.
The DECODE Moving Average Toolkit empowers you to tailor your MA analysis precisely to your needs.
SMA Backtest Optimizer [Mr_Rakun]The SMA Backtest Optimizer is a powerful Pine Script tool designed to systematically analyze and compare various Simple Moving Average (SMA) periods to identify the most profitable configuration for trading strategies. This indicator tests multiple SMA periods (from 10 to 100) using a crossover strategy where buys occur when price crosses above the SMA and sells when price crosses below it.
Key Features:
Tests 10 different SMA periods to determine optimal settings
Calculates profit/loss based on a defined starting capital
Tracks total profit and number of trades for each period
Visually highlights the best performing SMA on your chart
Displays comprehensive results in an easy-to-read table
Labels the chart with key performance metrics
This code serves as a core framework that traders can customize for their specific needs. You can easily modify the strategy parameters, test different technical indicators, adjust capital settings, or implement more complex entry/exit rules. The optimization methodology can be applied to virtually any trading approach you wish to evaluate.
Feel free to adapt this framework to test your own trading ideas and discover which parameters work best in different market conditions.
Dskyz (DAFE) GENESIS Dskyz (DAFE) GENESIS: Adaptive Quant, Real Regime Power
Let’s be honest: Most published strategies on TradingView look nearly identical—copy-paste “open-source quant,” generic “adaptive” buzzwords, the same shallow explanations. I’ve even fallen into this trap with my own previously posted strategies. Not this time.
What Makes This Unique
GENESIS is not a black-box mashup or a pre-built template. It’s the culmination of DAFE’s own adaptive, multi-factor, regime-aware quant engine—built to outperform, survive, and visualize live edge in anything from NQ/MNQ to stocks and crypto.
True multi-factor core: Volume/price imbalances, trend shifts, volatility compression/expansion, and RSI all interlock for signal creation.
Adaptive regime logic: Trades only in healthy, actionable conditions—no “one-size-fits-all” signals.
Momentum normalization: Uses rolling, percentile-based fast/slow EMA differentials, ALWAYS normalized, ALWAYS relevant—no “is it working?” ambiguity.
Position sizing that adapts: Not fixed-lot, not naive—not a loophole for revenge trading.
No hidden DCA or pyramiding—what you see is what you trade.
Dashboard and visual system: Directly connected to internal logic. If it’s shown, it’s used—and nothing cosmetic is presented on your chart that isn’t quantifiable.
📊 Inputs and What They Mean (Read Carefully)
Maximum Raw Score: How many distinct factors can contribute to regime/trade confidence (default 4). If you extend the quant logic, increase this.
RSI Length / Min RSI for Shorts / Max RSI for Longs: Fine-tunes how “overbought/oversold” matters; increase the length for smoother swings, tighten floors/ceilings for more extreme signals.
⚡ Regime & Momentum Gates
Min Normed Momentum/Score (Conf): Raise to demand only the strongest trends—your filter to avoid algorithmic chop.
🕒 Volatility & Session
ATR Lookback, ATR Low/High Percentile: These control your system’s awareness of when the market is dead or ultra-volatile. All sizing and filter logic adapts in real time.
Trading Session (hours): Easy filter for when entries are allowed; default is regular trading hours—no surprise overnight fills.
📊 Sizing & Risk
Max Dollar Risk / Base-Max Contracts: All sizing is adaptive, based on live regime and volatility state—never static or “just 1 contract.” Control your max exposures and real $ risk. ATR will effect losses in high volatility times.
🔄 Exits & Scaling
Stop/Trail/Scale multipliers: You choose how dynamic/flexible risk controls and profit-taking need to be. ATR-based, so everything auto-adjusts to the current market mode.
Visuals That Actually Matter
Dashboard (Top Right): Shows only live, relevant stats: scoring, status, position size, win %, win streak, total wins—all from actual trade engine state (not “simulated”).
Watermark (Bottom Right): Momentum bar visual is always-on, regime-aware, reflecting live regime confidence and momentum normalization. If the bar is empty, you’re truly in no-momentum. If it glows lime, you’re riding the strongest possible edge.
*No cosmetics, no hidden code distractions.
Backtest Settings
Initial capital: $10,000
Commission: Conservative, realistic roundtrip cost:
15–20 per contract (including slippage per side) I set this to $25
Slippage: 3 ticks per trade
Symbol: CME_MINI:NQ1!
Timeframe: 1 min (but works on all timeframes)
Order size: Adaptive, 1–3 contracts
No pyramiding, no hidden DCA
Why these settings?
These settings are intentionally strict and realistic, reflecting the true costs and risks of live trading. The 10,000 account size is accessible for most retail traders. 25/contract including 3 ticks of slippage are on the high side for NQ, ensuring the strategy is not curve-fit to perfect fills. If it works here, it will work in real conditions.
Why It Wins
While others put out “AI-powered” strategies with little logic or soul, GENESIS is ruthlessly practical. It is built around what keeps traders alive:
- Context-aware signals, not just patterns
- Tight, transparent risk
- Inputs that adapt, not confuse
- Visuals that clarify, not distract
- Code that runs clean, efficient, and with minimal overfitting risk (try it on QQQ, AMD, SOL, etc. out of the box)
Disclaimer (for TradingView compliance):
Trading is risky. Futures, stocks, and crypto can result in significant losses. Do not trade with funds you cannot afford to lose. This is for educational and informational purposes only. Use in simulation/backtest mode before live trading. No past performance is indicative of future results. Always understand your risk and ownership of your trades.
This will not be my last—my goal is to keep raising the bar until DAFE is a brand or I’m forced to take this private.
Use with discipline, use with clarity, and always trade smarter.
— Dskyz , powered by DAFE Trading Systems.
Market SurferOverview
If you're ready to surf the charts, Market Surfer is your perfect board 🏄♂️
This is my personal go-to indicator, designed to be a true Swiss Army knife for technical analysis - packed with powerful tools that deliver clear signals straight out of the box.
Market Surfer is heavily inspired by Market Cipher and Traders Reality .
Key Features
Market Waves : Visual representation of cyclical price movements to identify trend strength and potential reversals.
Money Flow : Highlights periods of buying and selling pressure, signaling shifts in market sentiment.
Trend Tracker : Real-time trend detection powered by EMA-based analysis, with color-coded signals for bullish and bearish phases.
Vector Candles : Enhanced candle coloring that indicates when market makers and high-frequency traders join the game, helping to identify significant market moves.
Dynamic Alerts : Configurable alerts for key market events, including trend changes, money flow transitions, and vector candle formations.
How It Works
Wave Theory Analysis : Detects cyclical market movements to highlight potential trend continuations or reversals.
PVSRA Analysis : Identifies vector candles when volume surges significantly relative to historical averages, indicating the presence of large institutional players.
EMA Trend Tracking : Tracks the 50-period EMA to determine overall market momentum and colorizes bars accordingly.
Money Flow Indexing : Uses Heikin-Ashi candle structures to measure buying and selling intensity over time.
Recommendations
Although Market Surfer is versatile and works across all markets and timeframes, I recommend:
Use it on 1H timeframe for mid-term trades and 1D timeframe for long-term ones.
Buy when green and sell when red - keep it simple.
Study vector candles before relying on them - they reveal institutional footprints.
Do not use leverage - trade with clarity and peace of mind.
And most importantly - sleep well.
Best SMA FinderThis script, Best SMA Finder, is a tool designed to identify the most robust simple moving average (SMA) length for a given chart, based on historical backtest performance. It evaluates hundreds of SMA values (from 10 to 1000) and selects the one that provides the best balance between profitability, consistency, and trade frequency.
What it does:
The script performs individual backtests for each SMA length using either "Long Only" or "Buy & Sell" logic, as selected by the user. For each tested SMA, it computes:
- Total number of trades
- Profit Factor (total profits / total losses)
- Win Rate
- A composite Robustness Score, which integrates Profit Factor, number of trades (log-scaled), and win rate.
Only SMA configurations that meet the user-defined minimum trade count are considered valid. Among all valid candidates, the script selects the SMA length with the highest robustness score and plots it on the chart.
How to use it:
- Choose the strategy type: "Long Only" or "Buy & Sell"
- Set the minimum trade count to filter out statistically irrelevant results
- Enable or disable the summary stats table (default: enabled)
The selected optimal SMA is plotted on the chart in blue. The optional table in the top-right corner shows the corresponding SMA length, trade count, Profit Factor, Win Rate, and Robustness Score for transparency.
Key Features:
- Exhaustive SMA optimization across 991 values
- Customizable trade direction and minimum trade filters
- In-chart visualization of results via table and plotted optimal SMA
- Uses a custom robustness formula to rank SMA lengths
Use cases:
Ideal for traders who want to backtest and auto-select a historically effective SMA without manual trial-and-error. Useful for swing and trend-following strategies across different timeframes.
📌 Limitations:
- Not a full trading strategy with position sizing or stop-loss logic
- Only one entry per direction at a time is allowed
- Designed for exploration and optimization, not as a ready-to-trade system
This script is open-source and built entirely from original code and logic. It does not replicate any closed-source script or reuse significant external open-source components.
MBODDS GLOBAL - Enhanceden
MBODDS GLOBAL Indicator – Detailed Interpretation
What does the indicator measure?
Liquidity preferences
Credit risk perception
Market stress levels
Interpreting the ODDS Value
ODDS Value Explanation
Positive ODDS (> 0) SOFR is higher than the T-Bill rate → Interbank liquidity is more expensive → Possible financial stress.
Negative ODDS (< 0) T-Bill rates are higher than SOFR → The government pays more interest in the short term → Liquidity abundance, normal market conditions.
ODDS ≈ 0 Neutral market state → Low stress, market is stable.
Z-Score Interpretation (Extremity Analysis)
The Z-Score measures the standard deviation of ODDS, detecting extreme values:
Z-Score Meaning
> +1.0 Spread is unusually high → Stress/crisis risk increases.
< -1.0 Spread is unusually low → Liquidity could be abundant.
> +2.0 Extremely high spread → Systemic risk (observed during 2008-2020 periods).
≈ 0 Average level → Normal conditions, no notable risk.
The Z-Score functions as an "anomaly detector" for this indicator.
SMA (Simple Moving Average) Interpretation
The 21-day SMA shows the trend of ODDS:
ODDS consistently above SMA: Rising stress and credit costs.
ODDS consistently below SMA: Easier liquidity and lower market concerns.
Threshold Bands (±0.5)
These thresholds are visual guides for alerts:
ODDS > +0.5: Rising stress, potential liquidity tightening → Risky environment.
ODDS < -0.5: Low spread → Abundant liquidity, low stress → Comfortable environment.
Use Cases
Macro analysis (especially after Fed policy changes)
Direction determination in bond, equity, or credit markets
Early signal for stressful periods
Predicting liquidity crises
Conclusion:
This indicator acts as a macro-based "silent alarm." Specifically:
SOFR > T-Bill and Z-Score > 1: Stress and risk are increasing, protection strategies should be considered.
T-Bill > SOFR and Z-Score < -1: Liquidity is abundant, risk appetite may rise.
Express Generator StrategyExpress Generator Strategy
Pine Script™ v6
The Express Generator Strategy is an algorithmic trading system that harnesses confluence from multiple technical indicators to optimize trade entries and dynamic risk management. Developed in Pine Script v6, it is designed to operate within a user-defined backtesting period—ensuring that trades are executed only during chosen historical windows for targeted analysis.
How It Works:
- Entry Conditions:
The strategy relies on a dual confirmation approach:- A moving average crossover system where a fast (default 9-period SMA) crossing above or below a slower (default 21-period SMA) average signals a potential trend reversal.
- MACD confirmation; trades are only initiated when the MACD line crosses its signal line in the direction of the moving average signal.
- An RSI filter refines these signals by preventing entries when the market might be overextended—ensuring that long entries only occur when the RSI is below an overbought level (default 70) and short entries when above an oversold level (default 30).
- Risk Management & Dynamic Position Sizing:
The strategy takes a calculated approach to risk by enabling the adjustment of position sizes using:- A pre-defined percentage of equity risk per trade (default 1%, adjustable between 0.5% to 3%).
- A stop-loss set in pips (default 100 pips, with customizable ranges), which is then adjusted by market volatility measured through the ATR.
- Trailing stops (default 50 pips) to help protect profits as the market moves favorably.
This combination of volatility-adjusted risk and equity-based position sizing aims to harmonize trade exposure with prevailing market conditions.
- Backtest Period Flexibility:
Users can define the start and end dates for backtesting (e.g., January 1, 2020 to December 31, 2025). This ensures that the strategy only opens trades within the intended analysis window. Moreover, if the strategy is still holding a position outside this period, it automatically closes all trades to prevent unwanted exposure.
- Visual Insights:
For clarity, the strategy plots the fast (blue) and slow (red) moving averages directly on the chart, allowing for visual confirmation of crossovers and trend shifts.
By integrating multiple technical indicators with robust risk management and adaptable position sizing, the Express Generator Strategy provides a comprehensive framework for capturing trending moves while prudently managing downside risk. It’s ideally suited for traders looking to combine systematic entries with a disciplined and dynamic risk approach.