Motifs graphiques
TradeIQ 3.29 • Smart Market Direction [TH]TradeIQ is designed to guide traders with predictive arrows that highlight potential market peaks and reversal zones. It also provides entry point guidance along with suggested TP/SL zones, giving you a practical framework for trade planning.
✅ Key Features:
• Predictive arrows for possible turning points
• Visual guide for entry opportunities
• Suggested TP/SL zones for trade management
• Works across Forex, Gold, Crypto, and Indices
• Fully customizable to match your trading style
Built from years of trading experience, TradeIQ gives traders a clear visual roadmap to support decision-making — not rigid signals.
👉 Perfect for traders who want guidance, structure, and clarity in the markets.
TradeIQ 3.29 • Smart Market Direction [EN]TradeIQ is designed to guide traders with predictive arrows that highlight potential market peaks and reversal zones. It also provides entry point guidance along with suggested TP/SL zones, giving you a practical framework for trade planning.
✅ Key Features:
• Predictive arrows for possible turning points
• Visual guide for entry opportunities
• Suggested TP/SL zones for trade management
• Works across Forex, Gold, Crypto, and Indices
• Fully customizable to match your trading style
Built from years of trading experience, TradeIQ gives traders a clear visual roadmap to support decision-making — not rigid signals.
👉 Perfect for traders who want guidance, structure, and clarity in the markets.
Current Trade Value DisplayThis indicator gives a large display of the current trade value at the bottom of the screen.
FRXFORTUNE GOLD ADVANCEThis indicator helps traders analyze gold price reaction after economic news releases.
You can manually input the Actual and Forecast values from news data.
Based on the difference, it shows a side box signal:
- If USD is strong → Gold sell signal
- If USD is weak → Gold buy signal
It also provides alerts when strong reactions are detected.
FRXFORTUNE NEWS EXPERTThis indicator helps traders analyze gold price reaction after economic news releases.
You can manually input the Actual and Forecast values from news data.
Based on the difference, it shows a side box signal:
- If USD is strong → Gold sell signal
- If USD is weak → Gold buy signal
It also provides alerts when strong reactions are detected.
NY 4H High/Low Levels — VIPINWhat this script does
This indicator automatically marks the first 4 hours of each New York trading day (00:00–03:59, America/New_York time). It calculates the High and Low of that period and plots them as horizontal levels. The lines extend only until the end of the same New York day. Optionally, you can display the previous N days’ levels for additional context.
Why it is useful
The New York session is one of the most active trading sessions. The first 4 hours often set intraday liquidity pools and reference levels that many traders monitor for breakouts or reversals. This tool helps traders identify and visualize those ranges quickly on the chart.
How it works
• Uses TradingView’s time() function to detect bars within 00:00–03:59 America/New_York.
• Accumulates the highest high and lowest low during that 4-hour window.
• At the end of the window, draws High and Low lines for the current day (extend until that day ends).
• Optionally stores and displays levels from a chosen number of previous days.
• Option to show a shaded box highlighting the 4-hour window.
Settings
• Timezone (default: America/New_York)
• Show 4H Window Box (on/off)
• Line colors, width
• Show previous days’ levels (on/off, with how many days to keep)
How to use
• Best applied on intraday timeframes (1m–1h).
• Use these levels as reference points for your own strategy (e.g., breakout, mean reversion, or confluence with other tools).
• The indicator is a utility tool: it does not generate buy/sell signals by itself.
Notes
This script is original: it is not a mashup of multiple public indicators but a dedicated tool to highlight a specific, well-defined trading session.
It is provided for educational purposes only and is not financial advice.
/MNQ 5m WAVE (Fusion B-L/S)This strategy—built for the Nasdaq-100 micro future (/MNQ) on the 5-minute chart—combines a simple momentum trigger with a set of context filters and layered exits. The core entry uses a fast/slow EMA crossover (5 vs. 13) and only fires when volatility is adequate, trend/participation are aligned, and price sits at a tradable distance from VWAP. Signals are executed strictly on bar close (no intrabar execution), which avoids repainting and keeps backtests consistent with live behavior at bar close.
imgur.com i.imgur.com i.imgur.com
Volatility filtering relies on ATR (smoothed true range). You can toggle it globally and per side (long/short) and set an absolute threshold in points. If the market is below the threshold, new entries are inhibited; above it, entries are allowed. Because the threshold is in points, you should calibrate it to the symbol and timeframe (defaults are tuned for /MNQ 5m).
Trend and impulse are checked via a Weinstein-style block: a mid-term SMA and its slope, plus a volume condition. Longs require closes above the SMA with non-negative slope; shorts require closes below the SMA with non-positive slope. Additionally, current volume must exceed the prior bar and a short SMA of volume. This aims to separate genuine breakouts with participation from low-quality pokes.
Relative location uses a smoothed VWAP (separate smoothing for longs and shorts). Longs must trade above VWAP and within a configurable proximity window (e.g., ≤1.1%); shorts must be below VWAP and within their own proximity (e.g., ≤0.3%). This favors buying strength near an institutional reference and selling weakness near value, discouraging stretched entries with poor signal-to-noise.
The entry trigger, once all filters agree, is the EMA cross—up for longs, down for shorts. You can restrict the strategy to “Both,” “Longs Only,” or “Shorts Only.” Orders are placed at the close of the confirming bar, with fixed size by default and configurable commissions/margins in the strategy properties.
Exits combine three layers: (1) a fixed percentage stop loss from average entry; (2) a fixed percentage take profit; and (3) a trailing stop that activates only after a minimum favorable excursion and then follows the highest high/lowest low with a configurable distance behind. Trailing lines are drawn as step lines, and the area between entry and the active trailing is shaded, making risk protection and give-back immediately visible.
Optionally, you can enable an automatic “bars in trade” close (useful for fast rotation/stop-hunt styles). When enabled, the position closes once the bar count since entry exceeds a user-defined maximum. A floating label displays the live bar count versus the cap, with distinct styling for longs and shorts.
Execution is wired for automation. Each entry/exit emits a structured JSON payload via TradingView’s alert_message (ideal for “order fill” endpoints such as /signal), including OHLCV and informational metrics (ATR and ADX). Additionally, the strategy can issue a parallel alert() with a compact “advice” payload (toggle “Enable alert() pushes to /advice”). This separation lets the same event feed both execution and a validation/notification layer.
Visually, the script plots the working EMAs, the Weinstein SMAs, smoothed VWAPs, and the trailing lines per side, and it marks crosses with clear icons. The entry price is highlighted, and the fill between entry and trailing is colored (green/red) to show whether profits are being locked in or risk is increasing—so trade management is readable at a glance.
Key parameters exposed: EMA lengths per side; Weinstein block periods and thresholds (slope and volume); VWAP smoothing and per-side proximity; SL/TP percentages and trailing configuration (start and behind distance); ATR lengths and thresholds per side; trade direction selector; and the bars-auto-close module with its on-chart counter. Defaults are reasonable for /MNQ on 5m but are meant to be tuned to your instrument’s volatility and session microstructure.
Operating philosophy: enter less but better—on breakouts with bias and participation—preferably not too far from VWAP; then manage exits in layers that protect gains without choking extended moves. Asymmetry between long and short proximity/targets reflects the typically sharper nature of declines versus advances and can be tailored to your data.
Limitations and guidance: the ATR threshold is absolute (points), so it is not portable without calibration; ensure VWAP proximity windows fit your intraday seasonality and the session you trade (RTH/ETH). While the system is close-of-bar and non-repainting, results may vary with data feeds or session settings. Always validate in paper first; no strategy guarantees outcomes.
Disclaimer: for educational and informational purposes only. Not financial advice. Derivatives and leveraged products carry substantial risk, including the possibility of total loss. Tune parameters and automations at your own risk.
Consolidated 9-Indicator Buy/Sell Zones & TriggersALL important inductors combined for long term position holders and short term guys...use it to enter trade and exit ...backgroud colour will give you the indication of the market mood..
SMC + FVG + EMA + TrendlinesSMC + FVG + EMA + Trendlines legRange = math.abs(structureHigh - structureLow) // <-- เปลี่ยนชื่อจาก range -> legRange
if showCurrentStruct and not na(structureHigh) and not na(structureLow)
if na(curHighLine) == false
line.delete(curHighLine)
if na(curLowLine) == false
line.delete(curLowLine)
curHighLine := line.new(sHighIdx, structureHigh, bar_index, structureHigh, xloc.bar_index, color=currentStructColor, style=currentStructStyle, width=currentStructWidth)
curLowLine := line.new(sLowIdx, structureLow, bar_index, structureLow, xloc.bar_index, color=currentStructColor, style=currentStructStyle, width=currentStructWidth)
// ---------- Fibonacci on current leg ----------
if showFibo and legRange > 0
for k = 0 to array.size(fLevels) - 1
lvl = array.get(fLevels, k)
price = sDir == 1 ? structureHigh - (legRange - legRange * lvl)
: structureLow + (legRange - legRange * lvl)
l = line.new(sDir == 1 ? sHighIdx : sLowIdx, price, bar_index, price, xloc.bar_index, color=fiboColorMain, style=fiboStyle, width=fiboWidth)
label.new(bar_index + 10, price, str.tostring(lvl) + " (" + str.tostring(price) + ")", style=label.style_none, textcolor=fiboColorMain)
swapstrategy-Reversal StrategyGenerate buy and sell signals and reverses position when chart turn buy or sell side
Sri - Custom RSI Candle/Heikinashi Colors on MTFSri - Custom RSI Candle/Heikinashi Colors (TF RSI + EMA50 + Daily Trend Marker)
Short title: Sri - RSI EMA TF
Version: Pine Script v5
Overlay: Yes
Overview
This script enhances the standard RSI indicator by combining multiple features to visually represent market momentum and trend strength on both custom and daily timeframes. It recolors candlesticks or draws custom candles based on RSI levels relative to its EMA, offering a clear, intuitive way to identify trend direction and overbought/oversold conditions.
Key benefits include:
Multi-timeframe RSI & EMA analysis.
Optional Heikin Ashi or normal price source for RSI calculation.
Custom candle coloring for immediate visual insights.
Daily trend markers for longer-term trend context.
Features
Custom Timeframe RSI + EMA50
Calculate RSI on any user-selected timeframe (default: 5 min).
Apply a 50-period EMA on the RSI to identify trend direction.
Visual differentiation based on RSI relative to EMA:
Uptrend: RSI > EMA and above 50 → Blue candles
Downtrend: RSI < EMA and below 50 → Yellow candles
Conflict zones: RSI and EMA in opposite directions → Red or Green borders
Daily Trend Marker
Plots a tiny circle below each candle showing the daily RSI trend for additional context.
Helps align short-term trades with longer-term market direction.
Candle Visualization Options
Recolor built-in bars (default)
Custom candles with transparent bodies + colored borders
Overbought (RSI ≥ 70) → Dark Green
Oversold (RSI ≤ 30) → Orange
Heikin Ashi Support
Users can choose between Normal or Heikin Ashi candle prices as the RSI source.
Provides a smoother view of trends when using Heikin Ashi.
Transparency for Neutral Zones
Neutral or sideways RSI conditions are represented by transparent candles, reducing visual clutter.
Inputs
Input Description
Custom RSI Timeframe Select timeframe for RSI calculation (default: 5 min)
RSI Length Period for RSI calculation (default: 14)
EMA Length EMA period applied on RSI (default: 50)
Use custom candles True → draws custom candles with colored borders; False → recolors default bars
Price Source for RSI "Normal" or "Heikin Ashi"
Color Scheme
Condition Body Color Border Color
RSI ≥ 70 (Overbought) Dark Green Dark Green
RSI ≤ 30 (Oversold) Orange Orange
RSI ≥ 50 and RSI ≥ EMA Blue Blue
RSI < 50 and RSI ≤ EMA Yellow Yellow
RSI < 50 and RSI ≥ EMA Transparent Red (Conflict)
RSI ≥ 50 and RSI ≤ EMA Transparent Green (Conflict)
How to Use
Add the script to your chart.
Choose whether to use custom candles or recolor standard bars.
Set your preferred RSI timeframe and EMA length.
Optional: Switch between Normal or Heikin Ashi as the RSI source.
Observe candle colors and daily circles for trend alignment:
Green/Blue → Uptrend
Red/Yellow → Downtrend
Transparent → Neutral/conflict zones
Trading Insights
Candle colors quickly indicate short-term momentum relative to RSI and EMA.
Daily trend markers allow alignment of short-term trades with broader market context.
Conflict zones (transparent bodies with red/green borders) highlight caution areas where trend direction may be ambiguous.
Combining multiple timeframes (custom + daily) increases the accuracy of trend-based decision-making.
Notes
Works best when combined with other indicators (volume, support/resistance) for confirmation.
Ideal for scalping, intraday, or swing trading strategies.
Compatible with most symbols and timeframes supported by TradingView.
MultiPrem+Detailed Description of MultiPrem+
MultiPrem+ is a versatile TradingView Pine Script indicator designed to enhance the analysis of multi-leg option strategies by calculating and visualizing the combined premium of various predefined option setups. It allows users to select from a comprehensive list of popular option strategies, such as Short Straddle, Iron Condor, Butterfly Call, and more, and dynamically computes the net premium, Greeks (Delta and Theta), volume, and other key metrics for the selected strategy. The indicator overlays these calculations on the chart, providing real-time insights into the potential profitability and risk of the strategy based on the underlying asset's price movement.
The core functionality revolves around fetching data for up to four option legs (e.g., calls and puts at different strikes) using TradingView's `request.security` function. It supports indices like NIFTY, BANKNIFTY, and SENSEX, with customizable ATM strike levels, strike width multipliers, and expiry dates. The script calculates the combined premium by summing the premiums of each leg, adjusted for position direction (long or short), and displays the results in a compact table on the chart. It also includes technical indicator overlays (e.g., SMA, RSI, MACD) to contextualize the strategy within market trends, and generates alerts with strategy metrics for automated notifications.
The indicator is particularly suited for option traders who want to monitor strategy performance without manual calculations, offering a blend of quantitative metrics and visual feedback. It operates on any timeframe but is optimized for intraday or short-term trading, where option premiums fluctuate rapidly.
### Unique Features
MultiPrem+ stands out from standard option analysis tools on TradingView due to several innovative features:
1. **Dynamic Multi-Leg Strategy Support**: Unlike basic option chain indicators that focus on single legs or simple spreads, MultiPrem+ supports a wide range of advanced multi-leg strategies (e.g., Iron Condor Wide, Reverse Iron Condor, Butterfly Call/Put). It automatically configures strike prices, directions, and approximate Greeks based on the selected strategy, saving time and reducing errors in setup.
2. **Combined Premium Visualization**: The indicator plots the net premium as a line on the chart, colored based on whether it's a credit or debit strategy and its relation to a selected technical indicator (e.g., green if below SMA for potential buys). This unique visualization helps traders see how the strategy's value evolves over time, providing an at-a-glance view of profitability.
3. **Integrated Greeks Calculation**: It computes net Delta (directional risk) and net Theta (time decay) for the entire strategy, factoring in leg directions. For credit strategies like Short Straddle, Theta is positive to reflect time decay benefits, a nuance not commonly found in free indicators.
4. **Strategy Suggestion Engine**: Based on RSI and net Theta, it suggests alternative strategies (e.g., "Bear Put Spread" if RSI is overbought). This AI-like recommendation system is unique, helping novices or busy traders pivot quickly to more suitable setups.
5. **Customizable Alerts**: The script generates JSON-formatted alerts with key metrics (premium, net Delta, net Theta, etc.), which can be integrated with TradingView's alert system or external tools for automated trading signals.
6. **Compact Table Display**: A dynamic table shows leg-specific details (Type, Strike, Position, Premium, Qty, Delta, Theta, Volume) without cluttering the chart. It's positionable and sized for usability.
### How a User Can Gain Valuable Analysis from It
MultiPrem+ empowers users to conduct sophisticated option strategy analysis, offering insights that can improve decision-making and risk management. Here's how users can leverage it for valuable outcomes:
1. **Strategy Evaluation and Selection**: Traders can quickly test different strategies by changing the selection and ATM strike. For instance, in a sideways market, selecting "Short Straddle" shows the net credit and positive Theta, highlighting potential profits from time decay. The suggestion engine further aids by recommending alternatives if current conditions (e.g., high RSI) suggest a mismatch, helping users optimize for market volatility or direction.
2. **Risk Assessment with Greeks**: Net Delta indicates directional bias (e.g., near zero for delta-neutral strategies like Iron Condor), allowing users to hedge against price moves. Net Theta quantifies daily time decay, crucial for theta-positive strategies—users can analyze how much profit they might gain per day if the underlying asset stays range-bound. This is especially valuable for income-focused traders.
3. **Premium and Volume Monitoring**: By plotting combined premium, users can track strategy value in real-time, identifying entry/exit points when premium crosses a moving average (e.g., buy when below EMA). Volume data per leg helps gauge liquidity, avoiding low-volume options that could lead to poor fills.
4. **Integration with Technical Indicators**: Overlaying strategies on RSI or MACD enables hybrid analysis. For example, a user might enter a Bull Call Spread when RSI is oversold, using the indicator's plot to visualize potential premium gains alongside RSI crossovers.
5. **Alert-Driven Trading**: Custom alerts notify users of premium changes or suggested strategy shifts, enabling hands-off monitoring. This is useful for busy traders, who can set notifications for when net Theta exceeds a threshold, signaling favorable decay conditions.
6. **Educational and Backtesting Tool**: Beginners can experiment with strategies to understand how strikes and widths affect outcomes. Advanced users can backtest by replaying historical data, analyzing how strategies performed in past markets.
Overall, MultiPrem+ transforms option trading from manual spreadsheet work into an interactive, visual experience, helping users spot opportunities, manage risks, and optimize returns with data-driven insights. For best results, combine it with external option pricing tools for precise Greeks, as the script uses approximate values.
Updated timestamp for alerts: `2025-09-06 13:50:00` (1:50 PM IST, September 06, 2025).
3-Candle Swing Highs & Lows//@version=5
indicator("3-Candle Swing Highs & Lows", overlay=true, max_lines_count=1000)
// Inputs
highColor = input.color(color.red, "Swing High (Unbroken)")
highBreachCol = input.color(color.green, "Swing High (Breached)")
lowColor = input.color(color.blue, "Swing Low (Unbroken)")
lowBreachCol = input.color(color.orange, "Swing Low (Breached)")
// Arrays for storing lines and prices
var line highLines = array.new_line()
var float highPrices = array.new_float()
var line lowLines = array.new_line()
var float lowPrices = array.new_float()
// --- Swing High condition ---
// We check candle (the middle one) against candle and candle
isSwingHigh = high > high and high > high
// --- Swing Low condition ---
isSwingLow = low < low and low < low
// If swing high found (confirmed after bar closes)
if isSwingHigh
newHigh = line.new(bar_index - 1, high , bar_index, high , extend=extend.right, color=highColor, width=2)
array.push(highLines, newHigh)
array.push(highPrices, high )
// If swing low found (confirmed after bar closes)
if isSwingLow
newLow = line.new(bar_index - 1, low , bar_index, low , extend=extend.right, color=lowColor, width=2)
array.push(lowLines, newLow)
array.push(lowPrices, low )
// Update line colours for swing highs
for i = 0 to array.size(highLines) - 1
ln = array.get(highLines, i)
lvl = array.get(highPrices, i)
if close > lvl
line.set_color(ln, highBreachCol)
else
line.set_color(ln, highColor)
// Update line colours for swing lows
for i = 0 to array.size(lowLines) - 1
ln = array.get(lowLines, i)
lvl = array.get(lowPrices, i)
if close < lvl
line.set_color(ln, lowBreachCol)
else
line.set_color(ln, lowColor)
Marubozu Detector with Dynamic SL/TP
Strategy Overview:
This indicator detects a "Marubozu" bullish pattern or a “Marubozu” bearish pattern to suggest potential buy and sell opportunities. It uses dynamic Stop Loss (SL) and Take Profit (TP) management, based on either market volatility (ATR) or liquidity zones.
This tool is intended for educational and informational purposes only.
Key Features:
Entry: Based on detecting Marubozu bullish or bearish candle pattern.
Exit: Targets are managed through ATR multiples or previous liquidity levels (swing highs or swing lows).
Smart Liquidity: Optionally identify deeper liquidity targets.
Full Alerts: Buy and Sell signals supported with customizable alerts.
Visualized Trades: Entry, SL, and TP levels are plotted on the chart.
User Inputs:
ATR Length, ATR Multipliers
Take Profit Mode (Liquidity/ATR)
Swing Lookback and Strength
Toggleable Buy/Sell alerts
All Time Frames
📖 How to Use:
Add the Indicator:
Apply the script to your chart from the TradingView indicators panel.
Look for Buy Signals:
A buy signal is triggered when the script detects a "Marubozu" bullish pattern.
Entry, Stop Loss, and Take Profit levels are plotted automatically.
Look for Sell Signals:
A Sell signal is triggered when the script detects a "Marubozu" bearish pattern.
Entry, Stop Loss, and Take Profit levels are plotted automatically.
Choose Take Profit Mode:
ATR Mode: TP is based on a volatility target.
Liquidity Mode: TP is based on past swing highs.
Set Alerts (Optional):
Enable Buy/Sell alerts in the settings to receive real-time notifications.
Practice First:
Always backtest and paper trade before live use.
📜 Disclaimer:
This script does not offer financial advice.
No guarantees of profit or performance are made.
Use in demo accounts or backtesting first.
Always practice proper risk management and seek advice from licensed professionals if needed.
✅ Script Compliance:
This script is designed in full accordance with TradingView’s House Rules for educational tools.
No financial advice is provided, no performance is guaranteed, and users are encouraged to backtest thoroughly.
Multi-Leg Option Combined PremiumMulti-Leg Option Combined Premium Indicator
Overview
The Multi-Leg Option Combined Premium Indicator is a powerful and versatile tool designed for options traders to analyze and visualize multi-leg option strategies on Indian indices (NIFTY, BANKNIFTY, SENSEX). This TradingView Pine Script (v6) indicator calculates the combined premium of up to four option legs, displays the strategy in a customizable table, and overlays user-selected technical indicators (e.g., SMA, RSI, MACD) to aid in decision-making. Whether you're trading straddles, strangles, or complex strategies like Iron Condors, this indicator streamlines premium tracking and trend analysis, making it ideal for both novice and experienced traders.
Key Features
Multi-Leg Strategy Support:
Choose from 19 predefined option strategies, including Long Straddle, Short Strangle, Iron Condor, Bull Call Spread, and more, or create a custom strategy with up to four legs.
Configure each leg with specific expiry dates, strike prices, option types (Call/Put), and positions (Long/Short) with adjustable quantities.
Automatically calculates the combined premium, accounting for the direction (long/short) and quantity of each leg.
Index-Specific Customization:
Supports three major Indian indices: NIFTY, BANKNIFTY, and SENSEX.
Index-specific expiry dates:
NIFTY: Weekly (Tuesdays) and monthly (last Tuesday) expiries (e.g., 09-Sep-2025 to 04-Nov-2025).
BANKNIFTY: Monthly (last Wednesday) expiries (e.g., 25-Sep-2025 to 29-May-2026).
SENSEX: Weekly (Fridays) and monthly (last Friday) expiries (e.g., 11-Sep-2025 to 06-Nov-2025).
Adjustable ATM strike levels and strike width multipliers for precise strategy setup.
Technical Indicator Overlay:
Overlay one of 10 popular technical indicators on the combined premium chart: SMA, EMA, RSI, MACD, Bollinger Bands, ATR, Stochastic, Williams %R, CCI, or ADX.
Customize indicator parameters (e.g., RSI length, MACD fast/slow lengths) to align with your trading style.
Visual cues: Combined premium is color-coded (red/green/blue for credits, red/green/orange for debits) based on its position relative to the selected indicator.
Dynamic Table Display:
Displays a detailed table summarizing the strategy, including:
Instrument (NIFTY/BSX), expiry, option type, strike, position, premium, and quantity per leg.
Net position (Credit/Debit) and total combined premium.
Customizable table size (tiny, small, normal) and position (e.g., top-right, bottom-left).
Option to toggle P&L info (quantity column) for clarity.
Alert Integration:
Built-in alert functionality to log strategy details (timestamp, index, strategy, premium, indicator value, credit/debit status) to external services like Google Sheets via webhooks.
Example: Trigger alerts at specific times (e.g., 9:30 AM on 05-Sep-2025) or on new bars for real-time tracking.
Visual Feedback:
Plots the combined premium with dynamic coloring to reflect market conditions.
Indicator-specific visuals (e.g., Bollinger Bands upper/lower lines, RSI overbought/oversold levels, MACD signal line).
Background coloring to indicate net credit (blue) or debit (orange) strategies.
How It Works
Select an Index: Choose NIFTY, BANKNIFTY, or SENSEX to load index-specific prefixes (NSE:/BSE:) and expiry dates.
Choose a Strategy: Select a predefined strategy (e.g., Long Straddle, Iron Condor) or configure a custom strategy with up to four legs.
Set Parameters: Adjust ATM strike, strike width multiplier, and expiry dates. For custom strategies, specify each leg’s expiry, type, strike, position, and quantity.
Apply Technical Indicators: Pick an indicator (e.g., RSI, MACD) and customize its settings to analyze the combined premium’s trend.
View Results: The indicator calculates the combined premium, displays it in a table, and plots it with the selected indicator. Alerts can send data to external services for logging.
Analyze and Trade: Use the premium plot and indicator signals to make informed trading decisions, with the table providing a clear overview of your strategy.
Benefits
Time-Saving: Automates premium calculations for complex multi-leg strategies, reducing manual effort.
Flexible: Supports a wide range of strategies and indices, with customizable inputs for tailored analysis.
Visual Clarity: Combines premium data with technical indicators in an easy-to-read chart and table format.
Actionable Insights: Color-coded plots and alerts help traders identify trends and track performance.
External Logging: Seamlessly integrates with webhooks for real-time data logging to tools like Google Sheets.
Usage Instructions
Add to Chart: Apply the indicator to a TradingView chart for NIFTY, BANKNIFTY, or SENSEX.
Configure Inputs:
Select the index and strategy from the dropdowns.
Adjust ATM strike, strike width, and expiry dates as needed.
Choose a technical indicator and tweak its parameters.
Set table preferences (size, position, P&L info).
Set Up Alerts (Optional):
Create a TradingView alert with a webhook URL pointing to a service like Pabbly Connect or Zapier.
Use the alert’s JSON output to log data to Google Sheets (e.g., timestamp, strategy, premium).
Interpret Results:
Monitor the premium plot (colored based on trend relative to the indicator).
Review the table for leg details and net position.
Use alerts to track strategy performance externally.
Ideal For
Options Traders: Perfect for traders focusing on Indian indices, seeking to analyze multi-leg strategies like straddles, spreads, or condors.
Technical Analysts: Combines option premiums with technical indicators for trend-based trading decisions.
Portfolio Managers: Useful for tracking premium changes and logging performance for later analysis.
Notes
Data Requirements: Ensure your TradingView account has access to real-time data for NIFTY, BANKNIFTY, or SENSEX options. Invalid symbols may return na values.
Alerts: Webhook setup requires a third-party service (e.g., Pabbly Connect, Zapier) to log data to Google Sheets. Refer to the included guide for setup details.
Performance: Best used on timeframes aligned with option expiries (e.g., daily or intraday).
Disclaimer: This indicator is for educational purposes only and does not constitute financial advice. Always conduct your own analysis before trading.
Support
For setup assistance, bug reports, or feature requests, contact the developer via . Premium subscribers receive priority support and access to exclusive features like webhook setup guides.
sHip Crypto Buy/Sell Pro BTC 15minThis is a 15min BTC buy sell indicator that is made by Ai. Have not tested yet but you can give it a go if you want.
LFT strategy Main Reversion
this script will tell exactly when to buy and sell with TP and SL, used the latest LLM to tone the model with a profit ratio of 2.05 in 6 years and profit ratio of 4.02 in past 6 month and have been back tested with Monte Carlo simulation, with profit ratio 1+ for 99% of the time with 1000 iterations with 500 steps, for 100 times
please contact LFT Foundation for access
Hilly's Advanced Crypto Scalping Strategy - 5 Min ChartTo determine the "best" input parameters for the Advanced Crypto Scalping Strategy on a 5-minute chart, we need to consider the goals of optimizing for profitability, minimizing false signals, and adapting to the volatile nature of cryptocurrencies. The default parameters in the script are a starting point, but the optimal values depend on the specific cryptocurrency pair, market conditions, and your risk tolerance. Below, I'll provide recommended input values based on common practices in crypto scalping, along with reasoning for each parameter. I’ll also suggest how to fine-tune them using TradingView’s backtesting and optimization tools.
Recommended Input Parameters
These values are tailored for a 5-minute chart for liquid cryptocurrencies like BTC/USD or ETH/USD on exchanges like Binance or Coinbase. They aim to balance signal frequency and accuracy for day trading.
Fast EMA Length (emaFastLen): 9
Reasoning: A 9-period EMA is commonly used in scalping to capture short-term price movements while remaining sensitive to recent price action. It reacts faster than the default 10, aligning with the 5-minute timeframe.
Slow EMA Length (emaSlowLen): 21
Reasoning: A 21-period EMA provides a good balance for identifying the broader trend on a 5-minute chart. It’s slightly longer than the default 20 to reduce noise while confirming the trend direction.
RSI Length (rsiLen): 14
Reasoning: The default 14-period RSI is a standard choice for momentum analysis. It works well for detecting overbought/oversold conditions without being too sensitive on short timeframes.
RSI Overbought (rsiOverbought): 75
Reasoning: Raising the overbought threshold to 75 (from 70) reduces false sell signals in strong bullish trends, which are common in crypto markets.
RSI Oversold (rsiOversold): 25
Reasoning: Lowering the oversold threshold to 25 (from 30) filters out weaker buy signals, ensuring entries occur during stronger reversals.
MACD Fast Length (macdFast): 12
Reasoning: The default 12-period fast EMA for MACD is effective for capturing short-term momentum shifts in crypto, aligning with scalping goals.
MACD Slow Length (macdSlow): 26
Reasoning: The default 26-period slow EMA is a standard setting that works well for confirming momentum trends without lagging too much.
MACD Signal Smoothing (macdSignal): 9
Reasoning: The default 9-period signal line is widely used and provides a good balance for smoothing MACD crossovers on a 5-minute chart.
Bollinger Bands Length (bbLen): 20
Reasoning: The default 20-period Bollinger Bands are effective for identifying volatility breakouts, which are key for scalping in crypto markets.
Bollinger Bands Multiplier (bbMult): 2.0
Reasoning: A 2.0 multiplier is standard and captures most price action within the bands. Increasing it to 2.5 could reduce signals but improve accuracy in highly volatile markets.
Stop Loss % (slPerc): 0.8%
Reasoning: A tighter stop loss of 0.8% (from 1.0%) suits the high volatility of crypto, helping to limit losses on false breakouts while keeping risk manageable.
Take Profit % (tpPerc): 1.5%
Reasoning: A 1.5% take-profit target (from 2.0%) aligns with scalping’s goal of capturing small, frequent gains. Crypto markets often see quick reversals, so a smaller target increases the likelihood of hitting profits.
Use Candlestick Patterns (useCandlePatterns): True
Reasoning: Enabling candlestick patterns (e.g., engulfing, hammer) adds confirmation to signals, reducing false entries in choppy markets.
Use Volume Filter (useVolumeFilter): True
Reasoning: The volume filter ensures signals occur during high-volume breakouts, which are more likely to sustain in crypto markets.
Signal Arrow Size (signalSize): 2.0
Reasoning: Increasing the arrow size to 2.0 (from 1.5) makes buy/sell signals more visible on the chart, especially on smaller screens or volatile price action.
Background Highlight Transparency (bgTransparency): 85
Reasoning: A slightly higher transparency (85 from 80) keeps the background highlights subtle but visible, avoiding chart clutter.
How to Apply These Parameters
Copy the Script: Use the Pine Script provided in the previous response.
Paste in TradingView: Open TradingView, go to the Pine Editor, paste the code, and click "Add to Chart."
Set Parameters: In the strategy settings, manually input the recommended values above or adjust them via the input fields.
Test on a 5-Minute Chart: Apply the strategy to a liquid crypto pair (e.g., BTC/USDT, ETH/USDT) on a 5-minute chart.
Fine-Tuning for Optimal Performance
To find the absolute best parameters for your specific trading pair and market conditions, use TradingView’s Strategy Tester and optimization features:
Backtesting:
Run the strategy on historical data for your chosen pair (e.g., BTC/USDT on Binance).
Check metrics like Net Profit, Profit Factor, Win Rate, and Max Drawdown in the Strategy Tester.
Focus on a sample period of at least 1–3 months to capture various market conditions (bull, bear, sideways).
Parameter Optimization:
In the Strategy Tester, click the settings gear next to the strategy name.
Enable optimization for key inputs like emaFastLen (test range: 7–12), emaSlowLen (15–25), slPerc (0.5–1.5), and tpPerc (1.0–3.0).
Run the optimization to find the combination with the highest net profit or best Sharpe ratio, but avoid over-optimization (curve-fitting) by testing on out-of-sample data.
Market-Specific Adjustments:
Volatile Pairs (e.g., DOGE/USDT): Use tighter stop losses (e.g., 0.5–0.7%) and smaller take-profit targets (e.g., 1.0–1.2%) to account for rapid price swings.
Stable Pairs (e.g., BTC/USDT): Slightly wider stop losses (e.g., 1.0–1.2%) and take-profit targets (e.g., 1.8–2.5%) may work better.
Trending Markets: Increase emaSlowLen (e.g., to 25–30) to follow stronger trends.
Choppy Markets: Tighten bbMult (e.g., to 1.8) and lower rsiOverbought/rsiOversold (e.g., to 70/30) to filter noise.
Forward Testing:
After backtesting, run the strategy in real-time on a demo account for 1–2 weeks to validate performance under current market conditions.
Important Notes
No Universal "Best" Numbers: Optimal parameters vary by crypto pair, exchange, and market conditions (e.g., bull vs. bear market). The suggested values are a starting point based on common scalping practices.
Risk Management: Never risk more than 1–2% of your account per trade. Adjust position sizing in TradingView’s strategy settings to align with your risk tolerance.
Market Volatility: Crypto markets are highly volatile. Test the strategy on your specific pair and adjust parameters if signals are too frequent or too rare.
Not Financial Advice: This is an educational tool. Backtest thoroughly and use a demo account before trading with real funds.
If you want me to generate a chart showing backtest performance for specific parameters or to tweak the script further (e.g., adding more indicators or adjusting signal logic), let me know!can you add clear buy ans sell signs above the candles in this codeTo add clear buy and sell signals above the candles in the provided Pine Script, I'll modify the existing code to include prominent text labels directly above (for sell signals) and below (for buy signals) the candles. These labels will be larger, color-coded, and positioned to avoid clutter, ensuring they are easily visible on the chart. The core strategy logic (EMA, RSI, MACD, Bollinger Bands, candlestick patterns, and volume filter) will remain unchanged, and I'll reuse the same artifact_id since this is an update to the previous script.AdvancedCryptoScalpingStrategy.pinex-pine