Professional Grid & Reversal Bot v10 (Binance Style)Professional Grid & Reversal Bot v10 (Binance Style) – Open Source & Educational
About this Script:
This script is an advanced Grid Trading & Smart Reversal strategy, inspired by professional Binance-style execution. It is designed as an educational, open-source tool for traders who want to understand market dynamics, grid logic, and risk management.
How it Works:
1️⃣ Grid Execution:
• Divides the price range between the high and low into multiple levels (Grids).
• Opens Buy orders in the lower half and Sell orders in the upper half.
• Levels are calculated dynamically based on the highest and lowest prices over a selected lookback period.
2️⃣ Smart Reversal System:
• Detects price touches on the high or low range boundaries to identify potential reversal points.
• Opens Buy orders at the lows and Sell orders at the highs using a configurable confirmation percentage (revPct).
• Helps traders capture short-term price swings effectively.
3️⃣ Risk & Size Management:
• Position sizing based on USD amount and leverage.
• Automatic Take Profit (TP) and Stop Loss (SL) for every trade.
• Controls overtrading via the "pyramiding" parameter (max open trades).
4️⃣ Advanced Visualization:
• Plots the grid range with high/low levels and fills the background for clear context.
• Highlights potential Supply and Demand Zones.
• Displays a dynamic "Binance-style" Order Book table showing Side, Price, Quantity, and PnL.
5️⃣ Key Counters & Indicators:
• levelsArr → Stores all grid levels for execution and plotting.
• touchedHigh / touchedLow → Monitors range touches to trigger reversals.
• strategy.openprofit → Displays live open trade PnL directly on the chart.
Additional Features:
• Supports both English and Arabic languages.
• Dark Theme optimized for readability.
• Dynamic control panel updates on every bar.
• Flexible settings for Auto or Manual grid range updates.
User Guidance:
• This script is for educational purposes only; it does not guarantee profits.
• We recommend adjusting Grid Levels, Reversal Percentage, and Trade Size to experiment with different strategies.
Community Engagement:
• Suggestions and improvements are welcome! 💡
• If you have ideas for new features, let's develop them together to enhance learning.
• Please support the script with a Like & Boost if you find it useful.
• Encourages knowledge sharing to improve collective performance.
License:
Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)
Free for educational use only. Please give credit to the author when sharing or modifying the script.
Indicatori e strategie
ATR Units + % (Watermark)A clean and simple indicator for displaying ATR (Average True Range) volatility directly on the chart, without any lines, panels, or visual clutter.
The indicator shows:
ATR in price units (how much the asset moves in absolute terms)
ATR as a percentage (%) of the current price
The values are displayed as a text watermark on the chart, allowing you to quickly see the volatility level at a glance without interfering with price analysis.
Customization Options:
Set ATR length
Choose text size
Choose text color
Control transparency (for a true watermark look)
Choose full chart position:
Vertical: Top / Middle / Bottom
Horizontal: Left / Center / Right
Disclaimer
This indicator is provided for educational and informational purposes only.
It does not constitute financial advice, investment advice, or a recommendation to buy or sell any financial instrument.
The ATR values shown (both units and percentage) reflect historical price volatility only and do not predict future market behavior.
All trading decisions are the sole responsibility of the user.
Trading involves risk. Always use proper risk management, and consult a licensed financial professional if needed before making trading decisions.
Scalp Hunter [Scalping-Algo]═══════════════════════════════════════════════════════════════════════════════
🎯 SCALP HUNTER
Precision ATR Momentum System for Fast Timeframes
═══════════════════════════════════════════════════════════════════════════════
📌 OVERVIEW
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Scalp Hunter is a high-accuracy scalping indicator designed specifically for
low timeframe trading (3M, 4M, 5M). It combines ATR-based trailing stops with
multiple confirmation filters to deliver clean, actionable signals.
✅ No Repaint
✅ No Delay
✅ Confirmed Signals Only
✅ Multi-Filter Validation
═══════════════════════════════════════════════════════════════════════════════
⚙️ HOW IT WORKS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
The indicator uses an ATR Trailing Stop as its core engine. When price crosses
the trail line, a potential signal is generated. But here's what makes it
accurate — signals must pass through 4 additional filters:
│
├─ 📊 PRICE ACTION FILTER
│ • Candle must close in signal direction
│ • Body size > 50% of full candle range
│ • Confirms strong momentum, not weak wicks
│
├─ 📈 VOLUME FILTER
│ • Volume must exceed 1.1x of 10-period average
│ • Filters out low-conviction moves
│ • Toggle on/off in settings
│
├─ 📉 EMA TREND FILTER
│ • Long signals: price must be above 21 EMA
│ • Short signals: price must be below 21 EMA
│ • Keeps you trading with the trend
│
└─ 🔥 MOMENTUM FILTER (RSI)
• RSI must confirm direction (>50 for longs, <50 for shorts)
• Avoids overbought/oversold extremes
• Fast 7-period RSI tuned for scalping
═══════════════════════════════════════════════════════════════════════════════
🎨 VISUAL GUIDE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🟢 GREEN TRIANGLE (▲) = Long Entry Signal
🔴 RED TRIANGLE (▼) = Short Entry Signal
━━ GREEN LINE = Bullish Trail Stop (support)
━━ RED LINE = Bearish Trail Stop (resistance)
🟢 GREEN BARS = Bullish Trend Active
🔴 RED BARS = Bearish Trend Active
═══════════════════════════════════════════════════════════════════════════════
📖 HOW TO USE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
STEP 1: Add to Chart
• Apply indicator to 3M, 4M, or 5M chart
• Works on any liquid market (crypto, forex, stocks, futures)
STEP 2: Wait for Signal
• 🟢 Triangle appears below bar = LONG opportunity
• 🔴 Triangle appears above bar = SHORT opportunity
• Signal fires at bar OPEN (no repaint, you can act immediately)
STEP 3: Entry
• Enter at market or use limit order near signal bar close
• Trail stop line shows your initial stop level
STEP 4: Stop Loss
• Place stop just beyond the trail line
• Long: stop below green trail line
• Short: stop above red trail line
STEP 5: Take Profit
• Option A: Fixed R:R (1:1.5 or 1:2 recommended)
• Option B: Trail your stop using the indicator line
• Option C: Exit when opposite signal appears
═══════════════════════════════════════════════════════════════════════════════
⚡ RECOMMENDED SETTINGS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
For 3M / 4M / 5M (Default - Aggressive Scalping):
• ATR Sensitivity: 0.8
• ATR Length: 8
• RSI Length: 7
• EMA Length: 21
• All filters: ON
For 15M / 30M (Slower Scalps):
• ATR Sensitivity: 1.0
• ATR Length: 10
• RSI Length: 10
• EMA Length: 34
• All filters: ON
For Volatile Markets (Crypto/News Events):
• ATR Sensitivity: 1.2
• ATR Length: 12
• Volume Filter: ON (important!)
• Other filters: ON
═══════════════════════════════════════════════════════════════════════════════
🔔 ALERTS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Three alert conditions available:
📲 "Scalp Long" → Fires on long entry signal
📲 "Scalp Short" → Fires on short entry signal
📲 "Any Signal" → Fires on both
To set up:
1. Click "Alert" button (clock icon)
2. Select "Scalp Hunter "
3. Choose condition
4. Set notification method (popup, email, webhook, mobile)
═══════════════════════════════════════════════════════════════════════════════
⚠️ RISK DISCLAIMER
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Trading involves substantial risk. This indicator is a tool, not financial
advice. Past performance does not guarantee future results. Always:
• Use proper position sizing
• Set stop losses on every trade
• Never risk more than you can afford to lose
• Backtest before live trading
• Combine with your own analysis
═══════════════════════════════════════════════════════════════════════════════
💡 TIPS FOR BEST RESULTS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✦ Trade during high-volume sessions (London/NY open)
✦ Avoid signals during major news releases
✦ Confirm with higher timeframe trend
✦ Best results on liquid pairs/assets
✦ Keep all filters ON for highest accuracy
✦ Turn off filters only if you need more signals
═══════════════════════════════════════════════════════════════════════════════
📊 WHAT MAKES THIS DIFFERENT
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Most ATR trailing indicators give too many signals. Scalp Hunter is different:
❌ Other indicators: Signal on every trail cross
✅ Scalp Hunter: Signal only when 5 conditions align
This means fewer trades, but higher probability setups.
═══════════════════════════════════════════════════════════════════════════════
Air Gap Value for ScreenerAir Gap Value for Screener on 4 hours time frame which screen stock that have potential gap
General_MU_RSIExtended version of RSI band.Its allows you show current price how far from "% " to reach end of rsi limits where you set it.
Global PMI CycleGlobal business-cycle proxy derived from PMI/ISM dynamics, designed to contextualise macro regimes alongside Bitcoin and risk assets.
Long Only - Double EMA + SessionOverview
This is a high-probability Long-Only trend-following strategy designed primarily for the 65-minute and 4-hour timeframes. It utilizes a dual-layered filter system to align trades with both macro and mid-term market momentum, ensuring entries only occur during healthy uptrends. The strategy is optimized for volatile, high-growth assets like TSLA and MSFT.
How It Works
The strategy relies on three primary pillars of technical analysis to confirm an "A+" setup:
Macro Trend Filter (200 EMA): We only look for long opportunities when the price is above the 200-period Exponential Moving Average. This keeps the strategy on the right side of the long-term trend and avoids "buying the dip" during major bear markets.
Momentum Filter (50 EMA): The 50 EMA acts as a local trend filter. By requiring price to be above both EMAs, we ensure the medium-term momentum is also bullish.
The Trigger (Stochastic RSI): We enter when the Stochastic RSI K-line crosses above the 20 level (Oversold). This identifies local "oversold" pullbacks within a larger uptrend.
Risk Management & Exit Plan
This strategy is built with professional-grade capital preservation in mind:
Trailing Stop-Loss: A 5% trailing stop follows the price as it moves in our favor. This protects unrealized profits and helps mitigate the drawdown during sudden reversals.
Dynamic Profit Target: The strategy exits automatically if the Stochastic RSI K-line reaches the 97 level, capturing gains at the peak of momentum.
Session Filter: To avoid the "noise" of pre-market and low-volume afternoon trading, the strategy is restricted to the Market Open (9:30 AM EST) window where institutional volume is highest.
Backtesting Notes
Realistic Simulation: This strategy includes a 0.05% commission and 2 ticks of slippage to reflect real-world execution costs.
Recommended Assets: Optimized for Nasdaq-100 components and high-volume growth stocks.
Timeframe: Best performance found on 65m or 4h intervals.
BTC Log RegressionLog-scale regression channel for Bitcoin. Designed to identify long-term valuation extremes in exponentially growing assets.
BTC Log Regression BTC Log Regression. This shows the peaks and troughs of BTC (or any exponentially growing asset) touching the top and bottom of a channel. You can use this to help decide if BTC is going to top or bottom in the medium term.
TWR of Bill WilliamsThis indicator was taken from the book “Trading Chaos Pt 1” by Bill Williams.
TWR contains 3 Moving Averages
Ripple - MA with 5 bars length
Wave - MA with 13 bars length
Tide - MA with 34 bars length
According to Bill Williams, you should take only a long position if the Ripple(5 bars length) is higher than Wave(13) and Tide(34).
Also, you should take only a short position, if the Ripple (the fastest MA) is lower than Wave MA and Tide MA(slowest MA).
This indicator is also used if you want to fill in the Profitunity Trading Partner table.
Risk Size Calculator - Indices/Metals This indicator is a universal position sizing tool that automatically calculates how many contracts or units to trade based on your defined dollar risk and stop size, while intelligently adapting to the asset you’re trading.
Key Features
Works on any asset: indices, metals, futures, stocks, crypto, etc.
Auto stop interpretation:
Metals (GC, MGC, SI, SIL, etc.) → Ticks
Everything else → Points
Single stop input (no switching between points/ticks manually)
Auto preset stops per asset class (optional)
Uses TradingView’s native contract data (pointvalue, mintick) for accuracy
Clean, readable top-right panel with:
Risk ($)
Stop (Points or Ticks, auto-labeled)
Contracts / Units
Actual Risk ($)
Optional manual $-per-point override for edge cases or custom instruments
Designed for fast execution with zero mental math and minimal chart disruption.
MA Shift Volume + Momentum ConfirmedSignals when there is REAL Heiken Ashi follow-through + volume + momentum, while keeping MA Shift intact
Pro Minimalist ATR (Black)The script I provided is a tool that automatically calculates and displays volatility "zones" around the average price. Here is the plain English explanation of what it is doing and why:
1. The Anchor: 20 DMA (The "Fair Value")
The script starts by calculating the 20-Day Moving Average (20 DMA).
What it represents: Think of this as the "fair price" or the "center of gravity" for the market over the last month.
In the script: It looks at the closing price of the last 20 candles, adds them up, and divides by 20. This is your baseline.
2. The Ruler: ATR (The "Volatility")
Next, it measures the Average True Range (ATR) over the last 14 days.
What it represents: This measures the "energy" or "noise" of the market. If candles are huge, the ATR is high. If candles are tiny, the ATR is low.
Why we use it: Using a fixed number (like $50) doesn't work because stocks move differently. ATR adapts to the current market mood.
3. The Zones: +1, +2, -1, -2
The script then takes that "center" (20 DMA) and adds/subtracts the "ruler" (ATR) to create four distinct levels:
+1 ATR: This is the "Upper Normal" limit. Price hanging here is bullish but normal.
+2 ATR: This is the "Extreme" limit. Statistically, price rarely stays above this line for long without snapping back. This is often an overbought signal.
-1 ATR: This is the "Lower Normal" limit.
-2 ATR: This is the "Extreme" discount. If price hits this, it is statistically stretched far below its average.
4. The Visuals: "Clean" Labeling
Finally, the script focuses on presentation:
No Lines: It specifically avoids drawing lines all over your history to keep your chart clean.
Dynamic Labels: It creates text labels only on the very last bar (the current moment). It constantly deletes the old label and draws a new one as the price moves, so it looks like the text is "floating" next to the current price.
Axis Marking: It forces marks onto the right-hand price scale (display=display.price_scale) so you can see the exact price levels (e.g., 154.20) without having to guess.
Today's Total Volume (Floating)Floating bubble showing total volume today of stock. Resets at midnight
Old Indicator Multi-Component Decision StrategyStrategy to test signals based on rsi and few other technicals
CK CloudOnly two moving averages that change color when they cross: blue for buy and yellow for sell, both configurable.
Triple KDJ - CKThe Triple KDJ is a market-reading architecture based on multiscale confirmation, not a new indicator. It consists of the simultaneous use of three KDJ settings with different parameters to represent three levels of price behavior: short-, medium-, and long-term. The systemic logic is simple and robust: a move is considered tradable only when there is directional coherence across all three layers, which reduces noise, prevents entries against the dominant regime, and stabilizes decision-making.
At the slowest level, the KDJ acts as a structural regime filter. It defines whether the market is, at that moment, permissive for buying, selling, or remaining neutral. When the slow KDJ shows the hierarchy J > K > D, the environment is bullish; when J < K < D occurs, the environment is bearish. If this condition is not clear, any signal on the faster levels should be ignored, as it represents only local fluctuation without directional support.
The intermediate KDJ fulfills the role of continuity confirmation. It checks whether the impulse observed on the short-term level is supported by the developing move. In practical terms, it prevents entries based solely on micro-impulses that fail to evolve into real price displacement. When the intermediate KDJ replicates the same directional hierarchy as the slow KDJ, structure and movement are aligned.
The fast KDJ is used exclusively as a timing tool, never as a standalone signal generator. This is where the J line reacts first, often emerging from extreme zones and offering the lowest-risk entry point. In the Triple KDJ, the fast layer does not “command” the trade; it simply executes what has already been authorized by the higher levels.
The J line plays a central role in this architecture. In the fast KDJ, it anticipates the change in impulse; in the intermediate KDJ, it confirms the transformation of that impulse into movement; and in the slow KDJ, it determines whether the market accepts or rejects that direction. For this reason, in the Triple KDJ the correct reading is not about line crossovers, but about a consistent hierarchy among J, K, and D across multiple scales.
Triple KDJ - CKThe Triple KDJ is a market-reading architecture based on multiscale confirmation, not a new indicator. It consists of the simultaneous use of three KDJ settings with different parameters to represent three levels of price behavior: short-, medium-, and long-term. The systemic logic is simple and robust: a move is considered tradable only when there is directional coherence across all three layers, which reduces noise, prevents entries against the dominant regime, and stabilizes decision-making.
At the slowest level, the KDJ acts as a structural regime filter. It defines whether the market is, at that moment, permissive for buying, selling, or remaining neutral. When the slow KDJ shows the hierarchy J > K > D, the environment is bullish; when J < K < D occurs, the environment is bearish. If this condition is not clear, any signal on the faster levels should be ignored, as it represents only local fluctuation without directional support.
The intermediate KDJ fulfills the role of continuity confirmation. It checks whether the impulse observed on the short-term level is supported by the developing move. In practical terms, it prevents entries based solely on micro-impulses that fail to evolve into real price displacement. When the intermediate KDJ replicates the same directional hierarchy as the slow KDJ, structure and movement are aligned.
The fast KDJ is used exclusively as a timing tool, never as a standalone signal generator. This is where the J line reacts first, often emerging from extreme zones and offering the lowest-risk entry point. In the Triple KDJ, the fast layer does not “command” the trade; it simply executes what has already been authorized by the higher levels.
The J line plays a central role in this architecture. In the fast KDJ, it anticipates the change in impulse; in the intermediate KDJ, it confirms the transformation of that impulse into movement; and in the slow KDJ, it determines whether the market accepts or rejects that direction. For this reason, in the Triple KDJ the correct reading is not about line crossovers, but about a consistent hierarchy among J, K, and D across multiple scales.
Fair Value Gaps (40+ Points) with NY Session AlertsFVG with alerts. This works for the NY session only.
Previous Close Percentage LevelsInstitutional Previous Close Percentage Levels (Visual).
This indicator plots percentage-based levels calculated from the previous daily close, designed for clean intraday context and Replay analysis.
Features:
• Automatic daily recalculation
• Levels displayed only for the current trading day
• Clear 0% reference line (previous close) without label
• Configurable percentage steps (+ / −)
• Right-side percentage labels
• Visual TOUCH markers (price interaction)
• Visual BREAK markers (confirmed close beyond level)
• Replay-safe logic (no infinite lines)
• Pine Script v6 compatible
This script is focused on visual clarity and price context.
No audible or popup alerts are used — only on-chart visual signals.
Ideal for:
• Intraday bias
• Mean reversion
• Breakout confirmation
• Futures, Forex, Crypto, Stocks
GATS_LibLibrary "GATS_Lib"
GATS 선물/현물 자동매매를 위한 신호 생성 라이브러리
init(password, exchange, ticker, leverage, start_time, end_time)
Parameters:
password (string)
exchange (string)
ticker (string)
leverage (int)
start_time (int)
end_time (int)
method entry_long(bot, id, qty, comment)
Namespace types: Bot
Parameters:
bot (Bot)
id (string)
qty (float)
comment (string)
method entry_short(bot, id, qty, comment)
Namespace types: Bot
Parameters:
bot (Bot)
id (string)
qty (float)
comment (string)
method close(bot, id, comment)
Namespace types: Bot
Parameters:
bot (Bot)
id (string)
comment (string)
method close_all(bot, comment)
Namespace types: Bot
Parameters:
bot (Bot)
comment (string)
Bot
Fields:
password (series string)
exchange (series string)
ticker (series string)
leverage (series int)
start_time (series int)
end_time (series int)
VSA Effort Result v1.0VSA Effort vs Result by StupidRich
Detects volume-spread divergence:
- "Er": High volume, narrow spread (absorption)
- "eR": Low volume, wide spread (momentum)
Features:
• Clean text labels (customizable size)
• Wide vertical lines matching candle range
• Adjustable thresholds & volume SMA
• Works on all timeframes/assets
Perfect for spotting institutional absorption at key levels.
if u wanna buy me a coffee, just dm @stupidrichboy on Telegram
hope it help






















