Multi VWAPMulti VWAP indicator for Wick Hunter
For when you are running out of indicator slots
Can configure each set for Setting 1/2/3, or for Binance bot 1/Binance bot 2/Bybit bot, etc.
By honeybadger, built on original code by STP Todd (see indicator "Wick Hunter VWAP")
ค้นหาในสคริปต์สำหรับ "bot"
BTC 15 minThis strategy try to catch the uptrend mainly (seems to work on BTC 15 less on others)
the aim is to get 2% in uptrend which is more easy to do then to search only for lowest
since it buy in uptrend it can risky if market change direction
there are two take profit (1% and 2% ) , you take out 50% of equity after the first 1% gain
the stop loss and re buy set 5%
so you exit after 5 % loss and re buy it again at lower price
the aim here is to do leverage trades so you can calculate your risk or lot and the leverage power you want
now set on 100% lot leverage X1
you can try any combination you want but when you do leverage trading you need to do things that the back tester of TV cannot do so well
for example if you put 100X leverage you will be liquidated at 1%
50=2%
20=5%
10=10%
5=20%
you need that your stop loss will be above the liquidation level
stop loss are shit in margin trades as they can kick you out very fast and you will lose many good trades
so I prefer 5X max 10 X trade (this bot can work by himself but i prefer to do it manually for this kind of trades.
all u need to do is to choose what risk you want to have (3% of lot? 5%, 10% or higher )
so this tool try to give you upward buy strategy that aim to get longs at upward trends (short targets that are more easy to get )
and to use leverage as way to make more profit (now bot set to no leverage )
be wise with your money :)
the bot not suppose to repaint but if you find repaint issue then let me know
buy system is based on cross of linear over modified non repainted HMA that set to 1 min (so it buy the uptrend only+ filter based on ema that try not to start cycle of buy in down traade
sell is not so important is mainly cased on percentage channel seen
trend color on Chanel not related to the buy and sell system
Theft Indicator - BUY/SELL AlertsWhat is our indicator?
Theft Indicator - Buy & Sell Alert System is our first published script that shows price action on a certain period of time (We Use ATR indicator). We take pride in enabling trading to become easier for the experienced and the non-experienced traders around the globe. Buy & Sell alerts will be fired once a conditions in our algo is met.
Does it Repaint?
Our indicator does NOT re-paint. Although while setting an alert it may pop up the repaint alert, please take into consideration that once a signal is fired on a "CLOSED BAR", our signal will never disappear, they do not repaint.
What Markets is it usable with?
You can use it in any market, Forex, Stocks, Crypto, Indices. We recommend high time frames but you can also use it on the 1 minute chart if you are a scalper and a risk taker. All time frames are profitable, not all trades. But the Majority is profitable. We will soon add a backtest strategy for it, there is no ETA on it tho.
How to use:
Simple plug and play it to your chart, in addition to a few other indicators we will recommend to you (we still have not published them yet), and this will confirm your trades. You can also connect TV alerts with a bot and let it run. Please be aware that SLIPPAGE time is important, If you run a bot on this indicator you HAVE to know that the buy/sell price will be on the bar AFTER the Candle close (For example: the BUY/SELL alert is on a candle, the buy/sell your bot or you will execute WILL be in the following candle depending on your trading system. Theft Indicator - Buy/Sell Alerts work best with higher time frames, however it works on smaller time frames, we recommend 15 mins, 30 mins, 1hr, 4hr. It just depends on your trading style. Please contact us if you do not understand how to use it.
How are the Buy/Sell Alerts fired?
We use the simple ATR (Average True Range) indicator. However we have modified the indicator to fit our trading system. Check below for a definition of what ATR is:
What is Average True Range - ATR?
The average true range (ATR) is a technical analysis indicator that measures market volatility by decomposing the entire range of an asset price for that period. Specifically, ATR is a measure of volatility introduced by market technician J. Welles Wilder Jr. The true range indicator is taken as the greatest of the following: current high less the current low; the absolute value of the current high less the previous close; and the absolute value of the current low less the previous close. The average true range is then a moving average, generally using 14 days, of the true ranges.
Why is our indicator special and different from the normal ATR indicators?
We have modified the mathematical equation and changed it slightly to give more accurate signals, we do not promise all trades are profitable, the use of this indicator is up to your own judgement and liability. We believe that we have an indicator like no other ATR because of our algo that is different from the normal ATR calculation.
P.S: This is not financial advice, we are just sharing our indicator that we know has good results, and it will take time for people in -ve profiles to recover losses and for the profiting to be more profitable.
You can contact me for more information about the indicator, Goodluck :)
Kirk65 UTBot Strategy FixedCredits to @HPotter for the orginal code.
Credits to @Yo_adriiiiaan for recently publishing the UT Bot study based on the original code.
Credits to @TradersAITradingPlans for making UT Bot strategy.
Strategy fixed with time period by Kirk65.
UT Bot works great with 2 hour time frame with Heikin Ashi, but riskier. Use "Once per bar" In alerts with 1.5% stoploss. If the price goes against Alerts, stoploss will save your assets. Wait until next Alert.
4 hour time frame is less risky and less profitable.
Happy trading..
Kirk65
DayTrade - XBTUSD 5m [ALERTSETUP]Plug & Play indicator for BITMEX:XBTUSD in 5 minute timeframe for Manual or Automated Day Trading.
Built upon Cyatophilum Scalping Bot
Backtest below show results over 2 weeks, calculated with a 0.075 % commission fee and using 100% of equity on each trade from 10 000$ inital capital.
> Get access to the Cyatophilum Indicators <
Trends in Black and White'Trends in Black and White' is now rolling out to all of our Pro Community members
What is it for? This is a simple visual indicator designed to help users identify long or short bias. It does not provide direct entries and exits but can be used effectively in combination with Trendmaster Premium and other technical analysis methods.
How do i get access?
This indicator is available as a free extra to all of our Pro community members only.
All of our packages are listed below.
- Premium - $50 - This gives you access to the TrendMaster Premium TradingView indicator (www.tradingview.com), the TrendMaster Premium Binance signal bots and the Premium Discord channels.
- Premium+ - $75 or $25 for existing Premium users - All the benefits of the Premium package, but with added signal bots for Bittrex, Bitfinex and Kucoin exchanges.
- Pro - $100 or $50 for existing Premium users/$25 for existing Premium+ users -Access to 'Trendmaster Premium' and 'Trends in Black and White' indicators. All the benefits of the Premium+ package, but with added signal bots for D1 and H4 Ichimoku TK cross and Ichimoku cloud breakout for Binance.
The mandatory Legal bit:
@IchimokuScholar and @Crypto_C00kie wish you the best of luck in achieving your trading goals. Please apply appropriate risk management.
Any form of trading has large potential rewards but also large potential risks. The Purchaser must be aware of those risks and be willing to accept them. Don't trade with money that you, the Purchaser cannot afford to lose. No representation is being made that you are guaranteed positive results. The past performance of any trading methodology is not necessarily indicative of future results. Trading involves high risks. @TrendmasterTM, @IchimokuScholar or @Crypto_C00kie are NOT responsible for any trades that you, the Purchaser take. All trades taken are entirely at the Purchasers own risk. Refunds are neither offered nor implied.
inwCoin BB+Stoch StrategyStrategy using BB and Stoch for entry, trailing for exit.
-------
IDEA
-------
* If price move to reach upper BB and pull back and cross down middle line, and stoch is on OB zone, it will enter short.
* If price move to reach lower BB and pull back and cross up middle line, and stoch is on OS zone, it will enter long.
* Stoch help filter out the bad entry from BB logic, helping with high win trade %
* I smooth out stoch by using 30 length and found out it give better profit%
=============================================
Test Data Detail
=============================================
Exchange : OKEX
Coin : BTCUSD3M
Timeframe : 1H
Date range : 2018/1/1 - 2019/1
For : Trailing with bot ( If you have one :P )
Config
Trade % = 20 ( You can increase trade size of your total port but it will get you into more risky trade. ( but yes, more profit ) ... u can increase trade size if you have enough profit
Trailing Start = 20 ( If you can write bot, it will start trailing when the profit % reach this value )
Trailing Stop = 5 (If you can write bot, it will take profit if the profit drop below this value from trailing start.)
Take Profit = 100 (It will set fixed TP for whipsaw case ( rarely reach this target ) )
Stop % = 50 ( so this trade is RR = 2 nice! )
Leverage = 20 ( so we can withstand the price fluctuation and not get liquidated, if you trade spot, please choose 1 also, please adjust TP and stop accordingly eg. leverage 1 / TP = 20 / SL = 10 )
Trade Direction = Both ( for margin market, if you want to trade spot like Binance you can choose long only )
Stoch Oversold Zone = 30 ( if stoch stay below or equal this value, it is oversold )
Stoch Overbought Zone = 50 ( if stoch stay above or equal this value, it is overbought )
Stoch Length = 30 ( the more length, the more smooth out of Stoch )
SmoothK1 = 1 ( the smoothness of K )
inwCoin HMA StrategySuper duper strategy using HMA ( Hull Moving Average ) 10 and 50 for decided entry ( short / long )
There are 2 type of strategies, you can choose with checkbox.
(1) Aggressive Strategy Ticked
* If ticked, strategy will enter position again if the condition met. ( both line red ) after Taking Profit ( or Stop Loss )
* It will use trailing start/stop so the profit is kinda crazy ( and yes, impossible in real world lol )
* The problem is, it will enter position like crazy and you might get a lot of loss from fee
(2) Aggressive Strategy not Ticked
* It will enter once only ( HMA10 just changed color to the same as HMA50 )
* If TP or SL already, it will wait for next signal
* Less trade, less profit, but safer. ( wait for right signal )
** For Aggressive Strategy, you can't select the date from 1/1/2018 because the trade record is way too much .... lol
** You can experiment yourself with other exchange/coin as your like.
=============================================
Test Data Detail
=============================================
Exchange : OKEX
Coin : BTCUSD3M
Timeframe : 1H
Date range : 2018/2/9 - 2019/1
For : Trailing with bot ( If you have one :P )
Config
Trade % = 20 ( You can increase trade size of your total port but it will get you into more risky trade. ( but yes, more profit ) ... u can increase trade size if you have enough profit
Trailing Start = 20 ( If you can write bot, it will start trailing when the profit % reach this value )
Trailing Stop = 5 (If you can write bot, it will take profit if the profit drop below this value from trailing start.)
Take Profit = It will set fixed TP for whipsaw case ( rarely reach this target )
Stop % = 50 ( so this trade is RR = 2 nice! )
Leverage = 20 ( so we can withstand the price fluctuation and not get liquidated, if you trade spot, please choose 1 also, please adjust TP and stop accordingly eg. leverage 1 / TP = 20 / SL = 10 )
Trade Direction = Both ( for margin market, if you want to trade spot like Binance you can choose long only )
Hull 1 Length = 10 ( Fast HMA length)
Hull 2 Length = 50 ( Slow HMA length)
Hull trend test length = 2 ( hull test range for rising or down trend )
Aggressive Strategy = YES ( enter next position if condition met immediately )
Strategy - Bobo's Pivot ATR SwingHi there, welcome to my pivot ATR swing bot. I put this out there with source code hidden to see what ideas others have to use it. Also if there are any coders of trading systems out there who wanted to work with me to put this into a form that could trade automatically we could both use... I'd welcome that kind of collaboration and will happily share the underlying rules of this and the more highly developed version that isn't public.
But as it is, the signals are free for all, use them as you wish and at your own risk. If you want to discuss the code, strategy or ideas, I'm around fairly regularly just message.
The bot is fairly simple design that will give you signals for long and short intraday/week on equity futures / CFDs / ETFs. You'll see it backtests fairly well on an hourly SPX500 chart as configured. You will need to set up certain parameters to account for any different timeframes and markets you wish to trade. For me it's most effective pick out a few good swing trades per week in equity futures. However part of the idea of putting this in the public domain is to see if other people will have good but different ideas how to use it. Please share with me if so :).
The basic concept is a series of 3 lines that define the area and movement we wish to trade. The daily pivot is the central line (blue). We are looking to capture reversions to this middle line from extremes (red and green). Therefore the bot will signal exit at the close of every candle that has passed through the pivot.
Entry is decided by the outer bands around the blue line. Red is the top band, green the bottom. As configured, these are simply placed a daily ATR value apart, centred around the pivot. You can change this quite a lot though, so let's go through the settings:
Pivot Timeframe - simple, a daily pivot is calculated from the previous day's values (high + low + close)/3 . BUt the same calculation can be applied to any length candle, day, minute, month or whatever. This makes the middle target line more or less responsive to recent price action.
ATR Band Timeframe - When we calculate the average range, we need to know what candle length makes up our series. Daily candles is the default, but you can change that here.
ATR Lookback - When we calculate the average range, we need to know how many instances of the timeframe (day, minute, hour etc) we look back to create an average. The lower the lookback value, the more the width of the bands (the distance from pivot) will change quickly based on the volatility of previous candles. The higher the lookback value, the more stable the band width will be to recent volatility.
ATR divisor - The ATR value above is divided by this value, before being added or subtracted to the pivot to create the red and green lines. Default value is 2, and this means the distance from the red band to the green band will be equal to 1 ATR, as calculated according to the parameters above. Setting this to 1 would mean that each band is one ATR away from pivot (ie the bands got wider apart). Set this to 4, and it means that it is only 1/2 an ATR from green to red.
Take Profit / Stop Loss. - We know what a stop and profit target are, but worth nothing that a 0 value disables stop loss or profit targets. The bot will still close positions when crossing pivot.
Also, note the mintick value of the instrument you apply this to. For example for the CFD chart SPX500 the mintick value is 0.1. So a 100 value for stop loss = 10 points on SPX500. but if you were to trade the same thing basically, but the emini future ES, the mintick value is 0.25. So for a 10 point stop on the ES chart, you would need a value of 40 in this bot. US30 and YM have convenient mintick values of 1. Currencies can be a bit of a nightmare :).
TrendMaster Premium ©Trendmaster Premium©
We are proud to release the final version of Trendmaster Premium©. This indicator is the result of months of development between @TrendmasterTM and @Crypto_C00kie.
Trendmaster Premium© is a Trend following system that provide entries, exits and stop loss placement. It is extremely simple to follow and we have experienced outstanding results.
When purchasing Trendmaster Premium© you will receive access to the indicator suite and access to our private members discord group.
Discord: The discord channel is a place where traders can discuss ideas and share content.
It includes
Bots – The discord channel currently has two bots that constantly scan Binance for signals. They will alert you by notification of any BTC pair that has printed a signal candle. Currently the bots report D1 and H4 signals as these are the time frames the indicator is designed for. These are designed to alert you to possible trades and should NOT be blindly traded from.
Chat – Several chat servers offering educational resources, guidance on how to use the indicator and chart/idea sharing.
The mandatory Legal bit:
@IchimokuScholar and @Crypto_C00kie wish you the best of luck in achieving your trading goals. Please apply appropriate risk management.
Any form of trading has large potential rewards but also large potential risks. The Purchaser must be aware of those risks and be willing to accept them. Don't trade with money that you, the Purchaser cannot afford to lose. No representation is being made that you are guaranteed positive results. The past performance of any trading methodology is not necessarily indicative of future results. Trading involves high risks. Neither @TrendmasterTM or @Crypto_C00kie are responsible for any trades that you, the Purchaser take. All trades taken are entirely at the Purchasers own risk. Refunds are neither offered nor implied.
Study_v8- Used with Autoview… Longs / Margin TradingInvite only…
FREE Access until my bot is built (Target Date…. May 2018).
Only allowing 20 people to use.
Cost will be 10% of any profits made. Minimum account balance being traded must be $1,000.
After my bot is built, this script will ONLY be used with my bot and all access on here (Trading View) will be removed after the final sell trigger is completed!
****Can be used for just Longs.. or for Margin Trading.****
For Longs only.. Settings and Alert condition examples found here:
drive.google.com
For Margin trading... Settings and Alert condition examples found here:
drive.google.com
Strat_v8 - Used with Autoview… Longs / Margin TradingInvite only…
FREE Access until my bot is built (Target Date…. May 2018).
Only allowing 20 people to use.
Cost will be 10% of any profits made. Minimum account balance being traded must be $1,000.
After my bot is built, this script will ONLY be used with my bot and all access on here (Trading View) will be removed after the final sell trigger is completed!
****Can be used for just Longs.. or for Margin Trading.****
For Longs only.. Settings and Alert condition examples found here:
drive.google.com
For Margin trading... Settings and Alert condition examples found here:
drive.google.com
Bitcoin 60 Day Cycle Tracker (with Alerts) - Bob Loukas MethodBitcoin 60-Day Cycle Tracker
For just $47.00 USD one-off payment
You can pay directly to this URL & I'll setup ASAP - PayPal.Me insert $47 USD & your tradingview userid in payment comment.
Alternatively, pls Private Message (PM) via TradingView for other methods you may wish to use.
🎯 Premium Features
This is the PREMIUM version with full alert functionality. Thank you for your support!
What's Included
All Free Version Features
✅ Automated cycle detection (green/red arrows)
✅ Real-time dashboard with 8 data points
✅ Smart filtering and customization
✅ Bitcoin-only & 1D timeframe lock
⚡ Premium Alert System
Six Automated TradingView Alerts:
⏰ Time-Based Alerts (Proactive)
Day 50 Alert - "Cycle Midpoint"
Fires exactly 50 days into current cycle
10-day advance warning before typical cycle low
Use to: Prepare entry strategy, set price alerts
Message: "Day 50 reached. Approaching typical cycle low window."
Day 55 Alert - "Late Cycle Phase"
Fires exactly 55 days into current cycle
5-day advance warning - optimal preparation window
Use to: Final entry preparation, monitor for weakness
Message: "Day 55 reached. Watch for potential cycle low formation."
Day 60 Alert - "Expected Cycle Low"
Fires exactly 60 days into current cycle
Prime timing window for cycle low
Use to: Heightened attention, execute entry plan
Message: "Day 60 reached. Expected cycle low window."
Day 65 Alert - "Extended Cycle"
Fires if cycle extends beyond 65 days
Warning that cycle is running long
Use to: Recalibrate expectations, reduce urgency
Message: "Day 65 reached. Cycle extending beyond typical range."
📊 Pivot Detection Alerts (Reactive)
New Cycle Low Detected
Fires when green arrow appears (automated pivot detection)
Confirms new cycle has started (resets counter to Day 1)
Use to: Execute planned entry, adjust positions
Message: "New cycle low detected at . Monitor for reversal."
Cycle High Detected
Fires when red arrow appears (automated pivot detection)
Marks significant peak within current cycle
Use to: Take profits, tighten stops, reduce leverage
Message: "Cycle high detected at . Consider position management."
Alert Configuration Recommendations
Notification Settings:
✅ Push Notifications (for time-sensitive signals)
✅ Email (for documentation and record-keeping)
⚠️ SMS (optional - for critical alerts only to avoid spam)
🔗 Webhook (for trading automation - advanced users)
Alert Frequency:
Set to "Once Per Bar Close" (recommended)
Avoid "Once Per Bar" (creates too many false alerts)
Sound Settings:
Different sounds for time-based vs pivot alerts
Louder/distinct sound for Day 60 and Cycle Low alerts
ALERT USAGE STRATEGIES
Strategy 1: Conservative Accumulation
Setup:
Enable: Day 55, Day 60, Day 65, New Cycle Low
Disable: Day 50, Cycle High
Logic:
You want to accumulate near cycle lows only, with advance warning.
Workflow:
Day 55 alert → Start monitoring, prepare buy orders
Day 60 alert → Increase vigilance, refine entry levels
Day 65 alert → Cycle running long, stay patient
New Cycle Low alert → Execute entry (green arrow confirmed)
Strategy 2: Active Trading
Setup:
Enable: All 6 alerts
Logic:
You want to trade both entries (lows) and exits (highs).
Workflow:
Day 50 alert → Start planning entry
Day 55 alert → Prepare entry strategy
Day 60 alert → Ready to execute
New Cycle Low alert → Enter position
Cycle High alert → Take partial profits, set trailing stop
Day 50 alert (next cycle) → Begin exit preparation
Strategy 3: Risk Management
Setup:
Enable: Day 60, Day 65, New Cycle Low, Cycle High
Logic:
You manually identify cycles but want confirmation and miss protection.
Workflow:
Manual analysis identifies approaching cycle low
Day 60 alert → Confirms your analysis timing
New Cycle Low alert → Validates your entry
Cycle High alert → Reminds you to manage position
Day 65 alert → Warns if you're waiting too long
Strategy 4: Automation Setup
Setup:
Enable: New Cycle Low, Cycle High
Configure: Webhooks to trading bot/platform
Logic:
Fully automated trading based on confirmed pivots.
Webhook Payload Example:
json
{
"action": "{{strategy.order.action}}",
"price": "{{close}}",
"cycle_day": "{{plot_0}}",
"ticker": "{{ticker}}"
}
Integration:
3Commas, Alertatron, TradersPost, or custom bot
New Cycle Low → Open long position
Cycle High → Close position or take profit
Advanced Alert Customization
Combining with Other Indicators
Example: Confluence Filter
Set up this indicator's alerts
Add RSI/volume/MA indicator
Create compound alert: "Cycle Low AND RSI < 30"
Result: Only alerts on oversold cycle lows
Example: Multi-Timeframe
Day 60 alert fires (1D)
Switch to 4H chart for precise entry
Wait for 4H confirmation (hammer candle, volume spike)
Enter on 4H timeframe with 1D cycle context
Review Monthly:
Which alerts were most accurate?
Did you follow your plan?
Were false signals clustered in specific conditions?
Adjust sensitivity settings based on results
IMPORTANT NOTES
Respect the Cycle - Not every cycle low is a buy opportunity
Not every cycle high requires an exit
Context matters: bull vs bear market
Position Sizing - Scale in across days 55-65 (not all at once), largest size on green arrow confirmation
Never risk more than 2-5% per alert
Alert Troubleshooting
## Alert Didn't Fire
Possible Causes:
Indicator not showing on chart (timeframe/symbol wrong)
Alert condition not met (e.g., cycle too short)
TradingView server lag (rare)
Alert accidentally deleted/paused
Solution:
Verify indicator is active on chart
Check alert list (clock icon) for status
Recreate alert if missing
Test with Day 1 alert (fires every new cycle)
## Too Many False Alerts
Possible Causes:
Pivot settings too sensitive
Market in consolidation/chop
Frequency set to "Once Per Bar" (not bar close)
Solution:
Increase Pivot Lookback to 7-8
Increase Min Days Between Lows to 53+
Change frequency to "Once Per Bar Close"
Consider disabling alerts in ranging markets
## Missed Cycle Low
Possible Causes:
Pivot lookback too high (not sensitive enough)
Min Days filter blocked detection
Cycle was unusually short (<45 days)
Solution:
Lower Pivot Lookback to 5
Lower Min Days Between Lows to 45-48
Enable Smart Overlapping feature
Supplement with manual analysis
Update Policy
All updates included with premium access
Access tied to your TradingView account
Alert Limitations:
Alerts are based on historical pivot detection (lagging)
Time-based alerts are forward-looking but not predictive
No alert system guarantees profitable trades
Technical failures may prevent alert delivery
Trading Risks:
Alert or Automated trading amplifies both profits and losses
Webhook errors can cause unintended positions
Always test with small size first
Never trade beyond your risk tolerance
No Warranty or Liability:
Indicator provided "as-is"
No guarantee of uptime or accuracy
Not liable for trading losses whatsoever
Not financial advice or recommendations
By using this premium indicator, you acknowledge these risks and accept full responsibility for your trading decisions.
Contact
For premium support questions, use TradingView private messages or the contact method provided at purchase.
For just $47.00 USD one-off payment
Thank you for supporting this project! 🚀
WTN Technical SuiteThis indicator is designed as a companion overlay for the Whale Trading Network (WTN) system. It combines multiple technical analysis tools into a single, customizable script to enhance chart readability and decision-making.
Our custom-built invite only TradingView indicator automates technical analysis for crypto and stocks, sending real-time alerts to our Discord community.
When you join, you don’t just get access—you get an edge. Our Ticker Bot, included with your membership, puts real-time market intelligence at your fingertips. Subscribe to your chosen asset, and the bot will instantly create a private alert channel just for you. Every alert comes straight from the indicator, delivered in real time, so you never miss an opportunity.
Want even more clarity? Enable your private summary channel to transform your dot alerts into a clean, easy-to-read table—perfect for quick decision-making.
But that’s just the beginning. Our system tracks hundreds of assets, storing critical data in a powerful SQL database. With a single request, you can generate a custom asset report packed with actionable insights, including:
Latest technical alerts
A clear bullish/bearish score
The most recent suggested stop-loss level
Key Features
Multi-Timeframe Analysis
Advanced Momentum Logic
Dynamic Risk Filters
Stop-Loss Guidance
Cross-Asset Awareness
Types of Alerts You’ll Receive
Each alert includes symbol, timeframe, price, trend context, momentum label, SMA stack status, RSI zone, and stop-loss suggestion.
This isn’t just information—it’s your competitive advantage.
AI Signal Engine [Buy/Sell/Close Signals]📘 AI Signal Engine
The AI Signal Engine is a clean, no-lag, volatility-adaptive signal indicator that automatically identifies high-probability Buy, Sell, and Close signals based on trend and momentum shifts.
This tool blends the SMA (Simple Moving Average) for directional bias with the ATR (Average True Range) for volatility expansion and contraction, allowing you to trade only when the market shows real strength or weakness — not noise.
🔹 Core Concept
Price moves in volatility cycles: compression → expansion → exhaustion.
The AI Signal Engine tracks this cycle using:
Moving Average (MA): Defines baseline trend and filters fake reversals.
ATR Bands: Measure volatility boundaries for breakout confirmation.
When price breaks above the upper ATR band, it confirms bullish momentum → Buy Signal.
When price breaks below the lower ATR band, it confirms bearish momentum → Sell Signal.
The indicator then automatically gives Close Buy or Close Sell signals when conditions flip.
🧭 Signals Explained
Signal Type Meaning Typical Action
🔼 Buy Signal Price breaks above upper band Enter long / close short
🔽 Sell Signal Price breaks below lower band Enter short / close long
❌ Close Buy Bullish trend invalidated Take profit or exit long
❌ Close Sell Bearish trend invalidated Take profit or exit short
⚙️ Customization
Adjustable MA length, ATR length, and ATR multiplier
Optional background coloring for active positions
Clean chart labels and visual zones
4 dedicated alert conditions for automation or webhook bots
💡 Usage Tips
Works on any timeframe and asset (crypto, forex, indices, stocks).
Combine with volume or higher timeframe confirmation for elite precision.
Ideal for trend-riders, breakout traders, or algorithmic signal filters.
📈 Example Workflow
Add the indicator to your chart.
Wait for a Buy/Sell signal that aligns with higher-timeframe bias.
Exit automatically when a Close Buy/Sell alert triggers.
Optionally automate trades through webhooks or bot integrations.
Alerts v6The strategy includes:
✅ EMA-based trend direction (fast vs slow)
✅ RSI filtering for overbought/oversold control
✅ ADX confirmation for strong trend validation
✅ Pullback & BOS detection for precision entries
✅ Per-bar change logic for adaptive entry timing
✅ Session/day gating to control trading hours
✅ JSON alert integration for AI trading bots or webhooks
This script is Pine Script v6 compatible and optimized for automated alert-based trading setups such as AI trading bots, webhook systems, and VPS-linked executions.
Recommended Timeframes: 5m, 15m, 30m
Markets: XAUUSD, FX pairs, indices, and metals
Scalping m15 indicator RovTradingScalping Indicator Combining UT Bot and Linear Regression Candles.
UT Bot uses ATR Trailing Stop to identify entry points.
Linear Regression Candles smooth price action and provide trend signals.
The indicator is suitable for scalping trading on the M15 timeframe.
MACD Filter Test - MTF Alignment with Scoring System# MACD Multi-Timeframe Scoring System
## Overview
**MACD MTF Scoring** is an advanced, multi-timeframe trading indicator that combines classical MACD analysis with a sophisticated scoring algorithm to generate high-quality trading signals. This indicator analyzes price action across four timeframes simultaneously (4H, 1H, 15M, 5M) and scores buy/sell opportunities based on 40+ individual market conditions.
### Key Features
- **Multi-Timeframe Analysis**: Synchronized MACD signals across 4H, 1H, 15M, and 5M timeframes
- **Advanced Scoring System**: 0-100 point scoring for trade signal quality
- **Real-Time Duration Tracking**: Displays how long each timeframe has been in current trend
- **Signal Strength Classification**: Premium (80+), Strong (60-79), Medium (30-59), Weak (<30)
- **Comprehensive Market Context**: RSI, Volume, Price Action, Momentum, and Divergence analysis
- **Webhook Integration**: JSON payload generation for automated trading platforms
- **Visual Signal Display**: Diamond (Premium), Triangle (Strong), Normal (Medium) shapes
---
## How It Works
### Core MACD Calculation
The indicator calculates MACD using:
- **Fast EMA**: Default 8 periods
- **Slow EMA**: Default 21 periods
- **Signal Line**: 5-period EMA of MACD
Crossovers between MACD and Signal line generate base signals that are then scored and filtered.
### Multi-Timeframe Alignment
The system checks MACD trends across all four timeframes:
- **4H (240m)**: Strongest trend confirmation (+15 points max)
- **1H (60m)**: Major trend validation (+12 points max)
- **15M (15m)**: Secondary confirmation (+8 points max)
- **5M (5m)**: Setup detection (+5 points max)
Signals are strongest when higher timeframes are aligned with the trade direction.
---
## Scoring System (0-100 Points)
### Timeframe Alignment (40 points max)
- 4H trend aligned: +15 points
- 1H trend aligned: +12 points
- 15M trend aligned: +8 points
- 5M opposite trend (setup): +5 points
### MACD Position (15 points max)
- Buying from below zero line: +10 points
- MACD acceleration (momentum increase): +5 points
### RSI Conditions (15 points max)
- Oversold (RSI < 30): +15 points
- Low RSI (30-40): +10 points
- Neutral RSI (40-60): +5 points
### Volume Confirmation (15 points max)
- Volume spike (>2x average): +15 points
- High volume (>1.5x average): +10 points
- Normal volume (0.8-1.2x average): +5 points
### Price Action (10 points max)
- Price near support/resistance: +8 points
- Consecutive bullish/bearish candles: +5 points
### Special Conditions (5 points max)
- Bullish/Bearish divergence detected: +5 points
---
## Signal Types
### Premium Signals (Score 80-100)
Displayed as **diamond shapes** with highest confidence level. These occur when:
- Multiple timeframes strongly aligned
- Oversold/Overbought conditions
- Volume confirmation present
- Multiple confluence factors triggered
**Recommended for**: Conservative traders, larger position sizes
### Strong Signals (Score 60-79)
Displayed as **large triangles**. Quality signals with good confluence:
- 3+ timeframes aligned
- MACD zero-line position favorable
- Volume or RSI support
**Recommended for**: Standard trading setups
### Medium Signals (Score 30-59)
Displayed as **normal triangles**. Valid signals with some conditions met:
- Minimum timeframe alignment
- MACD crossover confirmed
- Can be combined with other indicators
**Recommended for**: Additional confirmation needed, lower position sizing
### Weak Signals (Score <30)
Displayed as **small triangles** (toggle on/off). Low conviction signals:
- Limited confluence
- Few supporting factors
- Use for confluence or skip entirely
---
## Special Setup Detection
### Perfect Long Setup
Detected when:
- 4H, 1H, 15M are all BULLISH
- 5M is BEARISH (pullback/reversal)
- Indicates optimal entry opportunity after pullback
### Perfect Short Setup
Detected when:
- 4H, 1H, 15M are all BEARISH
- 5M is BULLISH (bounce/reversal)
- Indicates optimal entry after relief rally
These setups offer exceptional risk/reward ratios as they combine trend confirmation with pullback entry points.
---
## Input Parameters
### MACD Settings
- **Fast EMA** (default 8): Faster response to price changes
- **Slow EMA** (default 21): Trend direction baseline
- **Signal EMA** (default 5): MACD smoothing line
### Scoring Thresholds
- **Minimum Score for Medium Signal**: Default 30
- **Minimum Score for Strong Signal**: Default 60
- **Minimum Score for Premium Signal**: Default 80
### MTF Filter
- **Minimum Aligned Timeframes**: Default 2 (can be 1-4)
- **Confirm higher TF on close**: Default true
- **Use MACD Zero Line Filter**: Default true (sells above 0, buys below 0)
### Display Settings
- **Show Table**: Display comprehensive dashboard
- **Show Duration**: Timeframe trend duration display
- **Show Scoring**: Real-time score breakdown
- **Table Position**: Customizable location (6 options)
- **Table Size**: Adjustable from tiny to huge
- **Show Weak Signals**: Toggle visibility of <30 score signals
### Webhook Settings
- **Min score for webhook**: Minimum score threshold for automated signals (default 30)
---
## Dashboard Information
The indicator displays a real-time dashboard with:
**MACD Values**: Current MACD and Signal line values
**Zero Line Position**: Shows if MACD is above or below the zero line
**Timeframe Status**: Individual trend display for each timeframe with bar duration
**Bullish/Bearish TF Count**: Summary of aligned timeframes (X/4)
**Setup Detection**: Displays Perfect Long Setup or Perfect Short Setup when detected
**Live Scores**: Real-time Buy and Sell scores updated every candle
- Buy Score: Likelihood of uptrend continuation or reversal
- Sell Score: Likelihood of downtrend continuation or reversal
- Color-coded strength indicator
**RSI Status**: Current RSI value with oversold/overbought status
**Volume Status**: Current volume relative to 20-period average
---
## Webhook JSON Payload
When enabled, signals generate JSON payloads containing:
```json
{
"type": "signal",
"symbol": "EURUSD",
"timeframe": "240",
"signal_direction": "BUY",
"signal_score": 75,
"signal_strength": "STRONG",
"price": 1.0850,
"macd": 0.00125,
"signal_line": 0.00089,
"rsi": 28.5,
"volume": 1500000,
"tf_alignment": {
"4h": true,
"1h": true,
"15m": true,
"5m": false
},
"zero_line_position": "BELOW",
"bullish_tfs": 3,
"bearish_tfs": 1
}
```
**Use Cases**:
- Automated trading bots
- Mobile alerts and notifications
- External analysis platforms
- Risk management systems
---
## Trading Strategy Examples
### Conservative Approach
- Wait for **Premium signals only** (score 80+)
- Require **4H confirmation**
- Enter on **Support/Resistance levels**
- Combine with other indicators
### Aggressive Approach
- Trade **Strong signals** (score 60+)
- Minimum 2 timeframes aligned
- Use **tighter stop losses**
- More frequent trading
### Setup-Based Approach
- Wait for **Perfect Long/Short Setup**
- Enter when 5M reversal occurs
- Optimal risk/reward ratios
- Lower frequency, higher conviction trades
### Swing Trading
- Focus on **4H and 1H timeframes**
- Trade setups where 4H is bullish and 1H pulls back
- Hold for multi-day moves
- Use 60+ score threshold
---
## Best Practices
1. **Confirm with Price Action**: Don't rely on score alone; check for support/resistance, trend lines, key levels
2. **Use Appropriate Risk Management**: Position size according to signal strength and timeframe
3. **Monitor Volume**: Strong signals should have volume confirmation
4. **Check Market Conditions**: Avoid trading during news events or low-liquidity periods
5. **Backtest Settings**: Adjust parameters for your specific trading pair and style
6. **Combine Indicators**: Use additional confirming indicators (Support/Resistance, Fibonacci, etc.)
7. **Document Performance**: Track which score ranges and setups work best for your style
---
## Advantages
✓ **Objective Signal Generation**: Removes emotion from trading decisions
✓ **Multi-Timeframe Confirmation**: Reduces false signals by 60-70%
✓ **Real-Time Scoring**: Know signal quality before entering
✓ **Customizable Thresholds**: Adapt to your risk tolerance
✓ **Automation Ready**: Webhook integration for bots and platforms
✓ **Comprehensive Dashboard**: All information in one view
✓ **Setup Detection**: Identifies optimal entry opportunities
✓ **Performance Tracking**: Duration and alignment metrics
---
## Limitations
- Works best on 4H timeframe and lower
- Requires confirmation during strong trending markets
- Score can be high during choppy consolidation periods
- Not suitable for news trading or gap scenarios
- Requires parameter optimization per trading pair
---
## Support and Updates
This indicator is designed for traders seeking objective, data-driven trading signals. Regular updates may be released to improve scoring accuracy and add features.
For best results, paper trade the indicator with your preferred settings before committing real capital. Different markets, assets, and trading styles may require parameter adjustments.
---
## Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice. Past performance does not guarantee future results. Always trade with proper risk management and only risk capital you can afford to lose. Test thoroughly before live trading.
ORB FVG Strategy with telegram V6.1Summary
Intraday NY-session strategy with Opening-Range bias (09:30–10:00 NY), FVG entries (incl. optional HTF FVGs), momentum filters (LinReg slope & Williams %R), limit entries inside the zone, SL from FVG anchors, and TP via risk-reward. Includes session/trade caps, pending-order handling, auto-cancel at NY time, and optional Telegram webhook alerts.
Feature Overview
Opening Range & Bias: OR high/low built until 10:00 NY, then frozen. Bias from confirmed 5-minute candles (modes: Body Close, Complete Candle, Wick Only).
FVG Scanner: Bull/bear FVGs (choose wick or body gaps), min size, auto-extend, mitigation cleanup (touch or 50%).
HTF FVG (10 min): Optional – displayed after ≥ 2 consecutive FVGs; cleans up on touch/50%.
Entry/SL/TP: Entry at X% fill (+extra %) within the FVG; SL from FVG candle / FVG-1 / FVG-2 (smart) + buffer; TP via risk-reward.
Momentum Filters: LinReg slope (MLL) + Williams %R with threshold/slope filters (individually switchable).
Intrabar Mode (optional): Immediate Open/intrabar entry on touch (calc_on_every_tick=true) or classic bar-close confirmation (toggle).
Trade Management: Max trades/day, pending cap, auto-cancel at defined NY time, pause after first winner (optional).
Telegram: Programmatic alerts via alert() with Telegram-ready JSON payload.
Parameters (compact)
Group Parameter Purpose
Sessions Trading session, Opening range Trading/OR window (internal NY TZ)
Bias Body Close / Complete Candle / Wick Only Bias confirmation relative to OR
Liquidity LQ session, lookback days, cleanup points, show lines Intraday liquidity marks & cleanup
FVG Min size, wick/body, colors, extend, cleanup Detection/visualization & validity
HTF FVG (10 m) Toggle/Display/Colors Conservative HTF filter/POI
Entry Fill %, extra %, max pending, validity (bars), cancel time, intrabar switch Execution timing, order caps, auto-cancel
Stop Loss Source: Candle / -1 / -2 (smart), buffer (points) SL anchor from FVG history + safety offset
Take Profit Risk-Reward (R:R) Target calculation
Momentum LinReg length/min slope, W%R length/min slope, HUD Trend/momentum filters
Trade Mgmt Max trades/day, pause after win Daily cap / risk cooldown
Telegram Enabled, tester, interval, channel id Webhook output & test signals
Debug & Info Debug panel, rejection reasons On-chart status/diagnostics
Alerts / Telegram Webhook (Quick Setup)
Create an alert with Condition: “Any alert() function call”.
Webhook URL: api.telegram.org
Message: leave empty (the strategy provides JSON via alert() – includes chat_id, parse_mode, text).
Ensure your bot can post to the channel and the chat_id is valid.
Repainting & Backtesting
HTF series via lookahead_off on closed higher-TF candles; FVG detection on confirmed bars (barstate.isconfirmed).
Intrabar/Open entries allow earlier fills but typically cause differences between backtest and live (tick granularity/slippage, limit touch on bar OHLC).
For reproducibility, trade without intrabar (bar-close only).
Limitations
No full tick simulation; limit fills rely on bar OHLC.
Liquidity “cleanup” is rule-based (not an orderbook).
Telegram depends on correct webhook configuration.
Tips
Timeframes: M5 (intrabar)
Start with modest R:R (e.g., 1.5–2.0) and tune filters carefully.
Disclaimer
No financial advice. Past results do not guarantee future performance. Use responsibly and follow Public Library rules.
License / Credits
© 2025 Lean Trading (Lennart Pomreinke). License: MPL-2.0.
Changelog
V06.1: Intrabar switch (Open/intrabar vs bar-close), Telegram sanitizer & tester, HTF-FVG cleanup, refined pending/cancel logic, debug panel (status & rejections).
DCA Strategy on Steroids for CryptoThis strategy getting only in Long position for Crypto
Using Fast and Slow moving Averages and Stochastic RSI to get in Long position
Fast and Slow moving Averages - cross-under - I Prefer - or opposite for Bull Market
Stochastic RSI cross-over - 5 and Trend Determined by the Fast moving Average
There is no Stop loss is not for one with small tolerance to getting under
Fast and Slow moving Averages and Stochastic RSI Parameters can be adjust
The bot Use Safe Trades and Price Deviation Determined from the User
Max Safe Trades = 10
Take profit Parameters can be adjust in %
Pepe-USDC is just a example What the bot Can do
Smart Money Concepts + Fibonacci + EMA - AI Enhanced Analysis### █ OVERVIEW
This indicator is not just another "all-in-one" tool; it's a **specialized data visualization layer designed for the new era of AI-driven chart analysis**. The primary purpose of the **"NarmoonAI"** indicator is to structure and display key market information in a clean, consistent, and machine-readable format.
Standard charts can be noisy and ambiguous for AI Vision models (like Google's Gemini or OpenAI's GPT-4). This script solves that problem by consolidating the most crucial technical analysis concepts—Smart Money Concepts, Trend Analysis, and Key Levels—into a clear visual language that an AI can easily interpret from a single screenshot.
This approach allows traders to leverage the power of artificial intelligence for faster, more objective, and deeper market analysis. It's designed to work seamlessly with our custom AI assistant, the **NarmoonAI Telegram Bot**, but can be used with any modern AI vision tool.
---
### █ CORE COMPONENTS & LOGIC
This indicator is a "mashup" with a clear purpose: to create a comprehensive yet clean analytical framework. Here is how each component contributes to the overall goal of AI-enhanced analysis:
**1. Smart Money Concepts (Supply & Demand Zones):**
* **How it works:** The script automatically identifies significant market turning points by detecting swing highs and lows using `ta.pivothigh` and `ta.pivotlow` over a user-defined `Swing Length`. These pivots form the basis of our Supply (resistance) and Demand (support) zones.
* **The "Smart" Edge:** To filter out weaker zones, the indicator analyzes the volume profile. Zones that are formed during periods of high volume (defined as >1.5x the 20-period simple moving average of volume) are highlighted in a stronger, more vibrant color. This signals areas of high institutional interest, a key concept in Smart Money analysis.
**2. Multi-Layered Trend Analysis (Exponential Moving Averages - EMAs):**
* **How it works:** We've included a customizable suite of four essential EMAs (20, 50, 100, and 200). These are not just random lines; they provide an instant visual reference for short, medium, and long-term trend direction and dynamic support/resistance.
* **Why it's useful for AI:** An AI can instantly parse the order and slope of these EMAs. For example, it can identify a strong uptrend when the price is above the 20 EMA, which is above the 50 EMA, and so on.
**3. Automatic Fibonacci Retracement:**
* **How it works:** Manually drawing Fibonacci levels is subjective and time-consuming. This script automates the process by identifying the highest high and lowest low over a `Fibonacci Lookback Period` (defaulting to 100 bars) and automatically plots the key retracement levels (0.236, 0.382, 0.5, 0.618, 0.786).
* **Why it's useful for AI:** It provides objective, universally recognized potential support and resistance levels without any manual drawing, ensuring a clean and consistent chart for analysis.
**4. Dynamic Trend Channels:**
* **How it works:** The indicator automatically draws trend channels by connecting the two most recent significant pivot highs (for a downtrend channel) or pivot lows (for an uptrend channel).
* **The "Dynamic" Edge:** The width of the channel is not fixed. It's dynamically calculated using the Average True Range (ATR), allowing the channel to expand and contract based on the market's current volatility. This provides a much more adaptive and realistic view of the trend's boundaries.
---
### █ HOW TO USE THIS INDICATOR
There are two primary ways to use the NarmoonAI indicator:
**A) For AI-Powered Analysis (Recommended):**
1. Apply the **NarmoonAI** indicator to any chart.
2. Take a clean screenshot of your chart.
3. Upload the image to your preferred AI Vision model (e.g., Gemini, ChatGPT) or, for the best results, use our specialized **NarmoonAI Telegram bot**.
4. Ask the AI for a detailed analysis. **Example Prompts:**
* *"Based on this chart, what is the current market structure? Identify key support and resistance levels."*
* *"Is there a potential long setup forming according to the information from the NarmoonAI indicator?"*
* *"Summarize the trend direction and strength using the EMAs and trend channels shown."*
**B) For Manual Trading:**
Traders can use the confluence of signals for high-probability setups:
* **High-Probability Long:** Look for the price to enter a **Strong Demand Zone** that aligns with a key **Fibonacci level** (e.g., 0.618) and is respected by a major **EMA** (e.g., the 50 or 100 EMA).
* **High-Probability Short:** Look for the price to test a **Strong Supply Zone** near the top of a **descending trend channel**, with EMAs confirming the bearish momentum.
---
*This script was created by NarmoonAI to bridge the gap between traditional technical analysis and the powerful capabilities of modern artificial intelligence. We believe this is the future of trading analysis.*
Long/Short/Exit/Risk management Strategy # LongShortExit Strategy Documentation
## Overview
The LongShortExit strategy is a versatile trading system for TradingView that provides complete control over entry, exit, and risk management parameters. It features a sophisticated framework for managing long and short positions with customizable profit targets, stop-loss mechanisms, partial profit-taking, and trailing stops. The strategy can be enhanced with continuous position signals for visual feedback on the current trading state.
## Key Features
### General Settings
- **Trading Direction**: Choose to trade long positions only, short positions only, or both.
- **Max Trades Per Day**: Limit the number of trades per day to prevent overtrading.
- **Bars Between Trades**: Enforce a minimum number of bars between consecutive trades.
### Session Management
- **Session Control**: Restrict trading to specific times of the day.
- **Time Zone**: Specify the time zone for session calculations.
- **Expiration**: Optionally set a date when the strategy should stop executing.
### Contract Settings
- **Contract Type**: Select from common futures contracts (MNQ, MES, NQ, ES) or custom values.
- **Point Value**: Define the dollar value per point movement.
- **Tick Size**: Set the minimum price movement for accurate calculations.
### Visual Signals
- **Continuous Position Signals**: Implement 0 to 1 visual signals to track position states.
- **Signal Plotting**: Customize color and appearance of position signals.
- **Clear Visual Feedback**: Instantly see when entry conditions are triggered.
### Risk Management
#### Stop Loss and Take Profit
- **Risk Type**: Choose between percentage-based, ATR-based, or points-based risk management.
- **Percentage Mode**: Set SL/TP as a percentage of entry price.
- **ATR Mode**: Set SL/TP as a multiple of the Average True Range.
- **Points Mode**: Set SL/TP as a fixed number of points from entry.
#### Advanced Exit Features
- **Break-Even**: Automatically move stop-loss to break-even after reaching specified profit threshold.
- **Trailing Stop**: Implement a trailing stop-loss that follows price movement at a defined distance.
- **Partial Profit Taking**: Take partial profits at predetermined price levels:
- Set first partial exit point and percentage of position to close
- Set second partial exit point and percentage of position to close
- **Time-Based Exit**: Automatically exit a position after a specified number of bars.
#### Win/Loss Streak Management
- **Streak Cutoff**: Automatically pause trading after a series of consecutive wins or losses.
- **Daily Reset**: Option to reset streak counters at the start of each day.
### Entry Conditions
- **Source and Value**: Define the exact price source and value that triggers entries.
- **Equals Condition**: Entry signals occur when the source exactly matches the specified value.
### Performance Analytics
- **Real-Time Stats**: Track important performance metrics like win rate, P&L, and largest wins/losses.
- **Visual Feedback**: On-chart markers for entries, exits, and important events.
### External Integration
- **Webhook Support**: Compatible with TradingView's webhook alerts for automated trading.
- **Cross-Platform**: Connect to external trading systems and notification platforms.
- **Custom Order Execution**: Implement advanced order flows through external services.
## How to Use
### Setup Instructions
1. Add the script to your TradingView chart.
2. Configure the general settings based on your trading preferences.
3. Set session trading hours if you only want to trade specific times.
4. Select your contract specifications or customize for your instrument.
5. Configure risk parameters:
- Choose your preferred risk management approach
- Set appropriate stop-loss and take-profit levels
- Enable advanced features like break-even, trailing stops, or partial profit taking as needed
6. Define entry conditions:
- Select the price source (such as close, open, high, or an indicator)
- Set the specific value that should trigger entries
### Entry Condition Examples
- **Example 1**: To enter when price closes exactly at a whole number:
- Long Source: close
- Long Value: 4200 (for instance, to enter when price closes exactly at 4200)
- **Example 2**: To enter when an indicator reaches a specific value:
- Long Source: ta.rsi(close, 14)
- Long Value: 30 (triggers when RSI equals exactly 30)
### Best Practices
1. **Always backtest thoroughly** before using in live trading.
2. **Start with conservative risk settings**:
- Small position sizes
- Reasonable stop-loss distances
- Limited trades per day
3. **Monitor and adjust**:
- Use the performance table to track results
- Adjust parameters based on how the strategy performs
4. **Consider market volatility**:
- Use ATR-based stops during volatile periods
- Use fixed points during stable markets
## Continuous Position Signals Implementation
The LongShortExit strategy can be enhanced with continuous position signals to provide visual feedback about the current position state. These signals can help you track when the strategy is in a long or short position.
### Adding Continuous Position Signals
Add the following code to implement continuous position signals (0 to 1):
```pine
// Continuous position signals (0 to 1)
var float longSignal = 0.0
var float shortSignal = 0.0
// Update position signals based on your indicator's conditions
longSignal := longCondition ? 1.0 : 0.0
shortSignal := shortCondition ? 1.0 : 0.0
// Plot continuous signals
plot(longSignal, title="Long Signal", color=#00FF00, linewidth=2, transp=0, style=plot.style_line)
plot(shortSignal, title="Short Signal", color=#FF0000, linewidth=2, transp=0, style=plot.style_line)
```
### Benefits of Continuous Position Signals
- Provides clear visual feedback of current position state (long/short)
- Signal values stay consistent (0 or 1) until condition changes
- Can be used for additional calculations or alert conditions
- Makes it easier to track when entry conditions are triggered
### Using with Custom Indicators
You can adapt the continuous position signals to work with any custom indicator by replacing the condition with your indicator's logic:
```pine
// Example with moving average crossover
longSignal := fastMA > slowMA ? 1.0 : 0.0
shortSignal := fastMA < slowMA ? 1.0 : 0.0
```
## Webhook Integration
The LongShortExit strategy is fully compatible with TradingView's webhook alerts, allowing you to connect your strategy to external trading platforms, brokers, or custom applications for automated trading execution.
### Setting Up Webhooks
1. Create an alert on your chart with the LongShortExit strategy
2. Enable the "Webhook URL" option in the alert dialog
3. Enter your webhook endpoint URL (from your broker or custom trading system)
4. Customize the alert message with relevant information using TradingView variables
### Webhook Message Format Example
```json
{
"strategy": "LongShortExit",
"action": "{{strategy.order.action}}",
"price": "{{strategy.order.price}}",
"quantity": "{{strategy.position_size}}",
"time": "{{time}}",
"ticker": "{{ticker}}",
"position_size": "{{strategy.position_size}}",
"position_value": "{{strategy.position_value}}",
"order_id": "{{strategy.order.id}}",
"order_comment": "{{strategy.order.comment}}"
}
```
### TradingView Alert Condition Examples
For effective webhook automation, set up these alert conditions:
#### Entry Alert
```
{{strategy.position_size}} != {{strategy.position_size}}
```
#### Exit Alert
```
{{strategy.position_size}} < {{strategy.position_size}} or {{strategy.position_size}} > {{strategy.position_size}}
```
#### Partial Take Profit Alert
```
strategy.order.comment contains "Partial TP"
```
### Benefits of Webhook Integration
- **Automated Trading**: Execute trades automatically through supported brokers
- **Cross-Platform**: Connect to custom trading bots and applications
- **Real-Time Notifications**: Receive trade signals on external platforms
- **Data Collection**: Log trade data for further analysis
- **Custom Order Management**: Implement advanced order types not available in TradingView
### Compatible External Applications
- Trading bots and algorithmic trading software
- Custom order execution systems
- Discord, Telegram, or Slack notification systems
- Trade journaling applications
- Risk management platforms
### Implementation Recommendations
- Test webhook delivery using a free service like webhook.site before connecting to your actual trading system
- Include authentication tokens or API keys in your webhook URL or payload when required by your external service
- Consider implementing confirmation mechanisms to verify trade execution
- Log all webhook activities for troubleshooting and performance tracking
## Strategy Customization Tips
### For Scalping
- Set smaller profit targets (1-3 points)
- Use tighter stop-losses
- Enable break-even feature after small profit
- Set higher max trades per day
### For Day Trading
- Use moderate profit targets
- Implement partial profit taking
- Enable trailing stops
- Set reasonable session trading hours
### For Swing Trading
- Use longer-term charts
- Set wider stops (ATR-based often works well)
- Use higher profit targets
- Disable daily streak reset
## Common Troubleshooting
### Low Win Rate
- Consider widening stop-losses
- Verify that entry conditions aren't triggering too frequently
- Check if the equals condition is too restrictive; consider small tolerances
### Missing Obvious Trades
- The equals condition is extremely precise. Price must exactly match the specified value.
- Consider using floating-point precision for more reliable triggers
### Frequent Stop-Outs
- Try ATR-based stops instead of fixed points
- Increase the stop-loss distance
- Enable break-even feature to protect profits
## Important Notes
- The exact equals condition is strict and may result in fewer trade signals compared to other conditions.
- For instruments with decimal prices, exact equality might be rare. Consider the precision of your value.
- Break-even and trailing stop calculations are based on points, not percentage.
- Partial take-profit levels are defined in points distance from entry.
- The continuous position signals (0 to 1) provide valuable visual feedback but don't affect the strategy's trading logic directly.
- When implementing continuous signals, ensure they're aligned with the actual entry conditions used by the strategy.
---
*This strategy is for educational and informational purposes only. Always test thoroughly before using with real funds.*
Trend Surge Wick SniperTrend Surge Wick Sniper | Non-Repainting Trend + Momentum Strategy with TP1/TP2 & Dashboard
Trend Surge Wick Sniper is a complete crypto trading strategy designed for high-precision entries, smart exits, and non-repainting execution. It combines trend slope, wick rejection, volume confirmation, and CCI momentum filters into a seamless system that works in real-time conditions — whether you're manual trading or sending alerts to multi-exchange bots.
🧩 System Architecture Overview
This is not just a mashup of indicators — each layer is tightly integrated to filter for confirmed, high-quality setups. Here’s a detailed breakdown:
📈 Trend Logic
1. McGinley Dynamic Baseline
A responsive moving average that adapts to market speed better than EMA or SMA.
Smooths price while staying close to real action, making it ideal for basing alignment or trend context.
2. Gradient Slope Filter (ATR-normalized)
Calculates the difference between current and past McGinley values, divided by ATR for normalization.
If the slope exceeds a configurable threshold, it confirms an active uptrend or downtrend.
Optional loosened sensitivity allows for more frequent but still valid trades.
🚀 Momentum Timing
3. Smoothed CCI (ZLEMA / Hull / VWMA options)
Traditional CCI is enhanced with smoothing for stability.
Signals trades only when momentum is strong and accelerating.
Optional settings let users tune how responsive or smooth they want the CCI behavior to be.
🔒 Entry Filtering & Rejection Logic
4. Wick Trap Detection
Prevents entry during manipulated candles (e.g. stop hunts, wick traps).
Measures wick-to-body ratio against a minimum body size normalized by ATR.
Only trades when the candle shows a clean body and no manipulation.
5. Price Action Filters (Optional)
Long trades require price to break above previous high (or skip this with a toggle).
Short trades require price to break below previous low (or skip this with a toggle).
Ensures you're trading only when price structure confirms the breakout.
6. McGinley Alignment (Optional)
Price must be on the correct side of the McGinley line (above for longs, below for shorts).
Ensures that trades align with baseline trend, preventing early or fading entries.
📊 Volume Logic
7. Volume Spike Detection
Confirms that a real move is underway by requiring volume to exceed a moving average by a user-defined multiplier.
Uses SMA / EMA / VWMA for customizable behavior.
Optional relative volume mode compares volume against typical volume at that same time of day.
8. Volume Trend Filter
Compares fast vs. slow EMA of the volume spike ratio.
Ensures volume is not just spiking, but also increasing overall.
Prevents trades during volume exhaustion or fading participation.
9. Volume Strength Label
Classifies each bar’s volume as: Low, Average, High, or Very High
Shown in the dashboard for context before entries.
🎯 Entry Conditions
An entry occurs when all of the following align:
✅ Trend confirmed via gradient slope
✅ Momentum confirmed via smoothed CCI
✅ No wick trap pattern
✅ Price structure & McGinley alignment (if toggled on)
✅ Volume confirms participation
✅ 1-bar cooldown since last exit
💰 TP1 & TP2 Exit System
TP1 = 50% of position closed using a limit order at a % profit (e.g., 2%)
TP2 = remaining 50% closed at a second profit level (e.g., 4%)
These are set as limit orders at the time of entry and work even on backtest.
Alerts are sent separately for TP1 and TP2 to allow bot handling of staggered exits.
🧠 Trade Logic Controls
✅ process_orders_on_close=true ensures non-repainting behavior
✅ 1-bar cooldown after any exit prevents same-bar reversals
✅ Built-in canEnter condition ensures trades are separated and clean
✅ Alerts use customizable strings for entry/exit/TP1/TP2 — ready for webhook automation
📊 Real-Time On-Chart Dashboard
Toggleable, movable dashboard shows live trading stats:
🔵 Current Position: Long / Short / Flat
🎯 Entry Price
✅ TP1 / TP2 Hit Status
📈 Trend Direction: Up / Down / Flat
🔊 Volume Strength: Low / Average / High / Very High
🎛 Size and corner are adjustable via input settings
⚠️ Designed For:
1H / 4H Crypto Trading
Manual Traders & Webhook-Connected Bots
Scalability across volatile market conditions
Full TradingView backtest compatibility (no repainting / no fake signals)
📌 Notes
You can switch CCI smoothing type, volume MA type, and other filters via the settings panel.
Default TP1/TP2 levels are set to 2% and 4%, but fully customizable.
🛡 Disclaimer
This script is for educational purposes only and not financial advice. Use with backtesting and risk management before live deployment.






















