Anti-Volume Stop Loss multi timeframe [LM]Hello Traders,
I would like to introduce you fork of popular indicator Anti-Volume Stop Loss created by Buff Dormeier and cracked here on tradingview by @Rafka so shout out to him. I have tried to crack it myself as well as I'm big fan of Dormeier's work but it's not easy so really big thanks to Rafka
I have refactored original script and have included multi timeframe setting.
As its shown below you can select higher timeframe to track lower one:
Enjoy!
Search in scripts for "stop loss"
Bitlinc MARSI Study AST w/ Take Profit & Stop loss - beta 0.1This script is beta 0.1 - will update as soon as the script is tradable
This script is based on AST on a 10 minute timeframe. You can change the asset and the timeframe for any asset you want to trade, but for it to work correct ALL settings have to be testes in the Strategy section of the TradingView. Each assets and timeframe require a different mixture of settings. This is NOT a one settings fits all trading for all assets on any timeframe. Below are the settings and explanation on how it works.
How it fires a buy / sell:
The script will plot an RSI with upper and lower bands in a separate indicator window. The idea behind this script is to fire a LONG when MA crosses OVER lower band and fire a SHORT when the MA crosses under the lower band. Each order that fires is an OCO (Order Cancels Order) for pyramiding.
Settings:
You have full control of these settings as mentioned above, you must configure every part of this script for each asset and timeframe you trade.
- Length of MA
- Length
- Upper bands of RSI
- Lower bands of RSI
- Take profit percentage
- Stop loss percentage
- Month to start and end the strategy (within 2020)
- Day to start and end the strategy (within 2020)
- Quantity type
- Slippage
- Pyramiding
***Remember that after the signal to enter or exit a trade is fired, the alert will trigger AFTER the close of the candle that caused the tigger to fire
ATR Stop Loss LONG/SHORT by melihgulerYou can monitor the stop loss level according to ATR in 2 ways (Long/Short).
RSI + EMA+ MTF Stop-LossThis is a simple RSI with multiple MTF (No security) to help with direction short and long-term.
The rsi for the current chart has a noise reduction, while the rest are based on ma's.
I have supplied an extra flexible mtf rsi ma for potential adjustable/long-term stop-loss or direction identification.
Enjoy
RSI Stop LossExperiment for using RSI as a stop loss value, shows where the price will be when the RSI increases or decreases by a specified amount.
poki buy and sell Take profit and stop lossThis indicator is based on modelius model of lazy bear weis model with ATR for the buy=B sell =S
in addition there is Take profit and stop loss in % both for short and for long
next stage is to know the resistance level and support based on bollinger marked in blue and red dots
Also included Parabolic Sar (blue and red dots rising up or down)
The color of bulish or bearish zone is based on the cross of Hull avreage and linear regression ( for each time set may need different setting for accuracy )
So how to use this scrupt to better profit
1. if you have B signal and its on lower support level then its good starting place for buy. look at the Parabolic Sar if its in agreement. The exit can be either by S =sell, Take profit that you decide on % or by end of Parabolic SAR upward
2. exact the oposite for short
Play with setting for the desired results or change modify this script for your purpose
Pivot Stop LossHere we intend to use pivot points for stop loss and take profit. This has the added benefit of helping you to visualize support and resistance levels.
Hull modelius take profit and stop lossThis model has Hull moving average, fibs in form of Bollinger ,SMA and Modelius model with ATR for buy and sell power based on weis volume. Inside alerts for buy and sell. take profit and stop loss for both longs and shorts
so have fun
SL + TP Dynamics - By M.LolasStop Loss e Take Profit dinâmicos para operações semiautomatizadas.
By M.Lolas
STOP-LOSS-RSI with Edge-Preserving Filter Strategy V2Modified RSI strategy with entry and exit points.
I have allowed for High and Low risk for anyone interested in using it (NO GUARANTEES. DO YOUR OWN RESEARCH).
I will later consider incorporating the standard RSI for exit points. I am sure returns will increase based on current test runs :)
Returns look good based on the strategy result.
Volume Profile DeltaMap [MHA Finverse]Volume Profile DeltaMap with Session Analysis
SHORT DESCRIPTION (for listing)
Advanced Volume Profile indicator with Delta Analysis, Value Area, Volume Nodes, Imbalance Zones, and Multi-Session Profiles. Professional tool for institutional-style volume analysis and market structure understanding.
---
DETAILED DESCRIPTION
📊 OVERVIEW
The Volume Profile DeltaMap is a comprehensive institutional-grade indicator that visualizes volume distribution across price levels, revealing where the most significant trading activity occurred. Unlike traditional indicators that plot data over time, Volume Profile analyzes price levels to identify key support/resistance zones, equilibrium areas, and buyer/seller dominance.
This indicator combines multiple advanced features:
- Volume Profile Analysis with customizable bins
- Delta Heat Map showing buyer vs seller pressure
- Value Area (VAH/VAL) calculations
- High/Low Volume Node Detection
- Imbalance Zone Identification
- Multi-Session Profile Separation (Tokyo, London, NY, Sydney)
- Point of Control (POC) highlighting
---
🎯 KEY FEATURES
1. Volume Profile Core
- Divides price range into customizable bins (10-100 levels)
- Accumulates volume at each price level over a lookback period
- Displays volume distribution horizontally on the chart
- Configurable lookback period (default: 200 bars)
2. Delta Analysis & Heat Map
- Delta (Δ) : Measures the difference between buying and selling pressure
- Color-coded visualization :
- Green/Teal = Buyer dominance
- Red/Pink = Seller dominance
- Heat map intensity : Shows volume concentration with gradient colors
- Percentage labels : Displays exact buyer/seller ratios at each level
3. Point of Control (POC)
- Automatically identifies the price level with maximum volume
- Marked with cyan border and volume label
- Acts as a strong magnetic level where price tends to return
- Often serves as major support/resistance
4. Value Area (VAH/VAL)
- Value Area : Price range containing 70% of total volume (configurable 50-90%)
- VAH (Value Area High) : Upper boundary - resistance level
- VAL (Value Area Low) : Lower boundary - support level
- Displayed with dashed lines and labels
- Represents fair value zone where institutional traders are most active
5. Volume Nodes
- HVN (High Volume Nodes) : Areas with ≥80% of maximum volume
- Highlighted in yellow/amber
- Strong support/resistance zones
- Price tends to consolidate here
- LVN (Low Volume Nodes) : Areas with ≤30% of maximum volume
- Highlighted in orange
- Low liquidity gaps
- Price moves quickly through these zones
- Potential breakout areas
6. Imbalance Zones
- Identifies areas with extreme directional bias (≥70% threshold)
- Buy Imbalance : Green overlay - exhaustion of buying pressure
- Sell Imbalance : Red overlay - exhaustion of selling pressure
- Indicates potential reversal or continuation zones
7. Session-Based Analysis
- Session Background Overlay : Color-codes current trading session
- Separate Session Profiles : Creates individual volume profiles for:
- 🇯🇵 Tokyo Session (00:00-09:00)
- 🇬🇧 London Session (07:00-16:00)
- 🇺🇸 New York Session (13:00-22:00)
- 🇦🇺 Sydney Session (21:00-06:00)
- Compare volume patterns across different market sessions
- Identify session-specific support/resistance levels
---
⚙️ CONFIGURATION SETTINGS
Basic Settings
- LookBack : Number of bars to analyze (50-500 recommended)
- Bins : Number of price levels (10-100, default: 30)
- Horizontal Offset : Adjust profile position on chart
#### Features Toggle
- Delta Heat Map
- Delta Labels
- Volume Bars (Buy/Sell split)
- POC Line
- Custom colors for positive/negative volume
Advanced Features
- Value Area calculation with adjustable percentage
- Volume Nodes (HVN/LVN) with custom thresholds
- Imbalance Zones with adjustable sensitivity
- Session backgrounds and separate profiles
- Profile spacing for multi-session view
---
📈 HOW TO USE THIS INDICATOR
Installation & Setup
1. Add to Chart :
- Search for "Volume Profile DeltaMap"
- Click "Add to favorites" ⭐
- Apply to your chart
2. Recommended Timeframes :
- Scalping : 1-5 minute charts
- Day Trading : 5-15 minute charts
- Swing Trading : 1-4 hour charts
- Position Trading : Daily charts
3. Initial Settings :
- Start with default settings
- For intraday: Set LookBack to 200-400 bars
- For higher timeframes: Use 100-200 bars
4. Enable Session Profiles (Optional):
- Go to Settings → Advanced Features
- Enable "Separate Profiles Per Session"
- Adjust "Profile Spacing" for better visibility
---
🔍 READING THE INDICATOR
Understanding the Display
Main Profile Elements:
- Horizontal bars : Length represents volume at that price
- Color gradient : Shows delta (buyer vs seller dominance)
- Bright cyan line : Point of Control (POC) - highest volume
- Green dashed line : Value Area High (VAH)
- Red dashed line : Value Area Low (VAL)
- Yellow highlights : High Volume Nodes (HVN)
- Orange highlights : Low Volume Nodes (LVN)
Volume Bars (if enabled):
- Top half (Red) : Selling volume percentage
- Bottom half (Teal) : Buying volume percentage
Delta Labels:
- Shows Δ percentage
- Positive = More buyers
- Negative = More sellers
---
📊 MARKET ANALYSIS & TRADING STRATEGIES
1. Support & Resistance Trading
POC as Key Level:
- Price tends to return to POC (magnetic effect)
- Strategy :
- When price is above POC → Look for pullbacks to POC for long entries
- When price is below POC → Look for rallies to POC for short entries
- POC acts as dynamic support/resistance
Value Area Trading:
- Inside Value Area (between VAH & VAL):
- Market is in balance/equilibrium
- Range-bound trading strategies
- Look for mean reversion
- Outside Value Area :
- Price accepted above VAH = Bullish breakout
- Price accepted below VAL = Bearish breakdown
- Trend-following strategies
Example Setup:
Price above VAH + Strong buying delta = Bullish trend
→ Wait for pullback to VAH
→ Enter long with stop below VAH
→ Target: Next HVN or previous session high
2. Volume Node Trading
High Volume Nodes (HVN):
- Characteristics : Strong support/resistance, consolidation zones
- Trading Strategy :
- Price approaching HVN from above → Potential support
- Price approaching HVN from below → Potential resistance
- Breakout from HVN → Strong momentum move
- Setup : Place limit orders at HVN boundaries
Low Volume Nodes (LVN):
- Characteristics : Low liquidity, fast price movement
- Trading Strategy :
- Price in LVN = Don't chase, wait for next HVN
- LVN breakout = Rapid moves, use wider stops
- Price rejection from LVN = Quick return to HVN
- Setup : Avoid placing stops in LVN zones
Example:
Price consolidating at HVN (yellow) near $50,000
→ Breakout above with volume
→ Fast move through LVN (orange) gap
→ Next target: Upper HVN at $51,500
3. Delta Analysis for Entry Timing
Strong Buying Delta (Green zones):
- Δ > +20% = Buyers in control
- Bullish Signal : Accumulation zone
- Strategy : Look for long entries on pullbacks
- Confirmation : Rising price + positive delta
Strong Selling Delta (Red zones):
- Δ < -20% = Sellers in control
- Bearish Signal : Distribution zone
- Strategy : Look for short entries on rallies
- Confirmation : Falling price + negative delta
Delta Divergence (Advanced):
- Bullish Divergence : Price making lower lows, but delta improving (less negative)
- Indicates selling pressure weakening
- Potential reversal signal
- Bearish Divergence : Price making higher highs, but delta weakening (less positive)
- Indicates buying pressure exhausting
- Potential reversal signal
4. Imbalance Zone Trading
Buy Imbalance (Bright Green):
- 70%+ buying pressure
- Interpretation :
- Potential exhaustion of buyers
- Smart money distribution
- Strategy :
- Look for reversal signals (bearish candles, resistance)
- Take profits on long positions
- Consider short entries with confirmation
Sell Imbalance (Bright Red):
- 70%+ selling pressure
- Interpretation :
- Potential exhaustion of sellers
- Smart money accumulation
- Strategy :
- Look for reversal signals (bullish candles, support)
- Take profits on short positions
- Consider long entries with confirmation
Example:
```
Price at VAH with 80% sell imbalance
→ Selling exhaustion likely
→ Wait for bullish reversal candle
→ Enter long with stop below VAL
```
5. Multi-Session Analysis
When "Separate Profiles Per Session" is enabled:
Session-Specific Levels:
- Each session creates its own POC and value area
- Compare sessions to identify:
- Where institutions accumulated/distributed
- Which levels each session respected
- Unfinished business from previous sessions
Trading Strategies:
A. Session POC Confluence
London POC: $49,500
NY POC: $49,550
→ Strong support zone at $49,500-$49,550
→ High probability long setup on pullback
B. Value Area Overlap
London VAH: $50,000
NY VAL: $49,800
→ Overlap creates strong consolidation zone
→ Breakout strategy: Enter on break above $50,000
C. Unfinished Business
London session rejected $51,000 (sell imbalance)
NY session hasn't tested this level yet
→ Watch for NY session to revisit $51,000
→ Potential reversal zone
D. Session Handoff
Tokyo session: Sideways, low volume
London session: Strong buying delta, break above VAH
NY session: Continuation or reversal?
→ Monitor NY open for direction confirmation
6. Market Profile Analysis
Profile Shape Interpretation:
A. P-Shape (Peak at Top)
- High volume at top of range
- Interpretation : Distribution, potential reversal down
- Strategy : Look for shorts at resistance
B. b-Shape (Peak at Bottom)
- High volume at bottom of range
- Interpretation : Accumulation, potential reversal up
- Strategy : Look for longs at support
C. D-Shape (Peak in Middle)
- Balanced profile, POC in center
- Interpretation : Equilibrium, neutral market
- Strategy : Range trading between VAH/VAL
D. Thin Profile (LVN Gap)
- Low volume throughout
- Interpretation : Trending market, little acceptance
- Strategy : Trend following, avoid counter-trend trades
---
🎯 COMPLETE TRADING WORKFLOW
Step 1: Market Structure Analysis
1. Identify overall profile shape
2. Locate POC, VAH, VAL
3. Note HVN and LVN zones
4. Check current price position relative to value area
Step 2: Delta & Imbalance Check
1. Review delta distribution (where are buyers/sellers?)
2. Identify imbalance zones
3. Look for delta divergences
4. Note any exhaustion signals
Step 3: Session Analysis (if enabled)
1. Compare current session vs previous sessions
2. Identify key levels each session created
3. Look for level confluences or gaps
4. Note unfinished business
Step 4: Trade Setup
1. Define your bias (long/short/neutral)
2. Identify entry zone (HVN, VAH/VAL, POC)
3. Set stop loss (below/above key level or opposite LVN)
4. Set target (next HVN, VAH/VAL, or session high/low)
Step 5: Execution & Management
1. Wait for price to reach entry zone
2. Confirm with price action (candlestick patterns)
3. Enter trade with defined risk
4. Move stop to breakeven at first target
5. Trail stop or take profits at resistance/support
---
📋 EXAMPLE TRADE SCENARIOS
Scenario 1: Long Setup at VAL
Setup:
- Price pulled back to VAL ($49,200)
- VAL coincides with HVN (yellow zone)
- Delta showing +15% buying (green)
- London session POC also at $49,200
Entry:
- Buy at $49,200 (VAL/HVN confluence)
- Stop loss: $49,000 (below VAL, in LVN)
- Target 1: $49,800 (POC)
- Target 2: $50,200 (VAH)
Management:
- Move stop to breakeven when Target 1 reached
- Trail stop below recent swing lows
- Exit 50% at VAH, let remainder run
Risk:Reward : 200 points risk / 1000 points potential = 1:5 R:R
---
Scenario 2: Short Setup at Sell Imbalance
Setup:
- Price at VAH ($50,500)
- Sell imbalance zone (85% sellers, bright red)
- Bearish divergence (higher high, weaker delta)
- Previous session rejected this level
Entry:
- Short at $50,500 after bearish engulfing candle
- Stop loss: $50,750 (above VAH + imbalance zone)
- Target 1: $50,000 (POC)
- Target 2: $49,600 (VAL)
Management:
- Take 50% profit at POC
- Trail stop above recent swing highs
- Exit remainder at VAL or if delta turns positive
Risk:Reward : 250 points risk / 900 points potential = 1:3.6 R:R
---
Scenario 3: Range Trading Inside Value Area
Setup:
- Market consolidating between VAH ($50,200) and VAL ($49,600)
- POC at $49,900
- Multiple HVNs creating range boundaries
- Delta oscillating between +/-10%
Long Trade:
- Entry: $49,650 (near VAL)
- Stop: $49,500 (below VAL)
- Target: $50,150 (near VAH)
- Risk:Reward: 150/500 = 1:3.3
Short Trade:
- Entry: $50,150 (near VAH)
- Stop: $50,300 (above VAH)
- Target: $49,700 (near VAL)
- Risk:Reward: 150/450 = 1:3
Management:
- Reduce position size in range trading
- Take profits at opposite boundary
- Exit if breakout occurs (stop hunt possible)
---
Scenario 4: Session Breakout Trade
Setup:
- London session: Range-bound $49,500-$50,000
- London VAH at $50,000 (resistance)
- NY session opens: Strong buying delta (+35%)
- Price breaks above $50,000 with momentum
Entry:
- Buy on breakout above $50,000
- Or buy on retest of $50,000 (old resistance = new support)
- Stop loss: $49,700 (below breakout level + buffer)
- Target 1: $50,500 (next HVN from previous day)
- Target 2: $51,000 (measured move)
Management:
- Enter 50% position on breakout
- Add remaining 50% on successful retest
- Move stop to breakeven when price +$300
- Trail stop below 20 EMA or recent higher lows
Risk:Reward : 300 points risk / 1000 points potential = 1:3.3 R:R
---
⚠️ BEST PRACTICES & RISK MANAGEMENT
Do's:
✅ Use on liquid markets (major crypto, forex, indices)
✅ Combine with price action and candlestick patterns
✅ Wait for confirmation before entering trades
✅ Always use stop losses based on volume structure
✅ Take partial profits at key levels (HVN, VAH/VAL)
✅ Adjust lookback period based on timeframe
✅ Use higher timeframe profiles for context
✅ Compare current profile with previous day/session
✅ Consider volume trends (increasing/decreasing)
✅ Backtest strategies on your specific market
Don'ts:
❌ Don't trade solely based on this indicator
❌ Don't ignore price action and market context
❌ Don't place stops in LVN zones (prone to spikes)
❌ Don't chase price in low volume areas
❌ Don't overtrade - wait for quality setups
❌ Don't use on extremely low volume/illiquid assets
❌ Don't forget to adjust for different market conditions
❌ Don't ignore fundamental news events
❌ Don't use excessive leverage even with good setups
❌ Don't force trades - patience is key
Risk Management Rules:
1. Risk per trade : Never risk more than 1-2% of capital
2. Position sizing : Based on stop loss distance
3. Stop placement : Always below/above key volume levels
4. Profit taking : Scale out at multiple targets
5. Drawdown limits : Stop trading after 3 consecutive losses
6. Win rate expectation : 50-60% is realistic
7. Risk:Reward minimum : Aim for 1:2 or better
8. Correlation : Don't take correlated positions
---
🔧 TROUBLESHOOTING & OPTIMIZATION
If profiles look too compressed:
- Increase "Bins" to 40-50
- Reduce "LookBack" period
- Adjust "Horizontal Offset"
If too cluttered:
- Disable "Delta Labels"
- Disable "Volume Bars"
- Keep only POC and Value Area
- Use "Session Background Overlay" instead of separate profiles
For scalping (1-5 min):
- LookBack: 300-500 bars
- Bins: 20-30
- Enable separate session profiles
- Focus on imbalance zones
For swing trading (1H-4H):
- LookBack: 100-200 bars
- Bins: 25-35
- Focus on VAH/VAL and HVN
- Disable session features
For position trading (Daily):
- LookBack: 50-100 bars
- Bins: 30-40
- Focus on weekly/monthly POC
- Compare with previous week profiles
---
📚 ADVANCED CONCEPTS
1. Composite Profiles
- Build profiles across multiple days
- Increase LookBack to 500+ bars on 15-min chart
- Identifies major support/resistance from weeks of data
- Use for swing trading key levels
2. Profile Migration
- Track how POC moves day over day
- Uptrend : POC migrating higher
- Downtrend : POC migrating lower
- Range : POC oscillating in same area
3. Failed Auctions
- Price briefly leaves value area but quickly returns
- Failed auction high : Bearish signal
- Failed auction low : Bullish signal
- Indicates rejection of new price levels
4. Overnight Inventory
- Compare previous day's close to value area
- Close above VAH : Bullish bias for next day
- Close below VAL : Bearish bias for next day
- Close in value area : Neutral, range expected
5. Volume Delta Momentum
- Track cumulative delta across time
- Rising cumulative delta + rising price : Strong trend
- Falling cumulative delta + rising price : Weak/topping
- Rising cumulative delta + falling price : Potential reversal
---
📊 INTEGRATION WITH OTHER INDICATORS
Complementary Indicators:
1. Moving Averages (20/50/200 EMA)
- Use with POC and VAH/VAL
- Confluence with EMAs = stronger levels
2. RSI/Stochastic
- Overbought at resistance (VAH/HVN) = strong short
- Oversold at support (VAL/HVN) = strong long
3. VWAP
- POC often aligns with VWAP
- Deviation from VWAP + Volume Profile = trade setup
4. Order Flow/Footprint Charts
- Confirm delta analysis
- Detailed buyer/seller pressure
5. Market Profile (TPO)
- Similar concept, different visualization
- Use together for complete picture
Example Multi-Indicator Setup:
Price at VAL ✓
+ 200 EMA support ✓
+ RSI oversold (30) ✓
+ Positive delta zone ✓
+ Bullish engulfing candle ✓
= High probability long entry
---
🎓 LEARNING CURVE & PRACTICE
Week 1-2: Understanding
- Study each feature individually
- Identify POC, VAH, VAL on historical charts
- Note HVN and LVN patterns
- Observe how price reacts to these levels
Week 3-4: Pattern Recognition
- Track different profile shapes
- Identify session-specific patterns
- Note delta distribution patterns
- Document imbalance zone outcomes
Week 5-6: Paper Trading
- Take simulated trades based on setups
- Record entry/exit reasoning
- Track win rate and R:R
- Refine strategy based on results
Week 7-8: Live Trading (Small Size)
- Start with minimal position sizes
- Focus on execution and discipline
- Build confidence with real money
- Gradually increase size as proficiency grows
Ongoing:
- Review trades weekly
- Keep trading journal
- Adapt to changing market conditions
- Continuously refine strategy
---
💡 KEY TAKEAWAYS
1. Volume Profile shows WHERE the market is most active (POC, HVN)
2. Delta shows WHO is in control (buyers vs sellers)
3. Value Area shows FAIR VALUE (equilibrium zone)
4. Volume Nodes show STRUCTURE (support/resistance)
5. Imbalances show EXHAUSTION (potential reversals)
6. Sessions show PARTICIPATION (institutional activity)
The indicator is a MAP, not a SIGNAL:
- It shows you the battlefield terrain
- You still need to decide when/how to engage
- Combine with price action for best results
- Risk management is always paramount
---
⚖️ DISCLAIMER
This indicator is for educational and informational purposes only.
- Not financial advice
- Past performance does not guarantee future results
- Trading involves substantial risk of loss
- Only trade with capital you can afford to lose
- Always do your own research and due diligence
- Test strategies thoroughly before risking real money
- Consider consulting a licensed financial advisor
The creator is not responsible for any trading losses incurred while using this indicator.
---
Happy Trading! 📈🚀
NexusNexus is a swing trading indicator designed specifically for the 4-Hour and Daily timeframes.
Unlike standard indicators that react to every minor candle flicker, Nexus uses a "Macro" approach to filter out market noise and identify significant structural pivots.
It combines three distinct mathematical engines into one consensus signal:
The Anchor (Trend): A Rational Quadratic Kernel (Length 50) + Gann High/Low Activator (Length 20). This defines the heavy, long-term flow of the market.
The Guard (Risk): A modified UT Bot (ATR Trailing Stop). This manages volatility and provides your Stop Loss levels.
The Map (Structure): Smart Money Concepts (SMC) engine that detects Major Pivots, Fair Value Gaps (FVG), Break of Structure (BOS), and Change of Character (CHoCH).
Visual Legend
Dark Green/Red Line (The Baseline): This is the Kernel Regression line. It represents the "floor" or "ceiling" of the macro trend. If price is above this, the bias is Long. If below, the bias is Short.
Neon Green/Red Line (The Risk Line): This is your Trailing Stop. It moves tighter to price as the trend matures.
Large Triangles (or Custom Shape): These are your Entry Signals. They only appear when the Trend, Risk, and Momentum engines all align perfectly.
Small Circles (BOS): "Break of Structure." These appear when price breaks a high in an uptrend (or low in a downtrend). It means the trend is healthy and continuing.
Small Diamonds (CHoCH): "Change of Character." These appear when price breaks a significant structural level against the current trend. This is an early warning sign that a reversal might be coming.
Colored Boxes (FVG): Fair Value Gaps. These are magnetic zones where price often returns to "rebalance" before continuing.
How to Trade with Nexus
Recommended Timeframes: 4 Hour (4H) or Daily (1D).
1. The Entry
Wait for a Neon Buy/Sell Signal (Default: Triangle).
Check the Dashboard: Ensure the "ACTION" cell is colored (Green for Buy, Red for Sell) and matches your signal.
Strict Alternation: The script prevents "signal spam." Once a Buy signal fires, you will not see another Buy signal until the trend flips and produces a Sell signal.
2. Stop Loss Placement
Initial Stop: Place your Stop Loss slightly beyond the Neon Risk Line at the time of entry.
Trailing: As the trade progresses, move your Stop Loss along the Neon Line. If the candle closes on the wrong side of this line, the trade is invalid.
3. Take Profit & Exits
Target 1: The next opposing FVG Box (Support/Resistance magnet).
Target 2: A CHoCH Diamond appearing against your trade. This indicates the market structure has shifted, and you should consider locking in profits.
4. Filtering Chop
If the Baseline is flat and price is weaving through it, stay out.
The "Rec. TF" on the dashboard reminds you to stick to higher timeframes where these signals are most accurate.
Disclaimer
Trading financial assets involves a high level of risk and may not be suitable for all investors. The content provided here and the "Nexus" indicator are for educational and informational purposes only and do not constitute financial, investment, or trading advice. Past performance is not indicative of future results. You are solely responsible for your own trading decisions and should always practice risk management.
Psychological LevelsADVANCED PSYCHOLOGICAL LEVELS - PROFESSIONAL FOREX INDICATOR
This highly customizable indicator automatically identifies and visualizes all major psychological price levels across any Forex chart. Psychological levels represent critical price zones where traders naturally congregate their orders due to human psychology's attraction to round numbers. These levels consistently act as powerful support and resistance zones in the market.
🎯 KEY FEATURES:
✅ Four Distinct Level Types - Choose from 1000-pip, 100-pip, 50-pip, 25-pip, and 10-pip psychological levels
✅ Individual Color Customization - Each level type has its own customizable zone and line colors
✅ Separate Zone Width Control - Adjust zone width independently for each level type
✅ Universal Forex Compatibility - Automatically adapts to JPY pairs and all other currency pairs
✅ Extended Coverage - Displays levels far beyond the visible chart area for comprehensive analysis
✅ Fixed Positioning - Levels remain stationary when scrolling or zooming
✅ Fully Customizable Styling - Choose between solid, dashed, or dotted line styles
📊 LEVEL TYPES EXPLAINED:
🟣 1000-pip Levels (e.g., EUR/USD: 1.0000, 2.0000 | USD/JPY: 100.00, 110.00, 120.00)
The strongest macro-level psychological barriers in the Forex market
Represent massive institutional, long-term price zones
Extremely important for position traders, swing traders, and macro analysis
Used by hedge funds, banks, and large liquidity providers for major order placement
Ideal for identifying long-term support/resistance, trend reversals, and market structure shifts
Default color: Purple (highest, macro-level importance)
🔴 100-pip Levels (e.g., EUR/USD: 1.1000, 1.1100, 1.1200 | USD/JPY: 150.00, 151.00, 152.00)
The most significant psychological barriers in Forex trading
Major round numbers where institutional traders place large orders
Strongest support and resistance zones with highest reaction probability
Essential for swing trading and position trading strategies
Default color: Red (highest importance)
🟠 50-pip Levels (e.g., EUR/USD: 1.1050, 1.1150, 1.1250 | USD/JPY: 150.50, 151.50, 152.50)
Secondary psychological levels positioned midway between 100-pip levels
Important intermediate zones for profit-taking and order clustering
Highly effective for day trading strategies
Reliable targets for partial profit exits
Default color: Orange (medium-high importance)
🔵 25-pip Levels (e.g., EUR/USD: 1.1025, 1.1075, 1.1125 | USD/JPY: 150.25, 150.75, 151.25)
Quartile levels providing granular market structure
Perfect for scalping and short-term trading approaches
Excellent confluence zones with technical indicators
Ideal for tight stop-loss placement
Default color: Blue (medium importance)
🟢 10-pip Levels (e.g., EUR/USD: 1.1010, 1.1020, 1.1030 | USD/JPY: 150.10, 150.20, 150.30)
Most detailed psychological levels for precision trading
Optimal for micro scalping and high-frequency strategies
Provides fine-grained market structure analysis
Useful for optimizing entry and exit timing
Default color: Green (detailed analysis)
⚙️ CUSTOMIZATION OPTIONS:
Color Settings (Individual for Each Level):
Zone Color - Customize fill color with adjustable transparency
Line Color - Set center line color independently
Default color scheme uses traffic light logic (Purple → Red → Orange → Blue → Green)
Zone Width Settings (Separate for Each Level):
1000-pip Levels: Default 15 pips (widest zones for long-term significance)
100-pip Levels: Default 8 pips (wider zones for major levels)
50-pip Levels: Default 5 pips (medium zones)
25-pip Levels: Default 3 pips (smaller zones)
10-pip Levels: Default 2 pips (narrowest zones for precision)
Display Settings:
Line Style: Choose between Solid, Dashed, or Dotted
Line Thickness: Adjustable from 1 to 5 pixels
Level Selection: Toggle each level type on/off independently
💡 TRADING APPLICATIONS:
📈 Support & Resistance Identification
Instantly recognize where price is likely to react
Identify key reversal zones before they occur
Combine with price action for high-probability setups
🎯 Optimal Entry & Exit Points
Enter trades at psychological support/resistance
Set realistic profit targets at the next psychological level
Improve win rate by trading with market psychology
🛡️ Strategic Stop-Loss Placement
Position stops just beyond psychological levels to avoid stop hunts
Reduce premature stop-outs by understanding where others place stops
Protect profits by moving stops to psychological levels
💰 Profit Target Optimization
Set take-profit orders at psychological levels where profit-taking occurs
Scale out positions at multiple psychological levels
Maximize gains by understanding where demand/supply shifts
📊 Breakout Trading
Identify when price decisively breaks through major psychological barriers
Trade momentum when psychological levels are breached
Confirm breakouts using multiple level types as confluence
⚖️ Risk Management Enhancement
Calculate better risk-reward ratios using psychological levels
Size positions based on distance to next psychological level
Improve overall trading consistency
🔬 WHY PSYCHOLOGICAL LEVELS WORK:
Psychological levels are self-fulfilling prophecies in financial markets. Because thousands of traders worldwide monitor the same round numbers, these levels naturally attract significant order flow:
Order Clustering: Pending buy/sell orders accumulate at round numbers
Profit Taking: Traders instinctively close positions at psychological levels
Stop Hunts: Market makers often push price to psychological levels to trigger stops
Institutional Activity: Banks and funds use round numbers for large order placement
Pattern Recognition: Human brains naturally gravitate toward simple, round numbers
📋 TECHNICAL SPECIFICATIONS:
✓ Pine Script Version 6 (latest)
✓ Compatible with all Forex pairs (majors, minors, exotics)
✓ Works on all timeframes (M1 to Monthly)
✓ Automatic JPY pair detection and adjustment
✓ Maximum 500 lines and 500 boxes for optimal performance
✓ Levels extend infinitely across the chart
✓ No repainting - levels are fixed once drawn
✓ Efficient calculation prevents performance issues
✓ Clean visualization without chart clutter
👥 IDEAL FOR:
Day Traders: Use 100-pip and 50-pip levels for intraday setups
Swing Traders: Focus on major 100-pip levels for multi-day positions
Scalpers: Enable 25-pip and 10-pip levels for precision entries
Position Traders: Use 100-pip levels for long-term support/resistance analysis
Beginner Traders: Learn to recognize important market structure easily
Algorithm Developers: Incorporate psychological levels into automated strategies
🚀 HOW TO USE:
Add the indicator to any Forex chart
Select which level types you want to display (100, 50, 25, 10)
Customize colors to match your chart theme
Adjust zone widths based on your trading style and timeframe
Choose line style (solid, dashed, or dotted)
Watch for price reactions at the highlighted psychological zones
Use the levels to plan entries, exits, and stop-loss placement
💎 BEST PRACTICES:
✓ Combine with candlestick patterns for confirmation signals
✓ Wait for price action confirmation before entering trades
✓ Use multiple timeframes to identify the most significant levels
✓ Disable 10-pip levels on higher timeframes to reduce visual noise
✓ Enable only 100-pip levels for clean, uncluttered analysis on Daily/Weekly charts
✓ Adjust zone widths based on pair volatility (wider for volatile pairs)
✓ Use color coding to instantly recognize level importance
⚡ PERFORMANCE OPTIMIZED:
This indicator is engineered for maximum efficiency:
Smart calculation only within visible price range
Duplicate prevention system avoids overlapping levels
Optimized loops with early break conditions
Extended coverage (500 bars) without performance degradation
Handles thousands of levels across all timeframes smoothly
🎨 VISUAL DESIGN:
The default color scheme follows intuitive importance levels:
Purple (1000-pip): Macro-level, highest significance
Red (100-pip): Highest importance - major barriers
Orange (50-pip): Medium-high importance - secondary levels
Blue (25-pip): Medium importance - tertiary levels
Green (10-pip): Detailed analysis - precision levels
This traffic-light inspired system allows instant visual recognition of level significance.
📚 EDUCATIONAL VALUE:
Beyond being a trading tool, this indicator serves as an excellent educational resource for understanding market psychology and how professional traders think. It visually demonstrates where the "crowd" is likely to place orders, helping you develop better market intuition.
🔄 CONTINUOUS UPDATES:
This indicator displays levels dynamically based on the current price range, ensuring you always see relevant psychological levels no matter where price moves on the chart.
✨ WHAT MAKES THIS INDICATOR UNIQUE:
Unlike simple horizontal line indicators, this advanced tool offers:
Individual customization for each level type (colors, widths)
Automatic currency pair detection and adjustment
Visual zones (not just lines) for better support/resistance visualization
Extended coverage ensuring levels are always visible
Professional color-coding system for instant level importance recognition
Performance-optimized for handling hundreds of levels simultaneously
⭐ PERFECT FOR ALL TRADING STYLES:
Whether you're a conservative position trader looking at weekly charts or an aggressive scalper on 1-minute timeframes, this indicator adapts to your needs. Simply enable the appropriate level types and adjust the visualization to match your strategy.
Transform your Forex trading with professional-grade psychological level analysis. Add this indicator to your chart today and start trading with the market psychology on your side!
Psychological levelsADVANCED PSYCHOLOGICAL LEVELS - PROFESSIONAL FOREX INDICATOR
This highly customizable indicator automatically identifies and visualizes all major psychological price levels across any Forex chart. Psychological levels represent critical price zones where traders naturally congregate their orders due to human psychology's attraction to round numbers. These levels consistently act as powerful support and resistance zones in the market.
🎯 KEY FEATURES:
✅ Four Distinct Level Types - Choose from 100-pip, 50-pip, 25-pip, and 10-pip psychological levels
✅ Individual Color Customization - Each level type has its own customizable zone and line colors
✅ Separate Zone Width Control - Adjust zone width independently for each level type
✅ Universal Forex Compatibility - Automatically adapts to JPY pairs and all other currency pairs
✅ Extended Coverage - Displays levels far beyond the visible chart area for comprehensive analysis
✅ Fixed Positioning - Levels remain stationary when scrolling or zooming
✅ Fully Customizable Styling - Choose between solid, dashed, or dotted line styles
📊 LEVEL TYPES EXPLAINED:
🔴 100-pip Levels (e.g., EUR/USD: 1.1000, 1.1100, 1.1200 | USD/JPY: 150.00, 151.00, 152.00)
The most significant psychological barriers in Forex trading
Major round numbers where institutional traders place large orders
Strongest support and resistance zones with highest reaction probability
Essential for swing trading and position trading strategies
Default color: Red (highest importance)
🟠 50-pip Levels (e.g., EUR/USD: 1.1050, 1.1150, 1.1250 | USD/JPY: 150.50, 151.50, 152.50)
Secondary psychological levels positioned midway between 100-pip levels
Important intermediate zones for profit-taking and order clustering
Highly effective for day trading strategies
Reliable targets for partial profit exits
Default color: Orange (medium-high importance)
🔵 25-pip Levels (e.g., EUR/USD: 1.1025, 1.1075, 1.1125 | USD/JPY: 150.25, 150.75, 151.25)
Quartile levels providing granular market structure
Perfect for scalping and short-term trading approaches
Excellent confluence zones with technical indicators
Ideal for tight stop-loss placement
Default color: Blue (medium importance)
🟢 10-pip Levels (e.g., EUR/USD: 1.1010, 1.1020, 1.1030 | USD/JPY: 150.10, 150.20, 150.30)
Most detailed psychological levels for precision trading
Optimal for micro scalping and high-frequency strategies
Provides fine-grained market structure analysis
Useful for optimizing entry and exit timing
Default color: Green (detailed analysis)
⚙️ CUSTOMIZATION OPTIONS:
Color Settings (Individual for Each Level):
Zone Color - Customize fill color with adjustable transparency
Line Color - Set center line color independently
Default color scheme uses traffic light logic (Red → Orange → Blue → Green)
Zone Width Settings (Separate for Each Level):
100-pip Levels: Default 10 pips (wider zones for major levels)
50-pip Levels: Default 7 pips (medium zones)
25-pip Levels: Default 5 pips (smaller zones)
10-pip Levels: Default 3 pips (narrowest zones for precision)
Display Settings:
Line Style: Choose between Solid, Dashed, or Dotted
Line Thickness: Adjustable from 1 to 5 pixels
Level Selection: Toggle each level type on/off independently
💡 TRADING APPLICATIONS:
📈 Support & Resistance Identification
Instantly recognize where price is likely to react
Identify key reversal zones before they occur
Combine with price action for high-probability setups
🎯 Optimal Entry & Exit Points
Enter trades at psychological support/resistance
Set realistic profit targets at the next psychological level
Improve win rate by trading with market psychology
🛡️ Strategic Stop-Loss Placement
Position stops just beyond psychological levels to avoid stop hunts
Reduce premature stop-outs by understanding where others place stops
Protect profits by moving stops to psychological levels
💰 Profit Target Optimization
Set take-profit orders at psychological levels where profit-taking occurs
Scale out positions at multiple psychological levels
Maximize gains by understanding where demand/supply shifts
📊 Breakout Trading
Identify when price decisively breaks through major psychological barriers
Trade momentum when psychological levels are breached
Confirm breakouts using multiple level types as confluence
⚖️ Risk Management Enhancement
Calculate better risk-reward ratios using psychological levels
Size positions based on distance to next psychological level
Improve overall trading consistency
🔬 WHY PSYCHOLOGICAL LEVELS WORK:
Psychological levels are self-fulfilling prophecies in financial markets. Because thousands of traders worldwide monitor the same round numbers, these levels naturally attract significant order flow:
Order Clustering: Pending buy/sell orders accumulate at round numbers
Profit Taking: Traders instinctively close positions at psychological levels
Stop Hunts: Market makers often push price to psychological levels to trigger stops
Institutional Activity: Banks and funds use round numbers for large order placement
Pattern Recognition: Human brains naturally gravitate toward simple, round numbers
📋 TECHNICAL SPECIFICATIONS:
✓ Pine Script Version 6 (latest)
✓ Compatible with all Forex pairs (majors, minors, exotics)
✓ Works on all timeframes (M1 to Monthly)
✓ Automatic JPY pair detection and adjustment
✓ Maximum 500 lines and 500 boxes for optimal performance
✓ Levels extend infinitely across the chart
✓ No repainting - levels are fixed once drawn
✓ Efficient calculation prevents performance issues
✓ Clean visualization without chart clutter
👥 IDEAL FOR:
Day Traders: Use 100-pip and 50-pip levels for intraday setups
Swing Traders: Focus on major 100-pip levels for multi-day positions
Scalpers: Enable 25-pip and 10-pip levels for precision entries
Position Traders: Use 100-pip levels for long-term support/resistance analysis
Beginner Traders: Learn to recognize important market structure easily
Algorithm Developers: Incorporate psychological levels into automated strategies
🚀 HOW TO USE:
Add the indicator to any Forex chart
Select which level types you want to display (100, 50, 25, 10)
Customize colors to match your chart theme
Adjust zone widths based on your trading style and timeframe
Choose line style (solid, dashed, or dotted)
Watch for price reactions at the highlighted psychological zones
Use the levels to plan entries, exits, and stop-loss placement
💎 BEST PRACTICES:
✓ Combine with candlestick patterns for confirmation signals
✓ Wait for price action confirmation before entering trades
✓ Use multiple timeframes to identify the most significant levels
✓ Disable 10-pip levels on higher timeframes to reduce visual noise
✓ Enable only 100-pip levels for clean, uncluttered analysis on Daily/Weekly charts
✓ Adjust zone widths based on pair volatility (wider for volatile pairs)
✓ Use color coding to instantly recognize level importance
⚡ PERFORMANCE OPTIMIZED:
This indicator is engineered for maximum efficiency:
Smart calculation only within visible price range
Duplicate prevention system avoids overlapping levels
Optimized loops with early break conditions
Extended coverage (500 bars) without performance degradation
Handles thousands of levels across all timeframes smoothly
🎨 VISUAL DESIGN:
The default color scheme follows intuitive importance levels:
Red (100-pip): Highest importance - major barriers
Orange (50-pip): Medium-high importance - secondary levels
Blue (25-pip): Medium importance - tertiary levels
Green (10-pip): Detailed analysis - precision levels
This traffic-light inspired system allows instant visual recognition of level significance.
📚 EDUCATIONAL VALUE:
Beyond being a trading tool, this indicator serves as an excellent educational resource for understanding market psychology and how professional traders think. It visually demonstrates where the "crowd" is likely to place orders, helping you develop better market intuition.
🔄 CONTINUOUS UPDATES:
This indicator displays levels dynamically based on the current price range, ensuring you always see relevant psychological levels no matter where price moves on the chart.
✨ WHAT MAKES THIS INDICATOR UNIQUE:
Unlike simple horizontal line indicators, this advanced tool offers:
Individual customization for each level type (colors, widths)
Automatic currency pair detection and adjustment
Visual zones (not just lines) for better support/resistance visualization
Extended coverage ensuring levels are always visible
Professional color-coding system for instant level importance recognition
Performance-optimized for handling hundreds of levels simultaneously
⭐ PERFECT FOR ALL TRADING STYLES:
Whether you're a conservative position trader looking at weekly charts or an aggressive scalper on 1-minute timeframes, this indicator adapts to your needs. Simply enable the appropriate level types and adjust the visualization to match your strategy.
ProfitView Strategy TemplateHello traders,
This script took me a full week of coding/testing, sweat, and tears - and I’m too nice as I’m giving it for free to the community.
If you're tired of manual trading and looking for a solid strategy template to pair with your indicators, look no further.
This Pine Script v5 strategy template is engineered for maximum customization and risk management.
Best part?
This Pine Script v5 template facilitates the dynamic construction of ProfitView alerts, sparing users the time and effort of mastering the ProfitView syntax and manually creating alert commands.
This powerful tool gives much power to those who don't know how to code in Pinescript and want to automate their indicators' signals via the ProfitView Chrome extension.
IMPORTANT NOTES
ProfitView is a trading bot software that forwards TradingView alerts to your brokers (examples: Binance, Oanda, Coinbase, Bybit, etc.) for automating trading.
Many traders don't know how to dynamically create ProfitView-compatible alerts using the data from their TradingView scripts.
Traders using trading bots want their alerts to reflect the stop-loss/take-profit/trailing-stop/stop-loss to break options from your script and then create the orders accordingly.
This script showcases how to create ProfitView alerts dynamically.
TRADINGVIEW ALERTS
1) You'll have to create one alert per asset X timeframe = 1 chart.
Example: 1 alert for EUR/USD on the 5 minutes chart, 1 alert for EUR/USD on the 15-minute chart (assuming you want your bot to trade the EUR/USD on the 5 and 15-minute timeframes)
2) Select the Order fills and alert() function calls condition
3) For each alert, the alert message is pre-configured with the text below
{{strategy.order.alert_message}}
Please leave it as it is.
It's a TradingView native variable that will fetch the alert text messages built by the script.
4) ProfitView doesn't use webhook technology, so setting a webhook URL from the alerts notifications tab is unnecessary.
KEY FEATURES
I) Modular Indicator Connection
* plug your existing indicator into the template.
* Only two lines of code are needed for full compatibility.
Step 1: Create your connector
Adapt your indicator with only 2 lines of code and then connect it to this strategy template.
To do so:
1) Find in your indicator where the conditions print the long/buy and short/sell signals.
2) Create an additional plot as below
I'm giving an example with a Two moving averages cross.
Please replicate the same methodology for your indicator, whether a MACD , ZigZag, Pivots , higher-highs, lower-lows or whatever indicator with clear buy and sell conditions.
//@version=5
indicator("Supertrend", overlay = true, timeframe = "", timeframe_gaps = true)
atrPeriod = input.int(10, "ATR Length", minval = 1)
factor = input.float(3.0, "Factor", minval = 0.01, step = 0.01)
= ta.supertrend(factor, atrPeriod)
supertrend := barstate.isfirst ? na : supertrend
bodyMiddle = plot(barstate.isfirst ? na : (open + close) / 2, display = display.none)
upTrend = plot(direction < 0 ? supertrend : na, "Up Trend", color = color.green, style = plot.style_linebr)
downTrend = plot(direction < 0 ? na : supertrend, "Down Trend", color = color.red, style = plot.style_linebr)
fill(bodyMiddle, upTrend, color.new(color.green, 90), fillgaps = false)
fill(bodyMiddle, downTrend, color.new(color.red, 90), fillgaps = false)
buy = ta.crossunder(direction, 0)
sell = ta.crossunder(direction, 0)
//////// CONNECTOR SECTION ////////
Signal = buy ? 1 : sell ? -1 : 0
plot(Signal, title = "Signal", display = display.data_window)
//////// CONNECTOR SECTION ////////
Important Notes
🔥 The Strategy Template expects the value to be exactly 1 for the bullish signal and -1 for the bearish signal
Now, you can connect your indicator to the Strategy Template using the method below or that one.
Step 2: Connect the connector
1) Add your updated indicator to a TradingView chart
2) Add the Strategy Template as well to the SAME chart
3) Open the Strategy Template settings, and in the Data Source field, select your 🔌Connector🔌 (which comes from your indicator)
Note it doesn’t have to be named 🔌Connector🔌 - you can name it as you want - however, I recommend an explicit name you can easily remember.
From then, you should start seeing the signals and plenty of other stuff on your chart.
🔥 Note that whenever you update your indicator values, the strategy statistics and visuals on your chart will update in real-time
II) BOT Risk Management:
- Max Drawdown:
Mode: Select whether the max drawdown is calculated in percentage (%) or USD.
Value: If the max drawdown reaches this specified value, set a value to halt the bot.
- Max Consecutive Days:
Use Max Consecutive Days BOT Halt: Enable/Disable halting the bot if the max consecutive losing days value is reached.
- Max Consecutive Days: Set the maximum number of consecutive losing days allowed before halting the bot.
- Max Losing Streak:
Use Max Losing Streak: Enable/Disable a feature to prevent the bot from taking too many losses in a row.
- Max Losing Streak Length: Set the maximum length of a losing streak allowed.
Margin Call:
- Use Margin Call: Enable/Disable a feature to exit when a specified percentage away from a margin call to prevent it.
Margin Call (%): Set the percentage value to trigger this feature.
- Close BOT Total Loss:
Use Close BOT Total Loss: Enable/Disable a feature to close all trades and halt the bot if the total loss is reached.
- Total Loss ($): Set the total loss value in USD to trigger this feature.
Intraday BOT Risk Management:
- Intraday Losses:
Use Intraday Losses BOT Halt: Enable/Disable halting the bot on reaching specified intraday losses.
Mode: Select whether the intraday loss is calculated in percentage (%) or USD.
- Max Intraday Losses (%): Set the value for maximum intraday losses.
Limit Intraday Trades:
- Use Limit Intraday Trades: Enable/Disable a feature to limit the number of intraday trades.
- Max Intraday Trades: Set the maximum number of intraday trades allowed.
Restart Intraday EA:
- Use Restart Intraday EA: Enable/Disable a feature to restart the bot at the first bar of the next day if it has been stopped with an intraday risk management safeguard.
III) Order Types and Position Sizing
- Choose between market, limit, or stop orders.
- Set your position size directly in the template.
Please use the position size from the “Inputs” and not the “Properties” tab.
I know it's redundant. - the template needs this value from the "Inputs" tab to build the alerts, and the Backtester needs it from the "Properties" tab.
IV) Advanced Take-Profit and Stop-Loss Options
- Choose to set your SL/TP in either pips or percentages.
- Option for multiple take-profit levels and trailing stop losses.
- Move your stop loss to break even +/- offset in pips for “risk-free” trades.
V) Miscellaneous
Retry order openings if they fail.
Order Types:
Select and specify order type and price settings.
Position Size:
Define the type and size of positions.
Leverage:
Leverage settings, including margin type and hedge mode.
Session:
Limit trades to specific sessions.
Dates:
Limit trades to a specific date range.
Trades Direction:
Direction: Specify the market direction for opening positions.
VI) Notifications (Telegram/Discord/Email/IFTTT/Twilio/SMS)
Customize notifications sent to Telegram, Discord, Email, IFTTT, Twilio, and ProfitView Logger.
VII) Logger
The ProfitView commands are logged in the TradingView logger.
You'll find more information about it in this TradingView blog post .
WHY YOU MIGHT NEED THIS TEMPLATE
1) Transform your indicator into a ProfitView trading bot more easily than before
Connect your indicator to the template
Create your alerts
Set your EA settings
2) Save Time
Auto-generated alert messages for ProfitView.
I tested them all and checked with the support team what could/couldn’t be done.
3) Be in Control
Manage your trading risks with advanced features.
4) Customizable
Fits various trading styles and asset classes.
REQUIREMENTS
* Make sure you have your ProfitView account and do the settings correctly in your Chrome extension. If you don't know how to do it, read the documentation + ask for help in the ProfitView Discord support channel.
* If there is any issue with the template, ask me in the comments section - I’ll answer quickly.
BACKTEST RESULTS FROM THIS POST
1) I connected this strategy template to a dummy Supertrend script.
I could have selected any other indicator or concept for this script post.
I wanted to share an example of how you can quickly upgrade your strategy, making it compatible with ProfitView.
2) The backtest results aren't relevant for this educational script publication.
I used realistic backtesting data but didn't look too much into optimizing the results, as this isn't the point of why I'm publishing this script.
This strategy is a template to be connected to any indicator - the sky is the limit. :)
3) This template is made to take 1 trade per direction at any given time.
Pyramiding is set to 1 on TradingView.
The strategy default settings are:
* Initial Capital: 100000 USD
* Position Size: 1%
* Commission Percent: 0.075%
* Slippage: 1 tick
* No margin/leverage used
Best regards,
Dave
TradingView.To Strategy Template (with Dyanmic Alerts)Hello traders,
If you're tired of manual trading and looking for a solid strategy template to pair with your indicators, look no further.
This Pine Script v5 strategy template is engineered for maximum customization and risk management.
Best part?
This Pine Script v5 template facilitates the dynamic construction of TradingView.TO alerts, sparing users the time and effort of mastering the TradingView.TO syntax and manually create alert commands.
This powerful tool gives much power to those who don't know how to code in Pinescript and want to automate their indicators' signals via TradingView.TO bot.
IMPORTANT NOTES
TradingView.TO is a trading bot software that forwards TradingView alerts to your brokers (examples: Binance, Oanda, Coinbase, Bybit, Metatrader 4/5, ...) for automating trading.
Many traders don't know how to create TradingView.TO dynamically-compatible alerts using the data from their TradingView scripts.
Traders using trading bots want their alerts to reflect the stop-loss/take-profit/trailing-stop/stop-loss to break options from your script and then create the orders accordingly.
This script showcases how to create TradingView.TO alerts dynamically.
TRADINGVIEW ALERTS
1) You'll have to create one alert per asset X timeframe = 1 chart.
Example: 1 alert for BTC/USDT on the 5 minutes chart, 1 alert for BTC/USDT on the 15-minute chart (assuming you want your bot to trade the BTC/USDT on the 5 and 15-minute timeframes)
2) Select the Order fills and alert() function calls condition
3) For each alert, the alert message is pre-configured with the text below
{{strategy.order.alert_message}}
Please leave it as it is.
It's a TradingView native variable that will fetch the alert text messages built by the script.
4) TradingView.TO uses webhook technology - setting a webhook URL from the alerts notifications tab is required.
KEY FEATURES
I) Modular Indicator Connection
* plug your existing indicator into the template.
* Only two lines of code are needed for full compatibility.
Step 1: Create your connector
Adapt your indicator with only 2 lines of code and then connect it to this strategy template.
To do so:
1) Find in your indicator where the conditions print the long/buy and short/sell signals.
2) Create an additional plot as below
I'm giving an example with a Two moving averages cross.
Please replicate the same methodology for your indicator, whether a MACD , ZigZag, Pivots , higher-highs, lower-lows or whatever indicator with clear buy and sell conditions.
//@version=5
indicator("Supertrend", overlay = true, timeframe = "", timeframe_gaps = true)
atrPeriod = input.int(10, "ATR Length", minval = 1)
factor = input.float(3.0, "Factor", minval = 0.01, step = 0.01)
= ta.supertrend(factor, atrPeriod)
supertrend := barstate.isfirst ? na : supertrend
bodyMiddle = plot(barstate.isfirst ? na : (open + close) / 2, display = display.none)
upTrend = plot(direction < 0 ? supertrend : na, "Up Trend", color = color.green, style = plot.style_linebr)
downTrend = plot(direction < 0 ? na : supertrend, "Down Trend", color = color.red, style = plot.style_linebr)
fill(bodyMiddle, upTrend, color.new(color.green, 90), fillgaps = false)
fill(bodyMiddle, downTrend, color.new(color.red, 90), fillgaps = false)
buy = ta.crossunder(direction, 0)
sell = ta.crossunder(direction, 0)
//////// CONNECTOR SECTION ////////
Signal = buy ? 1 : sell ? -1 : 0
plot(Signal, title = "Signal", display = display.data_window)
//////// CONNECTOR SECTION ////////
Important Notes
🔥 The Strategy Template expects the value to be exactly 1 for the bullish signal and -1 for the bearish signal
Now, you can connect your indicator to the Strategy Template using the method below or that one.
Step 2: Connect the connector
1) Add your updated indicator to a TradingView chart
2) Add the Strategy Template as well to the SAME chart
3) Open the Strategy Template settings, and in the Data Source field, select your 🔌Connector🔌 (which comes from your indicator)
Note it doesn’t have to be named 🔌Connector🔌 - you can name it as you want - however, I recommend an explicit name you can easily remember.
From then, you should start seeing the signals and plenty of other stuff on your chart.
🔥 Note that whenever you update your indicator values, the strategy statistics and visuals on your chart will update in real-time
II) BOT Risk Management:
- Max Drawdown:
Mode: Select whether the max drawdown is calculated in percentage (%) or USD.
Value: If the max drawdown reaches this specified value, set a value to halt the bot.
- Max Consecutive Days:
Use Max Consecutive Days BOT Halt: Enable/Disable halting the bot if the max consecutive losing days value is reached.
- Max Consecutive Days: Set the maximum number of consecutive losing days allowed before halting the bot.
- Max Losing Streak:
Use Max Losing Streak: Enable/Disable a feature to prevent the bot from taking too many losses in a row.
- Max Losing Streak Length: Set the maximum length of a losing streak allowed.
Margin Call:
- Use Margin Call: Enable/Disable a feature to exit when a specified percentage away from a margin call to prevent it.
Margin Call (%): Set the percentage value to trigger this feature.
- Close BOT Total Loss:
Use Close BOT Total Loss: Enable/Disable a feature to close all trades and halt the bot if the total loss is reached.
- Total Loss ($): Set the total loss value in USD to trigger this feature.
Intraday BOT Risk Management:
- Intraday Losses:
Use Intraday Losses BOT Halt: Enable/Disable halting the bot on reaching specified intraday losses.
Mode: Select whether the intraday loss is calculated in percentage (%) or USD.
- Max Intraday Losses (%): Set the value for maximum intraday losses.
Limit Intraday Trades:
- Use Limit Intraday Trades: Enable/Disable a feature to limit the number of intraday trades.
- Max Intraday Trades: Set the maximum number of intraday trades allowed.
Restart Intraday EA:
III) Order Types and Position Sizing
- Choose between market or limit orders.
- Set your position size directly in the template.
Please use the position size from the “Inputs” and not the “Properties” tab.
I know it's redundant. - the template needs this value from the "Inputs" tab to build the alerts, and the Backtester needs it from the "Properties" tab.
IV) Advanced Take-Profit and Stop-Loss Options
- Choose to set your SL/TP in either USD or percentages.
- Option for multiple take-profit levels and trailing stop losses.
- Move your stop loss to break even +/- offset in USD for “risk-free” trades.
V) Miscellaneous:
Retry order openings if they fail.
Order Types:
Select and specify order type and price settings.
Position Size:
Define the type and size of positions.
Leverage:
Leverage settings, including margin type and hedge mode.
Session:
Limit trades to specific sessions.
Dates:
Limit trades to a specific date range.
Trades Direction:
Direction: Specify the market direction for opening positions.
VI) Logger
The TradingView.TO commands are logged in the TradingView logger.
You'll find more information about it in this TradingView blog post .
WHY YOU MIGHT NEED THIS TEMPLATE
1) Transform your indicator into a TradingView.TO trading bot more easily than before
Connect your indicator to the template
Create your alerts
Set your EA settings
2) Save Time
Auto-generated alert messages for TradingView.TO.
I tested them all and checked with the support team what could/couldn’t be done.
3) Be in Control
Manage your trading risks with advanced features.
4) Customizable
Fits various trading styles and asset classes.
REQUIREMENTS
* Make sure you have your TradingView.TO account
* If there is any issue with the template, ask me in the comments section - I’ll answer quickly.
BACKTEST RESULTS FROM THIS POST
1) I connected this strategy template to a dummy Supertrend script.
I could have selected any other indicator or concept for this script post.
I wanted to share an example of how you can quickly upgrade your strategy, making it compatible with TradingView.TO.
2) The backtest results aren't relevant for this educational script publication.
I used realistic backtesting data but didn't look too much into optimizing the results, as this isn't the point of why I'm publishing this script.
This strategy is a template to be connected to any indicator - the sky is the limit. :)
3) This template is made to take 1 trade per direction at any given time.
Pyramiding is set to 1 on TradingView.
The strategy default settings are:
* Initial Capital: 100000 USD
* Position Size: 1%
* Commission Percent: 0.075%
* Slippage: 1 tick
* No margin/leverage used
PST System v2.5+A clean, non-repainting trend + momentum indicator by PSTrading.
Uses EMA trend direction + RSI confirmation to generate simple Buy and Sell signals.
Automatically draws Stop Loss and Take Profit zones for every entry.
Minimal, stable, and designed for high-probability setups on any timeframe.





















