MNQ Contracts to Risk $250 from Prev WickContract Size needed to risk $250 compared to previous candle high or low
指标和策略
DavSab RSI, MACD, EMA buy/sellTEST indicator 20250507
Consisting
Buy SIGNAL
EMA 10 over 20, price over 50 ema
MACD over 0
RSI over RSI-Based EMA
Når alle disse er opfyldt → Salgssignal + alarm
Sell SIGNAL
Her er de logiske SELL betingelser:
🔻 Pris lukker under EMA 50
🔻 Pris lukker under EMA 10
🔻 EMA 10 er under EMA 20
🔻 MACD linje er under 0
🔻 MACD linje er under signal linje
🔻 RSI er under RSI-baseret MA
Når alle disse er opfyldt → Salgssignal + alarm
Triple Zero Lag MACD📊 Triple Zero Lag MACD Indicator
This advanced indicator plots three customizable Zero Lag MACDs on a single panel, offering enhanced precision and responsiveness compared to traditional MACDs. Each MACD uses Zero Lag EMAs to reduce signal lag, improving the timeliness of trend and momentum detection.
🔍 Key Features:
Three Independent Zero Lag MACDs on one axis.
Customizable Fast EMA, Slow EMA, and Signal Line periods for each MACD.
Clear color-coded histograms for bullish and bearish momentum shifts.
Custom line and histogram colors for each MACD set.
Central zero line for easy interpretation of trend direction.
📈 Use Cases:
Detect momentum shifts faster with Zero Lag smoothing.
Compare short-, medium-, and long-term momentum in one view.
Ideal for advanced traders who want multi-layer confirmation in trend trading, scalping, or swing setups.
NY Open Market Condition Analyzer – TTR & RI - Beta 0.1.3📌 NY Open Market Condition Analyzer – TTR & RI - Beta 0.1.3
Built for NQ/MNQ scalpers who thrive on structure, this indicator evaluates market conditions at the New York Open (6:30–8:30AM PST) and only flashes green when high-probability conditions align.
📊 Core Filters
TTR (Total Trading Range): Measures volatility from 2:00–6:30AM PST
5-Min Candle Body: Captures the size of the opening impulse
VWAP Distance: Gauges market expansion from a mean
MNQ/MES Divergence: Confirms directional alignment between indices
UT Bot Alerts: Integrates an ATR/EMA-based trend confirmation system
🎯 Primary Objective
Filter out weak sessions and trade only when structure supports movement.
Avoid choppy Mondays and Fridays unless volatility proves otherwise
Combine system rules with momentum-based confluence
Preserve your edge and mental capital by only trading when it’s worth it
✅ Features
Smart Session Filter Logic:
Premarket Range ≥ X pts
Opening 5-Min Candle Body ≥ Y pts
VWAP Distance ≥ Z pts
Divergence filter to ensure MNQ & MES are not in conflict
UT Bot Buy Signal required (if enabled)
Visual Feedback:
Colored background: 🟩 GOOD or 🟥 SKIP
Chart labels: GOOD SETUP or SKIP SESSION
Optional UT Bot signal markers (Buy)
Toggle visibility for GOOD and SKIP signals
Dashboard Panel (top-right):
Displays real-time data for all active filters
Premarket Range
5-Min Candle Body
VWAP Distance
Divergence Status
UT Bot Buy Signal
Final Verdict: ✅ GOOD or ⚠️ SKIP
🔔 How to Use Alerts
Click the “Alerts” (🔔) tab
Create a new alert
Condition: NY Open Market Condition Analyzer – TTR & RI + UT Bot → Good Setup Alert
Set action (push, webhook, etc.)
Use “Once Per Bar” for 1-minute charts
🧠 Best For:
MNQ/NQ scalpers
Traders using MAS Capital’s Reversal Indicator
1R–2R scalping models (10–30pt targets)
Traders looking for pre-trade confirmation based on structure AND momentum
Combined BB/EMA/MA + HEMA Trend [Custom Colors]This indicator is a combination of three key indicators that I use in my trading. You can observe and evaluate how to use it by yourself, as I won’t be able to explain exactly how it works. However, I believe it will definitely be useful for users. Thank you.
asami.Fib Zones & Multi-Market Open Lines with Alerts### **asami.Fib Zones & Multi-Market Open Lines with Alerts**
**Summary**
This indicator automatically plots two Fibonacci retracement zones (23.6–38.2% and 61.8–76.4%) based on the prior day’s high/low, and draws horizontal lines at the market open price for Tokyo, London, and New York sessions, each in a distinct color. Optional features include calculating and labeling daily bias from Tokyo open, entry alerts when price first touches a fib zone, and cross markers when fib zones intersect market open lines.
---
### **Key Features**
* **Fib Zones**:
* Zone 1 (23.6–38.2%) and Zone 2 (61.8–76.4%) drawn as semi-transparent boxes
* **Market Open Lines**:
* Tokyo Open (JST 9:00) → Yellow
* London Open (BST/GMT+1 8:00) → Orange
* New York Open (EDT/GMT-4 9:30) → Purple
* **Daily Bias**: Percentage change from Tokyo open, shown as a chart label
* **Alerts**:
* One-time alert on first entry into a fib zone
* Cross markers when fib zones intersect market open lines
---
### **Inputs**
| Input Name | Type | Default | Description |
| :---- | :---- | :---- | :---- |
| Show Fib Zone 1 | bool | true | Toggle 23.6–38.2% zone |
| Zone 1 Color | color | blue | Color of shallow retracement box |
| Zone 1 Opacity (%) | int | 10 | Transparency (0–100%) |
| Show Fib Zone 2 | bool | true | Toggle 61.8–76.4% zone |
| Zone 2 Color | color | green | Color of deep retracement box |
| Zone 2 Opacity (%) | int | 10 | Transparency |
| Show Market Open Lines | bool | true | Toggle market open price lines |
| Tokyo Open Color | color | yellow | Color for Tokyo open horizontal line |
| London Open Color | color | orange | Color for London open horizontal line |
| NY Open Color | color | purple | Color for New York open horizontal line |
| Use Manual High/Low | bool | false | Use manual prior high/low for fib calculations |
| Manual High | float | 0.0 | Manual prior day high |
| Manual Low | float | 0.0 | Manual prior day low |
| Enable Entry Alert | bool | false | Alert when price first enters fib zone |
| Alert Message | string | “Price entered fib zone” | Custom alert message |
| Calculate Daily Bias | bool | false | Toggle daily bias calculation (vs Tokyo open) |
| Bias Threshold (%) | float | 0.5 | Minimum bias percentage to display |
| Highlight Cross | bool | false | Mark fib/open intersections |
---
### **How to Use**
1. Apply to any symbol and timeframe in TradingView.
2. Two fib zones based on prior day’s high/low appear automatically.
3. Horizontal lines at Tokyo, London, and NY open price are drawn in distinct colors.
4. Enable alerts, bias labels, or cross markers via inputs as needed.
---
### **Notes**
* Market opens are detected by local session times (handles daylight savings).
* Tokyo open uses the first 9:00 JST bar, not daily open.
* Fib zones default to prior day’s OHLC but support manual override.
Kaito Box with RSI Div(Dynamic Adjustment + MA + Long)The script implements a dynamic trading strategy that combines box range detection, RSI divergence signals, and moving average trend analysis. It is designed for use on OKX Signal Bots and includes features for dynamic position scaling and partial position closing. Below is a summary of its key functionalities:
Key Features:
Box Range Detection:
The script identifies price ranges using the highest high and lowest low of a configurable boxLength period.
These levels are plotted on the chart to visualize the price range.
RSI Divergence Detection:
The script calculates RSI using a configurable rsiLength.
Detects bullish divergence when price makes a lower low, but RSI makes a higher low.
Detects bearish divergence when price makes a higher high, but RSI makes a lower high.
Includes separate left and right lookback periods (leftLookback, rightLookback) for precise local extrema detection.
Customizable Moving Averages:
Supports multiple types of Moving Averages (SMA, EMA, SMMA, WMA, VWMA).
Calculates and plots MA20, MA50, MA100, and MA200 on a user-defined timeframe (custom_timeframe).
Identifies uptrends and downtrends based on the alignment of the moving averages and price levels.
Dynamic Position Scaling:
Implements dynamic position sizing for long entries and partial position closing for exits.
The percentage of position size added or closed is based on the difference between the current price and the average position price (avgPrice), with configurable minimum thresholds (minEnterPercent, minExitPercent).
Signal Integration for OKX Bots:
Sends buy/sell signals to OKX Signal Bots using the configured signalToken.
Supports market or limit orders with configurable price offsets and investment types.
Trend-Based Signal Filtering:
Only triggers long signals during downtrends and short signals during uptrends, ensuring trades align with the overall market context.
Visual Annotations:
Plots bullish and bearish divergence signals on the chart.
Displays labels showing dynamic position size adjustments and current average price during trades.
How It Works:
Long Signals:
Triggered when the price breaches the lower box range, and a bullish RSI divergence is detected.
Additional filtering ensures long trades are executed only during downtrend conditions.
Dynamically adjusts the position size based on the price difference from the average entry price.
Short Signals:
Triggered when the price breaches the upper box range, and a bearish RSI divergence is detected.
Additional filtering ensures short trades are executed only during uptrend conditions.
Dynamically closes portions of the position based on price movement relative to the average entry price.
Alerts:
Generates actionable alerts formatted for OKX bots, including order type, signal token, and dynamically calculated position sizes.
Use Case:
This strategy is well-suited for automated trading on platforms like OKX, where it can:
Exploit price ranges and RSI divergences for precise entries and exits.
Dynamically manage position sizes to optimize risk-reward.
Adapt to different market conditions using configurable parameters like moving averages, divergence lookbacks, and trend filters.
This script provides a robust foundation for traders looking to automate their strategies while maintaining flexibility and control over their trading logic.
Nifty Straddle Monitor with VWAP & KeltnerHere is the complete Pine Script for Nifty Straddle + VWAP + Keltner Channels, designed to monitor the total premium of a Nifty ATM straddle. It plots the live prices of the call and put, their sum, and overlays Keltner Channels and VWAP from the underlying Nifty index.
Opti-EnvelopeUse Cases
Trend Confirmation: Confirm strong trending conditions via HMA slope and bar colors.
Overbought/Oversold Alerts: Spot potential reversal zones when price breaks the envelope bands.
Volatility Monitoring: Track market volatility through the widening and narrowing of the envelope.
Gestión Visual Interactiva + Línea Arrastrable🧠 Interactive Trade Management + Smart Take Profit
This script is designed to manage trades visually and intuitively, combining the best of day trading and swing trading strategies.
✅ Key Features:
Entry and Stop Loss can be configured from the panel or by directly dragging the lines on the chart.
Automatic Take Profit levels calculated based on multiples of Risk (TP1, TP2, TP3).
Smart trailing stop system that activates from a defined level and adjusts dynamically.
Support for both LONG and SHORT trades with adaptive logic.
Integrated alerts for TP1, TP2, Trailing Stop, and Stop Loss.
🎯 Ideal for:
Traders who want to let part of their position run beyond the first target.
Trades where you want to turn a day trade into a swing trade partially.
Those who seek a visual and practical control of their trade management directly on the chart.
💡 Recommendation: Use the configuration panel to define initial values and adjust visually with the interactive lines for maximum flexibility.
Simplified Test StrategyThis indicator replicates the powerful structure-based logic of premium institutional tools like It combines smart market structure detection (BOS/CHoCH), momentum filters (RSI), volatility assessment (ATR), and volume spikes to deliver high-probability trade signals.
Key features include:
✅ Swing high/low structure detection
✅ Break of Structure and Change of Character signals
✅ Configurable RSI, volume, and ATR filters
✅ Composite scoring to filter only strong setups
✅ Dynamic SL/TP using recent market structure
✅ Built-in alerts for buy/sell signals
Use this tool to visually analyze market reversals, confirm breakout trades, or build confluence with your existing strategy. Designed for traders who want structure-first, signal-smart trading.
Atlas BBTlevelsAtlas BBTlevels is a custom Bollinger Bands-based indicator that measures the momentum and strength of price trends using the difference between short- and long-period Bollinger Bands. Inspired by John Bollinger’s official tools like BBTrend, %b, and Bandwidth, this script adds adjustable horizontal threshold levels so traders can mark important reaction zones on their charts.
It visualizes when markets may be entering overheated or exhausted conditions — either for trend continuation or potential reversals — and works across crypto, stocks, forex, spot, or perpetual charts.
How I personally use it:
I apply Atlas BBTlevels across three timeframes:
Low timeframe (LTF): 5m–15m
Mid timeframe (MTF): 1h–6h
High timeframe (HTF): 1d–2d
I review where the indicator historically spiked during major moves. For example, if the 4-hour chart shows repeated spikes to +10 or −10, I’ll set my positive and negative thresholds near those levels. This lets me anticipate zones where the market may reverse, cool off, or break out. I then compare LTF, MTF, and HTF levels to look for confluence. When multiple timeframes align near key levels, it gives me higher confidence to prepare for a trade — but I always combine this with price action and other confirmation tools.
How others can use it:
Identify overbought/oversold zones by adjusting the thresholds to match historical extremes on your chosen asset.
Use it as a trend strength gauge: when the histogram is near or above the top threshold, the trend is likely strong; when it fades back toward zero, momentum is weakening.
Watch for volatility expansions or contractions as the indicator accelerates away from or returns toward zero.
Combine it with price action (support/resistance, trendlines, chart patterns) or other momentum tools to reduce false signals.
Apply it across multiple timeframes to look for confluence — this increases reliability compared to using it on just one chart.
Important tips:
Positive spikes (above zero) usually indicate strength or overextension upward; negative spikes (below zero) show weakness or downward exhaustion.
You can reverse the color logic if you want (for example, highlight negative spikes as green for buy interest and positive spikes as red for sell interest) — this is just a visual preference.
This is not a standalone buy/sell system. Always combine it with other tools, market context, and risk management.
ATR Usage % (Legacy-Compatible)What It Does:
• Calculates how much of today’s ATR has already been used.
• Shows a label above price bar with % usage.
• Color-coded:
• Green if usage < 80%
• Orange if 80–100%
• Red if over 100% → Possible exhaustion
My script//@version=6
indicator("My script")
plot(close)//@version=6
indicator("My script")
plot(close)//@version=6
indicator("My script")
plot(close)//@version=6
indicator("My script")
plot(close)
Thai Gold BahtIndicator Name: Thai Gold Baht
Short Title: Thai Gold Baht
Purpose
This indicator calculates and visualizes the real-time price of 1 Thai Gold Baht (15.244 grams) based on the global gold price ( XAU/USD ) and the USD/THB exchange rate .
Users can customize gold weight and purity to simulate the local Thai gold market price.
What it does
Retrieves live gold price per troy ounce in USD
Retrieves current USD to Thai Baht exchange rate
Converts the value using user-defined weight and purity
Displays result as a real-time chart
Shows calculation details in the Data Window
Ideal for
Traders tracking Thai gold based on international prices
Analysts comparing local and global bullion markets
Anyone needing a configurable, transparent gold price conversion
Pine Script Functionality
// Uses XAU/USD and USD/THB as inputs
// Calculates 1 Baht Gold (96.5% default purity)
// Outputs the value in THB as a chart line
ชื่ออินดิเคเตอร์: Thai Gold Baht
ชื่อย่อ: Thai Gold Baht
วัตถุประสงค์
อินดิเคเตอร์นี้ใช้คำนวณและแสดงราคาทองคำไทย 1 บาท (15.244 กรัม) แบบเรียลไทม์
โดยอ้างอิงจากราคาทองคำในตลาดโลก ( XAU/USD ) และอัตราแลกเปลี่ยน USD/THB
ผู้ใช้สามารถกำหนดน้ำหนักทองและความบริสุทธิ์เองได้ เพื่อจำลองราคาทองคำในประเทศไทยอย่างแม่นยำ
สิ่งที่อินดิเคเตอร์นี้ทำ
ดึงราคาทองคำแบบเรียลไทม์ต่อทรอยออนซ์ในสกุลเงิน USD
ดึงอัตราแลกเปลี่ยน USD → THB แบบเรียลไทม์
คำนวณราคาจากน้ำหนักและเปอร์เซ็นต์ความบริสุทธิ์ที่ผู้ใช้กำหนด
แสดงผลลัพธ์เป็นกราฟแบบเรียลไทม์ในหน่วยบาทไทย
แสดงรายละเอียดการคำนวณในหน้าต่าง Data Window ของ TradingView
เหมาะสำหรับ
นักเทรดที่ต้องการติดตามราคาทองคำไทยจากราคาทองคำตลาดโลก
นักวิเคราะห์ที่เปรียบเทียบราคาทองคำในประเทศและต่างประเทศ
ผู้ใช้งานที่ต้องการการแปลงราคาทองคำระหว่างประเทศให้โปร่งใสและปรับแต่งได้
การทำงานของ Pine Script
// ใช้ข้อมูล XAU/USD และ USD/THB เป็นอินพุต
// คำนวณราคาทองคำไทย 1 บาท (ความบริสุทธิ์เริ่มต้นที่ 96.5%)
// แสดงผลเป็นเส้นกราฟของราคาทองคำในหน่วยบาทไทย
EMA Strategy with DOUBLE EMAStrategy Concept
This strategy uses two exponential moving averages (EMAs) to confirm the market trend and generate non-repeating buy/sell signals based on trend alignment:
Fast EMA (e.g., 50-period) detects short-term trend.
Slow EMA (e.g., 200-period) confirms the broader trend.
Slope of each EMA is used to determine whether the trend is up, down, or flat.
The strategy avoids "flat" areas unless allowed through settings.
⚙️ Signal Generation Logic
Buy Signal (Long Entry):
First, the fast EMA must turn bullish.
Then, the slow EMA must also confirm the bullish trend.
Only if both are aligned, a buy signal is triggered.
After a buy signal, no new buy will occur until a sell happens.
Sell Signal (Short Entry):
Same logic in reverse:
Fast EMA turns bearish → wait for slow EMA to confirm.
Only then, a sell signal is triggered.
After a sell, no new sell can happen until a buy is triggered.
RSI-14 on 15mThis Pine Script indicator plots the 14-period Relative Strength Index (RSI) calculated on the 15-minute timeframe, regardless of the chart’s current timeframe. It's useful for traders who want to monitor short-term momentum without switching timeframes. The request.security() function is used to fetch the RSI value from the 15-minute chart, ensuring the RSI remains consistent across different timeframes. The result is displayed as a purple line (rsi_15m) on a separate pane, not overlaid on the price chart (overlay=false).
To assist with interpretation, horizontal dashed lines are drawn at 70 and 30, marking traditional overbought and oversold levels. These thresholds help traders identify potential reversal zones: values above 70 might indicate overbought conditions (a possible sell signal), while values below 30 suggest oversold conditions (a possible buy signal). The script is particularly helpful in multi-timeframe analysis where traders use a higher timeframe for trend direction and lower timeframes like 15m for entry signals. This setup can be combined with other indicators or price action strategies to enhance decision-making. Overall, it's a concise and effective tool for integrating 15-minute RSI into any trading workflow. Would you like to extend this to multi-timeframe strategies or alerts?
Charles EMA 20-50 cross strategySimple strategy to trade long or short every time the EMA 20 crosses the EMA 50
VWPAZ - Volume Weighted Price Action ZonesDisclaimer: The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only.
This indicator was developed for high-volatility assets like GME, this adaptive indicator dynamically maps the zones where price and volume converge, revealing key buy/sell territory, institutional footprints, and areas of high trade interest.
📌 What It Does:
Calculates a Volume-Weighted Average Price (VWAP) across the session(s) of your choice
Builds high-probability support/resistance zones using ATR-based deviations
Automatically tracks and adapts to 1-day, 3-day, or weekly price behavior
Visually highlights the zone with shaded regions, giving you clear trade zones at a glance
🔧 Features:
🧩 Session Toggle: Switch between 1D, 3D, or Weekly zones for swing/intraday context
🔶 VWAP Line: Anchors the average price weighted by volume
🔼🔽 ATR Zones: Defines realistic price extremes around VWAP using true range
🟧 Shaded Forecast Channel: Gives a “volume-approved” path forward
📈 How to Use It:
Inside the orange shaded zone? Expect price to stall or consolidate — institutions may be active here.
Breaking above the green ATR band? Momentum breakout — watch for volume confirmation.
Rejecting near the red ATR band? Potential reversal zone or liquidity trap.
👨💻 Ideal For:
Day and swing traders
Volume-based analysts
Volatile tickers (e.g., GME, TSLA, crypto)
Anyone seeking real volume acceptance levels vs. subjective trendlines