Live Swing Midpoint (1 SH + 1 SL only) + Midpoint LabelThis Script would take the most recent Swing High and Swing Low and calculate the 50% Midpoint and plot it on the chart. acting as a recent, updated S/R level.
As price move Up/Down it'll keep on updating the Swings and the 50% Plot LIVE in REAL TIME.
圖表形態
Yaman's Scalper Pro V.1 ✅This is just a quick scalping guide.
Enter based on your own Trading Strategies.
Please Do Not blindly place Trade Entries without Checking the Real Market Trend.
USE IT ON ANY TIME FRAMES,
BEST TO USE M1, M3 & M5 TIME FRAMES.
ENTRY RULES.
WAIT FOR ONE CANDLE TO CLOSE PROPER, OTHERWISE IT MIGHT REPAINT.
SELL ENTRY ---> RED COLOR
SELL EXIT ---> ORANGE COLOR
BUY ENTRY ---> GREEN COLOR
BUY EXIT ---> BLUE COLOR
HAPPY TRADING!!!
Thanks
Yaman Didi
29/04/2025
配對交易waynecoin製作2原始策略邏輯
只要zScore大於某個值(如2)就做空ETH做多BTC
只要zScore小於某個值(如-2)就做多ETH做空BTC
但這種方式有時訊號太多、容易假突破、勝率不穩定
優化邏輯目標
1. 降低訊號頻率,過濾掉沒意義的雜訊交易
2. 等到「明顯極端」再動手,讓每一單都更有「均值回歸」的機會
3. 進場後,避免被盤整來回洗掉,強制休息一段時間(冷卻期)再考慮下一單
1. 「極端區才做」:提高入場門檻
以前你設定zScore>2或<-2就進場,這個「門檻」容易被雜訊觸發。
優化方式:把門檻拉高(例如2.5或3),訊號只會在「非常極端」的狀態下才出現,減少亂進場。
2. 「回歸動能確認」:等它真的要回來再做
傳統做法常在zScore剛突破極端值時就馬上進場,結果價格還是繼續爆走,導致虧損。
優化方式:
先等zScore跑到極端區(>2.5或<-2.5),
等它「開始回頭」(例如:zScore從3往下跌,跌破2.5時才進場),
這樣能增加「回歸」動能,少做那種「突破後持續單邊爆走」的盤。
3. 「冷卻期」:強制休息、減少來回被巴
很多交易在平倉後,立刻又收到新訊號反向進場,容易被盤整來回磨。
優化方式:設一個「冷卻期」(例如15根K線),這段期間內不再產生新訊號,即使條件觸發也忽略,讓你有時間等下一波「真正有利的極端機會」。
主要變數說明
plotH:入場門檻(如2.5),zScore超過這個數才考慮進場。
cooldown:冷卻K線數,這段期間內無論有無訊號都不能再進新倉。
last_entry_bar:紀錄上次開倉的bar_index,用於計算冷卻期。
進場邏輯
如果zScore「向上」突破-plotH,並且目前不在冷卻期,則產生一個做多ETH/做空BTC訊號(標籤顯示)。
如果zScore「向下」突破plotH,且不在冷卻期,則產生做空ETH/做多BTC訊號。
每次有訊號進場後,都把last_entry_bar更新為當下K線的bar_index,進入冷卻期。
入場標準差原本設定2.5,但可自行設定峰值,數值設定越高,信號越少
冷卻k線數可以自己設定,當你設定的數值越高,信號越少
Look-Back Periodu也可以自己設定,數值越高回朔時間越長,信號越少
我一直在思考什麼樣的策略適合散戶交易
想了一年多只想到兩種交易
1.對沖策略只吃異常波動率
2.資金費率套利
當前先針對對沖策略來發佈
後續會繼續發表資費套利
**Original Strategy Logic**
As long as the zScore is greater than a certain value (e.g., 2), short ETH and long BTC.
As long as the zScore is less than a certain value (e.g., -2), long ETH and short BTC.
However, this approach sometimes generates too many signals, is prone to false breakouts, and has unstable win rates.
---
**Optimization Goals**
1. Reduce signal frequency and filter out meaningless/noisy trades
2. Wait for "obvious extremes" before taking action, giving each trade a better chance at mean reversion
3. After entry, avoid getting chopped in sideways markets by enforcing a cooldown period before considering the next trade
---
**1. "Only trade in extreme zones": Increase entry threshold**
Previously, you entered whenever zScore > 2 or < -2. This threshold is easily triggered by noise.
**Optimization:** Raise the threshold (e.g., to 2.5 or 3), so signals only appear in "very extreme" conditions, reducing random entries.
**2. "Confirm mean reversion momentum": Wait until it actually starts to revert**
The traditional approach often enters right when zScore first breaks the extreme value, but sometimes price keeps moving in the same direction, leading to losses.
**Optimization:**
* First, wait until zScore reaches the extreme zone (>2.5 or <-2.5),
* Then, wait for it to "start reverting" (for example, zScore falls back below 2.5 from above 3),
* Only enter then. This increases the likelihood of actual mean reversion and avoids getting caught in one-sided trends after the breakout.
**3. "Cooldown period": Force a rest and reduce getting chopped**
Many trades, after closing, immediately receive a new signal and reverse position, which often leads to losses in choppy markets.
**Optimization:** Set a "cooldown period" (e.g., 15 candles). During this time, no new signals are generated—even if conditions are met—allowing you to wait for the next "truly favorable extreme opportunity."
---
**Key Variables**
* `plotH`: Entry threshold (e.g., 2.5). Only consider entries when zScore exceeds this value.
* `cooldown`: Number of cooldown candles. No new entries can be made during this period, regardless of signals.
* `last_entry_bar`: Records the bar\_index of the last entry, used to calculate the cooldown period.
---
**Entry Logic**
* If zScore breaks upwards through -plotH and you’re not in a cooldown period, generate a long ETH/short BTC signal (show a label).
* If zScore breaks downwards through plotH and not in a cooldown period, generate a short ETH/long BTC signal.
* Every time you enter a trade, update `last_entry_bar` to the current bar\_index and enter the cooldown period.
The entry standard deviation threshold is originally set to 2.5, but you can set it to any peak value you prefer—the higher the value, the fewer the signals.
The cooldown candle count is also customizable; the higher the value, the fewer the signals.
The look-back period is adjustable as well; the higher it is, the longer the historical window considered, and the fewer the signals.
---
I’ve been thinking for over a year about what kind of strategies are suitable for retail traders.
After all this time, I’ve only come up with two types:
1. Hedge strategies that only capture abnormal volatility
2. Funding rate arbitrage
Currently, I’m publishing the hedge strategy first.
I’ll continue to share funding rate arbitrage in the future.
配對交易waynecoin製作2_回歸零即止盈進場:兩個幣價差大幅偏離平均值(超過設定標準差),認為出現「極端偏差」,所以進行配對交易
出場:只要 zScore 回到 0,即「兩幣回歸均值關係」,立刻平倉
冷卻機制:每次出場後,必須經過設定的K線數才能再次進場,有效減少過度頻繁交易
這種回歸0止盈法的優點
減少來回掃損:避免只在邊界平倉(如 zScore 回到 1),能抓到更大一段的均值回歸
簡單直觀:規則容易判斷,不需要額外判斷趨勢或震盪
適合盤整行情:這種策略在橫盤或均值回歸明顯的市場表現較好
需搭配wayncoin製作2來使用,因為腳本原因他一次只能單筆持倉,所以相比較wayncoin製作2會遺漏一些信號,但可以這版本的離場信號做為離場,在該跟k線收盤後出現離場信號在做離場
Entry: When the price spread between the two coins deviates significantly from the mean (exceeds the set standard deviation), this is considered an "extreme deviation," so a pairs trade is initiated.
Exit: As soon as the zScore returns to 0—meaning the price relationship between the two coins has reverted to the mean—the position is closed immediately.
Cooldown mechanism: After each exit, a specified number of candlesticks must pass before a new entry is allowed, effectively reducing over-trading.
Advantages of the “exit at zScore=0” method:
Reduces whipsaw losses: By avoiding exits at just the boundaries (e.g., zScore returning to 1), it can capture a larger portion of the mean reversion move.
Simple and intuitive: The rules are easy to follow, without needing to judge additional trends or market regimes.
Well-suited to ranging markets: This strategy performs better in sideways or clearly mean-reverting markets.
Note:
This method should be used together with “waynecoin version 2.” Due to script limitations, it only allows one position at a time, so compared to waynecoin version 2, some signals may be missed. However, you can use the exit signals from this version to close positions—when an exit signal appears after the close of the corresponding candlestick, close the position.
TIM–EMA Crossover EngineWhat Indicator do:
A multi-layered EMA-based signal indicator designed for trend-following, momentum, and structure-based traders. This tool helps you detect trend reversals, breakout alignments, and extended conditions in a visually intuitive and customizable way.
Key Features:
1) Glowing EMAs: Five customizable EMAs (default: 10, 21, 55, 150, 200) with glowing layered visuals for high clarity.
2) Smart Signal Commentary: Dynamic labels with human-readable crossover insights, trend structure detection, and optional emoji icons.
3) Price Disparity Warning: Detects when price is >5% away from its nearest EMA — alerts you to overextended zones.
4) Signal Score (0–10): Quantifies trend strength based on EMA alignment and price structure.
5) Crossover Markers: Triangle arrows plotted directly on the chart to mark bullish/bearish EMA crossovers.
6) Full Customization:
Enable/disable glow
Choose EMA periods & colors
Toggle label frequency (every 5 bars or signal-only)
Position signal labels anywhere on the chart
Auto Trendlines [AlgoXcalibur]Effortlessly visualize trendlines.
This algorithm does more than just draw lines connecting structural swing points — it reveals dynamic support & resistance breakouts with clarity and precision while significantly reducing your workload compared to the hassle of manually drawing trendlines.
🧠 Algorithm Logic
This advanced Auto Trendlines indicator delivers clear market structure through an intelligent multi-fractal design, revealing useful swing structures in real time. For those seeking maximum awareness, the optional Micro Trendlines (Dotted) constantly monitors even the most recent and minor structural shifts — keeping you fully in tune with evolving market dynamics. A Break Detection Engine constantly monitors each trendline and provides instant visual feedback when structural integrity is lost: broken lines turn gray, stop extending, and remain visible to enhance clarity and situational awareness. The algorithm is carefully refined to prevent chart distortion commonly caused by forcing entire trendline structures into view — preserving a natural and accurate charting experience. To further ensure optimal readability, an integrated Clutter Control mechanism limits the number of visible trendlines — focusing attention only on the most relevant structures.
⚙️ User-Selectable Features
• Micro Trendlines (Dotted): Ultra-responsive short-term trendlines that react to even the smallest structural shifts — ideal for staying ahead of early trend changes.
• Broken Trendline Declutter: Enable to display only the most recent broken trendlines to simplify chart visuals and maintain clarity, or disable to analyze previous price action.
💡 Modern Innovation
Auto Trendline indicators are often inaccurate, clumsy, and rely on slow methods that fail to adapt. AlgoXcalibur’s Auto Trendline indicator takes a modern, refined approach — combining smart pivot logic for both speed and stability, dynamic break detection with clear visual cues, and displaying only the most relevant trendlines while prioritizing accuracy, preventing distortion, and reducing clutter — automatically.
🔐 To get access or learn more, visit the Author’s Instructions section.
GeeksDoByte 15m & 30m ORB + Prev Day High/LowCME_MINI:NQ1!
How It Works
Opening Ranges
At 9:30 ET, the script begins tracking the high & low.
It uses two fixed sessions:
15 min from 09:30 to 09:45
30 min from 09:30 to 10:00
On the very first bar of each session it initializes the range, then continuously updates the high/low on each new intraday bar.
Dashed lines are drawn when the session opens and extended horizontally across subsequent bars.
Previous Day’s Levels
Independently, it fetches yesterday’s high and low via a daily security call.
These historic levels are plotted as simple horizontal lines for daily context.
How to Use
Breakout Entries
A close above the 15 min ORB high can signal an early breakout; a further push above the 30 min ORB high confirms extended momentum.
Conversely, breaks below the respective lows can indicate short setups.
Support & Resistance
Yesterday’s high/low often act as magnet levels. If price is near the previous high when the opening ranges break, you get a confluence zone worth watching.
Trade Management
Combine the two opening-range levels to tier your stops or scale in.
For example, you might place an initial stop below the 15 min low and a wider stop below the 30 min low.
Swing Crypto Bot – Extended Bullish PatternsSwing Crypto Bot – Extended Bullish Patterns
A lean, rule-based Pine Script that spots high-probability swing entries by combining trend filters, momentum checks and a broad set of classic bullish candlestick patterns—all with built-in risk management and instant in-chart alerts.
🔍 What It Does
Multi-Factor Screening
Price > 50-period SMA (trend filter)
Price > Upper Bollinger Band (breakout filter)
RSI(14) between 45–80 (momentum filter)
Volume > 20-period SMA of volume (participation filter)
Candlestick Patterns
Detects 6 core bullish setups:
Hammer
Bullish Engulfing
Bullish Harami
Morning Star (3-bar reversal)
Three White Soldiers
Tweezer Bottom
Displays exactly one in the info bubble (or “Mixed”/“None” if ambiguous).
Instant Alert
Shows a 🔥 icon on the final bar when 3 of 5 criteria are met (including at least one pattern).
Automated Risk Management
Stop-Loss = 1.5 × ATR(14) below entry (guaranteed under price)
Take-Profit = Risk × 2 (minimum RR 2:1) above entry
In-chart info bubble with Pattern name, Entry, SL, TP & RR
Clean Overlay
Only SMA50 + Bollinger Bands
One flame + one info bubble on the last bar
Heavy lifting off-chart: use TradingView’s native Volume & RSI panes for deeper analysis
How to Use
Add the script to your chart.
Watch for the 🔥 on the latest candle—your 3+ filters have aligned.
Read the info bubble for the exact candlestick pattern, entry price, stop-loss, take-profit and achieved RR.
Confirm with your own support/resistance lines, Volume & RSI panels.
Ideal for swing traders who demand precision, diversity of patterns and automatic risk controls. Copy-paste and publish on TradingView today!
Monday's Range by Fortis80This script displays the Monday’s high and low range with configurable week history and signals. Exclusive for Fortis80 Members.
Swing Crypto Bot – Signal + TP/SL/RR (Min RR 2)Harness the power of chart-pattern recognition, multi-factor screening and automated target calculation—all in one clean, visual Pine Script indicator.
Key Features
🔥 Instant Signal: “Flame” icon on the latest bar when at least 3 of 5 criteria align:
Price above 50-period SMA
Price breaking upper Bollinger Band
Volume exceeding its 20-period MA
RSI (14) between 45–80
Bullish price pattern detected (Hammer, Engulfing or Harami)
🎯 Automated TP/SL/RR
Entry at market close of signal bar
Stop-loss set to 1.5× ATR14 below entry (always under current price)
Take-profit at a minimum 2× risk (configurable)
Risk/Reward ratio displayed in-chart for transparency
🏷️ Pattern Labeling
The info bubble identifies which candlestick pattern triggered the signal (“Hammer”, “Engulfing”, “Harami”, or “Mixed”).
🛠️ Minimal Overlay
No extra clutter—only your SMA, Bollinger Bands, signal flame & a single info-bubble. Use TradingView’s native volume pane and RSI beneath for further confirmation.
How to Use
Add the script to your chart (SMA50 + BB20 overlay).
Monitor for the 🔥 on the latest bar—this means your 3+ criteria are met.
Read the info bubble for entry, stop-loss, take-profit and achieved RR.
Confirm with your own volume/RSI panes and support/resistance levels.
Ideal for swing traders looking for a quick, rule-based signal with built-in risk management. Copy, paste & publish on TradingView today!
OB/OS adaptative (past & present)This script, is designed to identify dynamic overbought and oversold levels by performing a multi-timeframe analysis. It calculates and displays these zones on the chart, updating them weekly.
CRT Wick ReversalCustom code to help predict reversals by using LQ areas - Killzone highs/lows, high volume LQ (CPI/NFP/News)/ IRL events such as war/POTUS etc..
EPS Fundamental Analysis🔍 **EPS Fundamental Analysis**
This script clearly shows the evolution of EPS (Earnings Per Share) quarter by quarter and annually.
It will help you quickly visualize the financial health of a company and make better investment decisions.
💡 *This indicator is just a supporting tool. Learn to interpret it correctly within a real fundamental analysis strategy.*
📘 Part of my course **“Elite Investor”**, where I teach how to build solid portfolios and choose companies with real value.
✅ **Personal and educational use only**
🔒 *Protected code, no access to source code. Resale or redistribution is prohibited.*
TradeCrafted - "M" & "W" Pattern Detector for intraday traders🔍 TradeCrafted – “M” & “W” Pattern Detector for Intraday Traders
Spot Key Reversal Patterns. React Before the Crowd.
Chart patterns aren't just theory — they’re the visual footprints of market psychology. Among them, the “M” (double top) and “W” (double bottom) formations are some of the most powerful and time-tested signals used by professionals to anticipate trend reversals and breakout setups.
This premium intraday tool detects these crucial structures in real time, helping you:
🧠 Stay ahead of major intraday pivots.
⚠️ Avoid false breakouts by reading the market’s rhythm.
📊 Time your entries and exits around high-probability zones.
Unlike noisy oscillators or delayed signals, this pattern detector focuses on structural clarity, ensuring you're trading with the rhythm of the market, not against it.
✅ Why Traders Use It:
Helps confirm tops and bottoms with visual confidence.
Excellent for intraday scalping and reversal strategies.
Reduces overtrading by filtering out indecision zones.
Reinforces discipline by only acting when the pattern is confirmed.
⚡️ For Genuine & Serious Traders:
This is a premium script developed for disciplined intraday professionals.
📩 Interested in a trial? Send your TradingView username to:
📧 tradecrafted21@gmail.com
Trust the patterns. Respect the process.
TradeCrafted — where precision meets price action.
TradeCrafted live Zigzag Trend Lines🧠 TradeCrafted live Zigzag Trend Lines — Trend Shift Detection with Supertrend Logic
The TradeCrafted live Zigzag Trend Lines is a powerful visual indicator that connects key trend reversal points using bold, color-coded lines. It's designed to help you spot trend changes clearly and act with confidence.
🔹 Blue lines connect significant bearish-to-bullish reversals, helping you identify new uptrends.
🔸 White lines connect bullish-to-bearish reversals, signaling potential downtrends.
📈 Features:
Highlights Buy and Sell signals directly on the chart using real-time crossover
logic.
Automatically draws trend lines at key turning points — visually mapping out price structure.
Simple, no-setup interface with hardcoded settings for consistent and clean results.
Built for scalpers and swing traders looking for early trend confirmation.
✅ Great For:
Traders who love clean visuals and want to reduce noise.
Price action traders who value structure over indicators.
Anyone looking to visually follow trend shifts with minimal delay.
RANGE_MÜCAHİD_ATAOGLUThis comprehensive Pine Script v6 indicator combines several analysis layers and alert systems:
Backtest Time Filter
Allows you to specify a start/end date (month, day, year) for plotting and signal generation.
Range Filter
Smooths price via an EMA-based “range” band (configurable period & multiplier).
Plots the filter line and upper/lower bands with dynamic coloring to show trend strength.
Generates breakout signals only on the first candle after a trend change (longCondition1 / shortCondition1).
Webhook Integration (3Commas)
Customizable text messages for opening/closing long and short positions via webhooks.
Exhaustion (“Tükenmişlik”) Levels
Detects overextended moves by counting consecutive bars and checking swing highs/lows.
Plots support/resistance exhaustion lines on the current and (optionally) higher timeframe.
Identifies “super” signals when both current and higher timeframe exhaustion align.
MESA Moving Average (optional)
Implements the Mesa Adaptive Moving Average (MAMA & FAMA) on the current or higher timeframe.
Can color bars or overlay lines to visualize adaptive trend.
WaveTrend Oscillator
Calculates WaveTrend channels and moving averages on chosen source and timeframe.
Configurable overbought/oversold thresholds at three sensitivity levels.
Emits level-3 reversal signals when WT lines cross in extreme zones.
Combination Signals
“Combo” buy/sell markers (⭐/💥) and alert conditions when Range Filter and WaveTrend level-3 coincide.
Alert System
Multiple alertcondition definitions with Turkish titles & messages for:
Range Filter entries/exits
Strong WaveTrend reversals
Combo signals
Group alerts covering any signal type
Session Open/Close BoxThis Pine Script indicator for TradingView allows you to visualize up to three distinct time-based sessions on your chart. For each active session, it draws a box from the session's open to its close, extending all the way to the right edge of the screen. It also includes a dotted line at the halfway point between the session's open and close. This tool is designed to help traders quickly identify and analyze price action within specific, customizable time windows.
📦 Weekend Price Action Boxes Anchored with Labels📦 Weekend Price Action Boxes Anchored with Labels + Midline
Description:
This indicator highlights the price action that occurred over each weekend (Saturday and Sunday) by automatically drawing a colored box around the high and low of that period. Once the weekend ends (on Monday), the box is locked in place and remains visible on the chart for future reference.
Label: A label reading "WEEKEND PRICE ACTION" is placed above the box for clear identification.
Anchored Drawing: All elements remain accurately positioned even when zooming or scrolling the chart.
Non-intrusive Design: Transparent fill and subtle styling keep your chart clean while providing valuable reference levels.
Use Case:
Traders can use this tool to track weekend consolidation zones, anticipate potential breakout or rejection levels, and visually identify how current price interacts with prior weekend ranges.
Phiên Forex (UTC+7, nền cũ, cờ rõ)Time giao dịch Forex khớp với các phiên theo từng khung giờ cho cả tuần
Hourly Markers 09:00 - 22:00 (Europe/Budapest)Quick Summary:
✅ Markers appear every full hour from 09:00 to 22:00 Budapest time
✅ Marker shown only on bars at the first minute of each hour
✅ Uses persistent downward labels for clear, visible markers
✅ Works best on low timeframes (1m, 5m) to catch exact hour bars
⸻
Optional tweaks available:
✔ Change to vertical lines instead of arrows
✔ Adjust timezone or colors