Larry Williams Bonus Track PatternThis strategy trades the day immediately following an Inside Day, under specific directional and timing conditions. It is designed for daily-based setups but executed on intraday charts to ensure orders are placed exactly at the open of the following day, rather than at the daily bar close.
Entry Conditions
Only trades on Monday, Thursday, or Friday.
The previous day must be an Inside Day (its high is lower than the prior high and its low is higher than the prior low).
The bar before the Inside Day must be bullish (close > open).
On the following day (t):
The daily open must be below both the Inside Day’s high and the highest high of the two days before that.
A buy stop is placed at the highest high of the three previous days (Inside Day and the two days before it).
If the new day’s open is already above that level (gap up), the strategy enters long immediately at the open.
Exit Rules
Stop Loss: Fixed, defined in points or percentage (user input).
FPO (First Profitable Open): the position is closed at the first daily open after the entry day where the open price is above the average entry price (the first profitable open).
Notes
The script must be applied on an intraday timeframe (e.g., 15-minute or 1-hour) so that the strategy can:
Detect the Inside Day pattern using daily data (request.security).
Execute orders in real time at the next day’s open.
Running it directly on the daily timeframe will delay executions by one bar due to Pine Script’s evaluation model.
Wskaźniki i strategie
HTF Candle Overlay - PO3HTF Candle Overlay Script Description
This Pine Script indicator creates a visual overlay of higher timeframe (HTF) candles on your chart. It's a useful tool for multi-timeframe analysis that allows you to see higher timeframe price action context directly on your current chart without having to switch between timeframes.
Main Purpose
The primary purpose of this indicator is to display candles from a higher timeframe (like daily or weekly) directly on your lower timeframe chart (like 5-minute or hourly). This provides crucial context about the larger market structure while you're analyzing shorter-term price movements.
Key Features
Higher Timeframe Selection: You can choose any higher timeframe from the available options (1-minute to monthly), allowing you to view price action from any timeframe higher than your current chart.
Customizable Appearance:
Control the number of HTF candles displayed (1-10)
Adjust the spacing between the candles and current price
Modify candle width for better visibility
Customize colors for bullish and bearish candles, wicks, and borders
Real-time Updates: The current (ongoing) HTF candle updates in real-time as new price data comes in, showing you how the higher timeframe candle is developing.
Time Remaining Display: An optional label shows the current HTF period and how much time remains until the candle closes, helping you time your entries and exits.
Visual Warnings: The script warns you if you select a timeframe that matches your current chart timeframe.
How It Works
Data Retrieval: The script fetches both the current developing candle and historical candles from the selected higher timeframe using request.security() calls.
Candle Processing:
It stores candle data (open, high, low, close, and time) in arrays
Handles both the current developing candle and past completed candles
Updates the current candle in real-time as new price data comes in
Visual Rendering:
Draws candle bodies as boxes with appropriate bullish/bearish colors
Creates wicks as lines extending from the candle bodies
Places candles horizontally on your chart with proper spacing
Timing Information:
Calculates and displays the remaining time until the current higher timeframe candle closes
Formats the time remaining in a user-friendly way (days, hours, minutes)
Practical Applications
Context for Trading Decisions: See where price is in relation to higher timeframe support/resistance levels.
Entry and Exit Timing: Time your entries and exits based on higher timeframe candle closings.
Trend Alignment: Ensure your trades align with the higher timeframe trend direction.
Support/Resistance Identification: Easily identify key price levels from higher timeframes.
Candle Pattern Recognition: Spot important higher timeframe candlestick patterns without switching timeframes.
This indicator essentially brings the higher timeframe context directly to your current chart, allowing for more informed trading decisions that consider both short-term and long-term market structures simultaneously.
ajish cci indexthis script is based on cci.this one is working good in index.you can use the indicator for finding the trend change.well working in 1 minite.
FVG/ iFVG point size Shows the size in points of combined fvg and inverted fvgs. Good for determining momentum and strength in reversals
settings:
lookback - how many candles to look for fvgs and ifvg
change length of the fvg box
change settings to decided the minimum size of gap to label
colours of boxes and labels
GRG/RGR Signal, MA, Ranges and PivotsThis indicator is a combination of several indicators.
It is a combination of two of my indicators which I solely use for trading
1. EMA 10-20-50-200, Pivots and Previous Day/Week/Month range
2. 3/4-Bar GRG / RGR Pattern (Conditional 4th Candle)
You can use them individually if you already have some of them or just use this one. Belive me when I say, this is all you need, along with market structure knowlege and even if you don’t have that, this indicator has been doing wonders for me. This is all I use. I do not use anything else.
**Note - Do checkout the indicators individually as I have added valuable information in the comment section.
It contains the following,
1. 10 EMA/SMA - configurable
2. 20 EMA/SMA - configurable
3. 50 EMA/SMA - configurable
4. 200 EMA/SMA - configurable
5. Previous Day's Range - configurable
6. Previous Week's Range - configurable
7. Previous Month's Range - configurable
8. Pivots - configurable
9. Buy Sell Signal - configurable
The Moving Averages
It is a very important combination and using it correctly with price action will strengthen your entries and exits.
The ema's or sma's added are the most powerful ones and they do definitely act as support and resistance.
The Daily/Weekly/Monthly Ranges
The Daily/Weekly/Monthly ranges are extremely important for any trader and should be used for targets and reversals.
Pivots
Pivots can provide support and resistance level. R5 and S5 can be used to check for over stretched conditions. You can customise them however you like. It is a full pivot indicator.
It is defaulted to show R5 and S5 only to reduce noise in the chart but it can be customised.
The 3/4 RGR or GRG Signal Generator
Combined with a 3/4 RGR or GRG setup can be all a trader needs.
You don't need complex strategies and SMC concepts to trade. Simple EMAs, ranges and RGR/GRG setup is the most winning combination.
This indicator can be used to identify the Green-Red-Green or Red-Green-Red pattern.
It is a price action indicator where a price action which identifies the defeat of buyers and sellers.
If the buyers comprehensively defeat the sellers then the price moves up and if the sellers defeat the buyers then the price moves down.
In my trading experience this is what defines the price movement.
It is a 3 or 4 candle pattern, beyond that i.e, 5 or more candles could mean a very sideways market and unnecessary signal generation.
How does it work?
Upside/Green signal
1. Say candle 1 is Green, which means buyers stepped in, then candle 2 is Red or a Doji, that means sellers brought the price down. Then if candle 3 is forming to be Green and breaks the closing of the 1st candle and opening of the 2nd candle, then a green arrow will appear and that is the place where you want to take your trade.
2. Here the buyers defeated the sellers.
3. Sometimes candle 3 falls short but candle 4 breaks candle 1's closing and candle 2's opening price. We can enter on candle 4.
4. Important - We need to enter the trade as soon as the price moves above the candle 1 and 2's body and should not wait for the 3rd or 4th candle to close. Ignore wicks.
5. But for a more optimised entry I have added an option to use candle’s highs and lows instead of open and close. This reduces lot of noise and provides us with more precise entry. This setting is turned on by default.
6. I have restricted it to 4 candles and that is all that is needed. More than that is a longer sideways market.
7. I call it the +-+ or GRG pattern or Green-Red-Green or Buyer-Seller-Buyer or Seller defeated or just Buyer pattern.
8. Stop loss can be candle 2's mid for safe traders (that includes me) or candle 2's body low for risky traders.
9. Back testing suggests that body low will be useless and result in more points in loss because for the bigger move this point will not be touched, so why not get out faster.
Downside/Red signal
1. Say candle 1 is Red, which means sellers stepped in, then candle 2 is Green or a Doji, that means buyers took the price up. Then if candle 3 is forming to be Red and breaks the closing of the 1st candle and opening of the 2nd candle then a Red arrow will appear and that is the place where you want to take your trade.
2. Sometimes candle 3 falls short but candle 4 breaks candle 1's closing and candle 2's opening price. We can enter on candle 4.
3. We need to enter the trade as soon as the price moves below the candle 1 and 2's body and should not wait for the 3rd or 4th candle to close.
4. But for a more optimised entry I have added an option to use candle’s highs and lows instead of open and close. This reduces lot of noise and provides us with more precise entry. This setting is turned on by default.
5. I have restricted it to 4 candles and that is all that is needed. More than that is a longer sideways market.
6. I call it the -+- or RGR pattern or Red-Green-Red or Seller-Buyer-Seller or Buyer defeated or just Seller pattern.
7. Stop loss can be candle 2's mid for safe traders ( that includes me) or candle 2's body high for risky traders.
8. Back testing suggests that body high will be useless and result in more points in loss because for the bigger move this point will not be touched, so why not get out faster.
Combining Indicators and Signal
Combining these indicators with GRG/RGR signal can be very powerful and can provide big moves.
1. MA crossover and Signal - This is very powerful and provides a very big move. Trades can be held for longer. If after taking the trade we notice that the MA crossover has happened then trades can be held for higher targets.
2. Pivots and Signal - Pivots and add a support or resistance point. Take profits on these points. R5/S5 are over streched conditions so we can start looking for reversal signals and ignore other signals
3. Intraday Range - first 1, 5, 15 min of the day - Sideways days is when price will stay in these ranges. You can take profits at these ranges or if the range is broken and we get a signal, then it can mean that the direction will be sustained.
4. Previous Day/Week/Month Ranges - These can be used as Take Profit points if the price is moving towards them after getting the signal. If the range is broken and we get a signal then it can be a strong signal. They can also be used as reversal points if a strong signal is generated.
Important Settings
1. Include 4th Candle Confirmation - You can enable or disable the 4th candle signal to avoid the noise, but at times I have noticed that the 4th candle gives a very strong signal or I can say that the strong signal falls on the 4th candle. This is mostly a coincidence.
2. Bars to check (default 10) - You can also configure how many previous bars should the signal be generated for. 10 to 30 is good enough. To backtest increase it to 2000 or 5000 for example.
3. Use Candle High/Low for confirmation instead of Candle Open/Close - More optimized entry and noise reduction. This option is now defaulted to false.
4. Show Green-Red-Green (bull) signals - Show only bull entries. Useful when I have a predefined view i.e, I know market is going to go up today.
5. Show Red-Green-Red (bear) signals - Show only bear entries. Useful when I have a predefined view i.e, I know market is going to go down today.
6. 3rd candle should be a Strong candle before considering 4th candle - This will enforce additional logic in 4 candle setup that the 3rd candle is the candle in our direction of breakout. This means something like GRGG is mandatory, which is still the default behaviour. If disabled, the 3rd candle can be any candle and 4th candle will act as our breakout candle. This behaviour has led to breakouts and breakdowns as times, hence I added this as a separate feature. Vice-versa for a RGGR.
For a 4 candle setup till now we were expecting GRGG or RGRR but we can let the system ignore the 3rd candle completely if needed.
This will result in additional signals.
7. Three intraday ranges added for index and stock traders - 1 min, 5 min and 15 min ranges will be displayed. These are disabled by default except 15 min. These are very important ranges and in sideways days the price will usually move within the 15 min. A breakout of this range and a positive signal can be a very powerful setup.
Safe traders can avoid taking a trade in this range as it can lead to fakeouts.
The line style, width, color and opacity are configurable.
Pointers/Golden Rules
1. If after taking the trade, the next candle moves in your direction and closes strong bullish or bearish, then move SL to break even and after that you can trail it.
2. If a upside trade hits SL and immediately a down side trade signal is generated on the next candle then take it. Vice versa is true.
3. Trades need to be taken on previous 2 candle's body high or low combined and not the wicks.
4. The most losses a trader takes is on a sideways day and because in our strategy the stop loss is so small that even on a sideways day we'll get out with a little profit or worst break even.
5. Hold trades for longer targets and don't panic.
6. If last 3-4 days have been sideways then there is a good probability that today will be trending so we can hold our trade for longer targets. Inverse is true when the market has been trending for 2-3 days then volatility followed by sideways is coming (DOW theory). Target to hold the trade for whole day and not exit till the day closes.
7. In general avoid trading in the middle of the day for index and stocks. Divide the day into 3 parts and avoid the middle.
8. Use Support/Resistance, 10, 20, 50, 200 EMA/SMA, Gaps, Whole/Round numbers(very imp) for identifying targets.
9. Trail your SL.
10. For indexes I would use 5 min and 15 min timeframe and at times 10 mins.
11. For commodities and crypto we can use higher timeframe as well. Look for signals during volatile time durations and avoid trading the whole day. Signal usually gives good targets on those times.
12. If a GRG or RGR pattern appears on a daily timeframe then this is our time to go big.
13. Minimum Risk to Reward should be 1:2 and for longer targets can be 1:4 to 1:10.
14. Trade with small lot size. Money management will happen automatically.
15. With small lot size and correct Risk-Reward we can be very profitable. Don't trade with big lot size.
16. Stay in the market for longer and collect points not money.
17. Very imp - Watch market and learn to generate a market view.
18. Very imp - Only 3 type of candles are needed in trading -
Strong Bullish (Big Green candle), Strong Bearish (Big Red candle),
Hammer (it is Strong Bullish), Inverse Hammer (it is Strong Bearish)
and Doji (indecision or confusion).
If on daily timeframe I see Strong Bullish candle previous day then I am biased to the upside the next day, if I see Strong Bearish candle the previous day then I am biased to the downside the next day, if I see Doji on the previous day then I am cautious the next day, if there are back to back Dojis forming in daily or weekly then I am preparing for big move so time to go big once I get the signal.
19. Most Important Candlestick pattern - Bullish and Bearish Engulfing
20. The only Chart patterns I need -
a) Falling Wedge/Channel Bullish Pattern Uptrend or Bull Flag - Buying - Forming over a couple days for intraday and forming over a couple of weeks for swing
b) Falling Wedge/Channel Bullish Pattern Downtrend or Falling Channel - Buying
c) Rising Wedge Bearish Pattern Uptrend or Rising Channel - Selling
d) Rising Wedge Bearish Pattern Downtrend or Bear flag - Selling
e) Head and Shoulder - Over a longer period not for intraday. In 15 min takes few days and for swing 1hr or 4h or daily can take few days
f) M and W pattern - Reversal Patterns - They form within the above 4 patterns, usually resulting in the break of trend line
21. How Gaps work -
a) Small Gap up in Uptrend - Market can fill the gap and reverse. The perception is that people are buying. If previous day candle was Strong Bullish then market view is up.
b) Big Gap up in Uptrend - Not news driven - Profit booking will come but may not fill the entire gap
c) Big Gap up in Uptrend - News driven, war related, tax, interest rate - Market can keep going up without stopping.
c) Flat opening in Uptrend - Big chance of market going up. If previous day candle was Strong Bullish then view is upwards, if it was Doji then still upwards.
d) Gap down in Uptrend - Market is surprised. After going down initially it can go up
e) Small Gap down in Downtrend - Market can fill the gap and keep moving down. If previous day candle was Strong Bearish then view is still down.
f) Flat opening in Downtrend - View is down, short today.
g) Big Gap down in Downtrend - Profit booking and foolish buying will come but market view is still down.
h) Gap down with News - Volatility, sideways then down.
i) Gap Up in Downtrend - Can move up - Price can move up during 2/3rd of the day and End of the day revert and close in red.
22. Go big on bearish days for option traders. Puts are better bought and Calls are better sold.
23. Cluster of green signals can lead to bigger move on the upside and vice versa for red signals.
24. Most of this is what I learned from successful traders (from the top 2%) only the indicator is mine.
MNQ TopStep 50K | Ultra Quality v3.0MNQ TopStep 50K | Ultra Quality v3.0 - Publish Summary📊 OverviewA professional-grade trading indicator designed specifically for MNQ futures traders using TopStep funded accounts. Combines 7 technical confirmations with 5 advanced safety filters to deliver high-quality trade signals while managing drawdown risk.🎯 Key FeaturesCore Signal System
7-Point Confirmation: VWAP, EMA crossovers, 15-min HTF trend, MACD, RSI, ADX, and Volume
Signal Grading: Each signal is rated A+ through D based on 7 quality factors
Quality Threshold: Adjustable minimum grade requirement (A+, A, B, C, D)
Advanced Safety Filters (Customizable)
Mean Reversion Filter - Prevents chasing extended moves beyond VWAP bands
ATR Spike Filter - Avoids trading during extreme volatility events
EMA Spacing Filter - Ensures proper trend separation (optional)
Momentum Filter - Requires consecutive directional bars (optional)
Multi-Timeframe Confirmation - Aligns with 15-min trend (optional)
TopStep Risk Management
Real-time drawdown tracking
Position sizing calculator based on remaining cushion
Daily loss limit monitoring
Consecutive loss protection
Max trades per day limiter
Visual Components
VWAP with 1σ, 2σ, 3σ bands
EMA 9/21 with cloud fill
15-min EMA 50 for HTF trend
Comprehensive metrics dashboard
Risk management panel
Filter status panel
Detailed trade labels with entry, stops, and targets
⚙️ Default Settings (Balanced for Regular Signals)Technical Indicators
Fast EMA: 9 | Slow EMA: 21 | HTF EMA: 50 (15-min)
MACD: 10/22/9
RSI: 14 period | Thresholds: 52 (buy) / 48 (sell)
ADX: 14 period | Minimum: 20
ATR: 14 period | Stop: 2x | TP1: 2x | TP2: 3x
Volume: 1.2x average required
Session Settings
Default: 9:30 AM - 11:30 AM ET (adjustable)
Avoids first 15 minutes after market open
Customizable trading hours
Safety Filters (Default Configuration)
✅ Mean Reversion: Enabled (2.5σ max from VWAP)
✅ ATR Spike: Enabled (2.0x threshold)
❌ EMA Spacing: Disabled (can enable for quality)
❌ Momentum: Disabled (can enable for quality)
❌ MTF Confirmation: Disabled (can enable for quality)
Risk Controls
Minimum Signal Quality: C (adjustable to A+ for fewer/better signals)
Min Bars Between Signals: 10
Max Trades Per Day: 5
Stop After Consecutive Losses: 2
📈 Expected PerformanceWith Default Settings:
Signals per week: 10-15 trades
Estimated win rate: 55-60%
Risk-Reward: 1:2 (TP1) and 1:3 (TP2)
With Aggressive Settings (Min Quality = D, All Filters Off):
Signals per week: 20-25 trades
Estimated win rate: 50-55%
With Conservative Settings (Min Quality = A, All Filters On):
Signals per week: 3-5 trades
Estimated win rate: 65-70%
🚀 How to UseBasic Setup:
Add indicator to MNQ 5-minute chart
Adjust TopStep account settings in inputs
Set your risk per trade percentage (default: 0.5%)
Configure trading session hours
Set minimum signal quality (Start with C for balanced results)
Signal Interpretation:
Green Triangle (BUY): Long signal - all confirmations aligned
Red Triangle (SELL): Short signal - all confirmations aligned
Label Details: Shows entry, stop loss, take profit levels, position size, and signal grade
Signal Grade: A+ = Elite (6-7 points) | A = Strong (5) | B = Good (4) | C = Fair (3)
Dashboard Monitoring:
Top Right: Technical metrics and market conditions
Top Left: Filter status (which filters are passing/blocking)
Bottom Right: TopStep risk metrics and position sizing
⚡ Customization TipsFor More Signals:
Lower "Minimum Signal Quality" to D
Decrease ADX threshold to 18-20
Lower RSI thresholds to 50/50
Reduce Volume multiplier to 1.1x
Disable additional filters
For Higher Quality (Fewer Signals):
Raise "Minimum Signal Quality" to A or A+
Increase ADX threshold to 25-30
Enable all 5 advanced filters
Tighten VWAP distance to 2.0σ
Increase momentum requirement to 3-4 bars
For TopStep Compliance:
Adjust "Max Total Drawdown" and "Daily Loss Limit" to match your account
Update "Already Used Drawdown" daily
Monitor the Risk Panel for cushion remaining
Use recommended contract sizing
🛡️ Risk DisclaimerIMPORTANT: This indicator is for educational and informational purposes only.
Past performance does not guarantee future results
All trading involves substantial risk of loss
Use proper risk management and position sizing
Test thoroughly in paper trading before live use
The indicator does not guarantee profitable trades
Adjust settings based on your risk tolerance and trading style
Always comply with your broker's and TopStep's rules
EMA Candle ColorEMA Candle Color - Visual EMA-Based Candle Coloring System
Overview:
This indicator provides a visual approach to trend identification by coloring candles based on their relationship with an Exponential Moving Average (EMA). The script dynamically colors both the candle bars and plots custom candles to give traders an immediate visual representation of price momentum relative to the EMA.
How It Works:
The indicator calculates an EMA based on your chosen source (default: open price) and length (default: 10 periods). It then applies a simple yet effective rule:
When the source price is ABOVE the EMA → Candles turn GREEN (bullish)
When the source price is BELOW the EMA → Candles turn RED (bearish)
This instant visual feedback helps traders quickly identify:
Current trend direction
Potential support/resistance levels (the EMA line itself)
Momentum shifts when candles change color
Key Features:
Customizable EMA Parameters: Adjust the EMA length (1-500) and source (open, close, high, low, hl2, hlc3, ohlc4)
Custom Color Selection: Choose your preferred bullish and bearish colors to match your chart theme
Dual Visualization: Both bar coloring and custom plotcandle for enhanced visibility
Offset Capability: Shift the EMA line forward or backward for advanced analysis
Clean Design: Minimal overlay that doesn't clutter your chart
How to Use:
1. Add the indicator to your chart
2. Adjust the EMA Length based on your trading timeframe:
- Shorter periods (5-20) for day trading and scalping
- Medium periods (20-50) for swing trading
- Longer periods (50-200) for position trading
3. Watch for candle color changes as potential entry/exit signals
4. Combine with other indicators for confirmation
Trading Applications:
Trend Following: Stay in trades while candles remain the same color
Reversal Signals: Watch for color changes as early reversal warnings
Filter System: Only take long positions during green candles, shorts during red
Visual Clarity: Quickly assess market sentiment at a glance
Settings:
Length: EMA calculation period (default: 10)
Source: Price data used for EMA calculation (default: open)
Offset: Shift EMA line on chart (default: 0)
Bullish Color: Color for candles above EMA (default: green)
Bearish Color: Color for candles below EMA (default: red)
Technical Details:
The script uses Pine Script v6 and employs the standard ta.ema() function for smooth, responsive EMA calculations. The candle coloring is achieved through both barcolor() and plotcandle() functions, ensuring visibility across different chart settings.
Note:
This indicator works on all timeframes and instruments. For best results, combine with proper risk management and additional confirmation indicators. The EMA Candle Color system is designed to simplify trend identification, not as a standalone trading system.
Tips:
Use on higher timeframes for more reliable signals
Combine with volume analysis for confirmation
Consider using multiple EMA periods for confluence
Disable default candles if using the plotcandle feature to avoid overlap
This script is open-source. Feel free to use it as a foundation for your own trading system or modify it to suit your specific trading style.
MTRADE ATR SL FINDERAverage True Range Stop Loss Finder (ATR)
This indicator automatically calculates dynamic stop-loss levels based on market volatility using the Average True Range (ATR) formula.
It provides both Long and Short stop levels derived from ATR values and adapts them in real time as volatility changes.
🔍 Features
Adjustable ATR Length (default: 20)
Four smoothing methods: RMA, SMA, EMA, WMA
Configurable Multiplier (default: 1.5× ATR)
Real-time High (Short Stop) and Low (Long Stop) lines on the chart
A clean on-chart table displaying:
ATR value
High stop level (H)
Low stop level (L)
— all shown with 7-decimal precision for accurate readings
⚙️ Use Cases
Volatility-based stop-loss and take-profit placement
Risk management and trailing-stop automation
Intraday and swing trading systems using ATR-driven exits
🧠 Technical Details
Built in Pine Script v5
Supports up to 7 decimal precision (precision=7)
Works as an overlay, displaying ATR bands directly on price action
Fully customizable colors and smoothing logic
by fiyatherseydir
MACD-V - Volatility(ATR) normalized MACDThe MACD-V indicator modifies the traditional MACD formula by dividing the difference between the two Exponential Moving Averages (EMAs) by the Average True Range (ATR)
The key advantages of this indicator over MACD are:
Cross-market comparability: The classic MACD gives different readings for different instruments (like a stock versus a commodity) that are not directly comparable. MACD-V's normalization makes momentum readings comparable across different markets.
Time-based stability: Classic MACD readings can't be reliably compared over long periods of time due to changes in an asset's price and volatility. MACD-V's volatility adjustment creates more stable and consistent readings over time.
Reduction of false signals: In sideways or low-momentum markets, the traditional MACD can generate numerous false crossover signals near the zero line. MACD-V filters out these false signals by defining specific "neutral zones," typically between -50 and +50, where crossovers are ignored.
Consistent Thresholds : MACD-V overbought and oversold thresholds (e.g., +150 and -150) are independent of instrument price, allowing for a more objective framework for analyzing momentum.
FH Max Pain Lines by AssetMax Pain Liquidation Lines - shows you where the most pain is felt by the longs and shorts
Continuation Suite v1 — 5m/15mContinuation Suite v1 — 5m/15m (Non-Repainting, S/R + Trend Continuation)
What it does
Continuation Suite v1 is a practical intraday toolkit that combines non-repainting trend-continuation signals with auto-built Support/Resistance (S/R) from confirmed pivots. It’s designed for fast, liquid names on 5m charts with an optional 15m higher-timeframe (HTF) overlay. You get: stacked-EMA bias, disciplined pullback+reclaim entries, optional volume/volatility gates, a “Strong” signal tier, solid S/R lines or zones, and a compact dashboard for fast reads.
⸻
Why traders use it
• Clear bias using fast/mid/slow EMA stacking.
• Actionable entries that require a pullback, a reclaim, and (optionally) a minor break of prior extremes.
• Signal quality gates (volume vs SMA, ATR%, ADX/DI alignment, EMA spacing, slope).
• Non-repainting logic when “Confirm on Close” = ON. Intrabar previews show what’s forming, but confirmed signals only print on bar close.
• S/R that matters: confirmed-pivot lines or ATR-sized zones, optional HTF overlay, and auto de-dup to avoid clutter.
⸻
Signal construction (no magic, just rules)
Bullish continuation (base):
1. Trend: EMA fast > EMA mid > EMA slow
2. Pullback: price pulls into the stack (lowest low or close vs EMA fast/mid over a lookback)
3. Reclaim: close > EMA fast and close > open
4. Break filter (optional): current bar takes out the prior bar’s high
5. Filters: volume > SMA (if enabled) and ATR% ≤ max (if enabled)
6. Cooldown: a minimum bar gap between signals
Bearish continuation (base): mirror of the above.
Strong signals: base conditions plus ADX ≥ threshold, DI alignment (DI+>DI- for longs; DI->DI+ for shorts), minimum EMA-spacing %, and minimum fast-EMA slope.
Reference stops:
• Longs: lowest low over the pullback lookback
• Shorts: highest high over the pullback lookback
Alerts are included for: Bullish Continuation, Bearish Continuation, STRONG Bullish, STRONG Bearish.
⸻
S/R engine (current TF + optional HTF)
• Builds S/R from confirmed pivots only (left/right bars).
• Choose Lines (midlines) or Zones (ATR-sized).
• Zones merge when a new pivot lands near an existing zone’s mid (ATR-scaled epsilon).
• Touches counter tracks significance; you can require a minimum to draw.
• HTF overlay (default 15m) draws separate lines/zones with tiny TF tags on the right.
• De-dup option hides current-TF zones that sit too close to HTF zones (ATR-scaled), reducing overlap.
• Freeze on Close (optional) keeps arrays stable intrabar; snapshots show levels immediately as bars open.
⸻
Presets
• Auto: Detects QQQ-like tickers (QQQ, QLD, QID) or SoFi; else defaults to Custom.
• QQQ: Tighter ATR% and EMA settings geared to index-ETF behavior.
• SoFi: Wider ATR allowances and longer mid/slow for single-name behavior.
• Custom: Expose all key inputs to tune for your product.
⸻
Dashboard (top-right)
• Preset in use
• Bias (Bullish CONT / Bearish CONT / Neutral)
• Strong (Yes/No)
• Volatility (ATR% bucket)
• Trend (ADX bucket)
• HTF timeframe tag
• Volume (bucket or “off”)
• Signals mode (Close-Confirmed vs Intrabar)
⸻
Inputs you’ll actually adjust
Trend/Signals
• Fast/Mid/Slow EMA lengths
• Pullback lookback, Min bars between signals
• Volume filter (vol > SMA N)
• ATR% max filter (cap excessive volatility)
• Require break of prior bar’s high/low
• “Strong” gates: min EMA slope, min EMA spacing %, ADX length & threshold
Support/Resistance
• Lines vs Zones
• Pivot left/right bars
• Extend left/right (bars)
• Max pivots kept (current & HTF)
• Zone width (× ATR), Merge epsilon (× ATR), Min gap (× ATR)
• Min touches, Max zones per side near price
• De-dup current TF vs HTF (× ATR)
Repainting control
• Confirm on Close: when ON, signals/SR finalize on bar close (non-repainting)
• Freeze on Close: freeze S/R intrabar with snapshot updates
• Show previews: translucent intrabar labels for what’s forming
⸻
How to use it (straightforward)
1. Load on 5-minute chart (baseline). Keep Confirm on Close ON if you hate repainting.
2. Use Bias + Strong + S/R context. If a long prints into HTF resistance, you have information.
3. Manage risk off the reference stop (pullback extreme). If ATR% reads “Great,” widen expectations; if “Poor,” size down or pass.
4. Alerts: wire the four alert types to your workflow.
⸻
Notes and constraints
• Designed for liquid symbols. Thin books and synthetic “volume” will degrade the volume gate.
• S/R is pivot-based. On very choppy tape, touch counts help. Increase min touches or switch to Lines to declutter.
• If your chart timeframe isn’t 5m, behavior changes because lengths are in bars, not minutes. Tune lengths accordingly.
⸻
Disclaimers
This is a research tool. No signals are guaranteed. Markets change, outliers happen, slippage is real. Nothing here is financial advice—use your own judgment and risk management.
⸻
Author: DaddyScruff
License: MPL-2.0 (Mozilla Public License 2.0)
Inside Days This script helps us to identify Inside days. Inside days are know as the best consolidation days.
DAMMU CANDEL TYPE🧩 Overview
Detects multiple bullish and bearish candlestick patterns.
Plots visual buy/sell signals and labels on chart.
Sends alerts when patterns appear.
Shows table of enabled/disabled patterns.
✅ Main Features
Bullish patterns: Hammer, Inverted Hammer, Bullish Engulfing, Morning Star, Piercing, Dragonfly Doji.
Bearish patterns: Hanging Man, Shooting Star, Bearish Engulfing, Evening Star, Dark Cloud, Gravestone Doji.
Visuals: Green/red arrows and labels.
Alerts: Optional alerts for bullish/bearish signals.
Table: Shows active pattern status.
⚙️ Improvements Suggested
Move table.new outside if block to prevent recreation every bar.
Adjust label position to avoid overlap.
Add “signal strength” (count multiple patterns same bar).
Add MA confirmation for better accuracy.
Upgrade to Pine Script v6 for better performance.
Arithmetic Candles with Pivot Trend Signals📘 Script Description
🕯️ Arithmetic Candles
Instead of using traditional candlesticks, this script calculates:
Arithmetic Open = Average of open and close
Arithmetic Close = Average of high and low
This candle provides a smoother, more averaged-out representation of price action.
Benefit: Filters out noise and reveals a more "true" price midpoint per candle.
🧭 Pivot Point Levels (Classic)
Classic pivot levels are calculated using the previous day's values:
Pivot (P) = (High + Low + Close) / 3
R1 / S1: First resistance/support levels
R2 / S2: Extended resistance/support levels
These lines mark key price levels that often act as support or resistance.
📈 Trend Signals
The script generates trend signals when a selected price source crosses above or below the pivot:
Bullish Signal (green arrow): When price crosses above the pivot
Bearish Signal (red arrow): When price crosses below the pivot
You can choose the signal source:
Either the regular close price
Or the Arithmetic Candle midpoint: (arithOpen + arithClose) / 2
🎨 Visual Representation
Candles are colored green when arithClose > arithOpen, otherwise red
Pivot lines are drawn if enabled
Triangles mark trend change signals (bullish or bearish)
✅ Use Case
In sideways markets, Arithmetic Candles help filter out noise
Pivot Levels provide clear price zones for potential breakouts or reversals
RSI Scalping Gold (XAUUSD) - v5Displays the EMA9 and SMA20 to identify the trend.
Colors the area between the two averages to better visualize the equilibrium zone.
Displays green (buy) and red (sell) arrows aligned with the candles.
The RSI is calculated but hidden from the main chart (you can activate it by checking “Display on chart” in the settings).
the Father, the Son, and the Holy SpiritThis is a tool used to find great trades! It's the Father, the Son, and the Holy Spirit.
DeepSeek_Multi-Timeframe EMA Strategy BTC_1HStrategy Description: "DeepSeek_Multi-Timeframe EMA Strategy BTC_1H"
This is a trading strategy for TradingView that uses a multi-timeframe Exponential Moving Average (EMA) crossover system to generate trade signals on a 1-hour Bitcoin (BTC) chart.
Core Logic & Trading Rules
The strategy's logic is based on the alignment of two different EMA timeframes:
Higher Timeframe (HTF) Trend Filter: A slower EMA (default: 50) is calculated on a higher timeframe (default: 1D). This defines the primary, long-term trend.
Lower Timeframe (LTF) Signal Trigger: A faster EMA (default: 20) is calculated on the current chart timeframe (1H). This is used for precise entry and exit timing.
Long Entry Conditions (All must be true):
Trend Alignment: The LTF EMA (20) must be above the HTF EMA (50).
Price Position: The current closing price must be above the HTF EMA (50), confirming the bullish trend.
Entry Trigger: The closing price must cross above the LTF EMA (20).
Exit Condition (for Long Positions):
The strategy closes any open long position when:
The LTF EMA (20) is below the HTF EMA (50) (counter-trend), and
The closing price crosses below the LTF EMA (20).
Key Features & Configuration
Strategy Configuration: It uses a strategy script, which can perform backtesting and forward-testing.
Initial Capital: $1,000.
Order Sizing: 100% of equity per trade (default_qty_value = 100).
Pyramiding: Only 1 active position is allowed at a time (pyramiding = 1).
Commission: 0.1% is factored into calculations.
Order Execution: Orders are executed at the close of the 1-hour bar where the signal appears (process_orders_on_close=true).
Visualization:
The HTF EMA (50) is plotted as a thick purple line.
The LTF EMA (20) is plotted as an orange line.
Green upward triangles below the bar indicate Long Entry signals.
Red downward triangles above the bar indicate Exit (Short) signals.
Summary
In essence, this strategy aims to "buy the dip" within a larger uptrend. It waits for the higher timeframe to be bullish, and then enters on a short-term pullback to the faster moving average. It exits the trade when the shorter-term trend turns bearish relative to the longer-term trend. It does not take short/sell positions; it only goes long or is out of the market.
RSI Core Analysis EngineHI traders
This tool employs a higher-sensitivity RSI than conventional settings to capture market shifts earlier.
When the Ultra Fast RSI (UF) approaches upper or lower extremes, short-term profit-taking or pullbacks tend to occur, and a crossover between UF and the Composite RSI can serve as a signal of a regime change.
However, in strong trends the RSI can remain pinned for extended periods, so combine it with ADX, volume, and volatility measures to improve accuracy.
While early detection is an advantage, it also increases noise. This tool uses a four-stage confirmation process (DMI/ADX → MACD/Stochastics/RSI acceleration → five-layer alignment) and quality/confidence scores to filter for higher-expectancy setups.
It will not be effective in every market condition. Use it with predefined stop-losses and prudent position sizing.
-------------------------------------------------------------------------------------------------------
Strongly recommended preset (because the indicator packs many features):
Step 1 — Inputs tab
Center Level: 50
OB1: 60, OB2: 70, OB3: 95
OS1: 40, OS2: 30, OS3: 5
Step 2 — Style tab
✅ Ultra Fast RSI — Thickest
✖ Fast RSI
✖ Medium RSI
✖ Standard RSI
✖ Slow RSI
✅ Composite RSI — Thickest
✅ Stage Indicator
✖ RSI Velocity
✖ RSI Acceleration
✅ Quality Score
✅ Bullish Cross
✅ Bearish Cross
✅ Strong Signal Background
Levels:
・✅ Center 50 — Thickest
・✅ OB1 60, OB2 70, OB3 95 (thicker)
・✅ OS1 40, OS2 30, OS3 5 (thicker)
-------------------------------------------------------------------------------------------------------------
thats enough
have a nice trade
Cycle VTLs – with Scaled Channels "Cycle VTLs – with Scaled Channels" for TradingView plots Valid Trend Lines (VTLs) based on Hurst's Cyclic Theory, connecting consecutive price peaks (downward VTLs) or troughs (upward VTLs) for specific cycles. It uses up to eight Simple Moving Averages (SMAs) (default lengths: 25, 50, 100, 200, 400, 800, 1600, 1600 bars) with customizable envelope bands to detect pivots and draw VTLs, enhanced by optional parallel channels scaled to envelope widths.
Key Features:
Valid Trend Lines (VTLs):
Upward VTLs: Connect consecutive cycle troughs, sloping upward.
Downward VTLs: Connect consecutive cycle peaks, sloping downward.
Hurst’s Rules:
Connects consecutive cycle peaks/troughs.
Must not cross price between points.
Downward VTLs:
No longer-cycle trough between peaks.
Invalid if slope is incorrect (upward VTL not up, downward VTL not down).
Expired VTLs: Historical VTLs (crossed by price) from up to three prior cycle waves.
SMA Cycles:
Eight customizable SMAs with envelope bands (offset × multiplier) for pivot detection.
Channels:
Optional parallel lines around VTLs, width set by channelFactor × envelope half-width.
Pivot Detection:
Fractal-based (pivotPeriod) on envelopes or price (usePriceFallback).
Customization:
Toggle cycles, VTLs, and channels.
Adjust SMA lengths, offsets, colors, line styles, and widths.
Enable centered envelopes, slope filtering, and limit stored lines (maxStoredLines).
Usage in Hurst’s Cyclic TheoryAnalysis:
VTLs identify cycle trends; upward VTLs suggest bullish momentum, downward VTLs bearish.
Price crossing below an upward VTL confirms a peak in the next longer cycle; crossing above a downward VTL confirms a trough.
Trading:
Buy: Price bounces off upward VTL or breaks above downward VTL.
Sell: Price rejects downward VTL or breaks below upward VTL.
Use channels for support/resistance, breakouts, or stop-loss/take-profit levels.
Workflow:
Add indicator on TradingView.
Enable desired cycles (e.g., 50-bar, 1600-bar), adjust pivotPeriod, channelFactor, and showOnlyCorrectSlope.
Monitor VTL crossings and channels for trade signals.
NotesOptimized for performance with line limits.
Ideal for cycle-based trend analysis across markets (stocks, forex, crypto).
Debug labels show pivot counts and VTL status.
This indicator supports Hurst’s Cyclic Theory for trend identification and trading decisions with flexible, cycle-based VTLs and channels.
Use global variable to scale to chart. best results use factors of 2 and double. try 2, 4, 8, 16...128, 256, etc until price action fits 95% in smallest cycle.
Combined Triggers Dashboard//@version=6
indicator("Combined Triggers Dashboard", overlay=true)
// ======================= INPUTS =======================
// Daily Trigger
shortDEMA_D = input.int(10, "Daily 10 DEMA")
longDEMA_D = input.int(20, "Daily 20 DEMA")
volAvgLen_D = input.int(20, "Daily 20-day Avg Volume")
volMultiplier_D = input.float(3, "Daily Volume Multiplier")
weekDEMAlen_D = input.int(10, "10-Week DEMA Reference for Daily Trigger")
// Weekly Trigger
shortDEMA_W = input.int(10, "Weekly 10 W DEMA")
longDEMA_W = input.int(20, "Weekly 20 W DEMA")
volAvgLen_W = input.int(50, "50-day Avg Volume for Weekly Trigger")
volMultiplier_W = input.float(3, "Weekly Volume Multiplier")
// Original Trigger (example)
shortDEMA_O = input.int(10, "Original 10 DEMA")
longDEMA_O = input.int(20, "Original 20 DEMA")
volAvgLen_O = input.int(20, "Original 20-day Avg Volume")
volMultiplier_O = input.float(3, "Original Volume Multiplier")
// ======================= FUNCTIONS =======================
f_dema(_src, _len) =>
ema1 = ta.ema(_src, _len)
ema2 = ta.ema(ema1, _len)
2 * ema1 - ema2
// ======================= DAILY TRIGGER =======================
dema10D = f_dema(close, shortDEMA_D)
dema20D = f_dema(close, longDEMA_D)
dailyVol = volume
avgVol20 = ta.sma(dailyVol, volAvgLen_D)
volCondition_D = dailyVol > volMultiplier_D * avgVol20
priceCondition_D = close > dema10D
demaCondition_D = dema10D > dema20D
weeklyClose_D = request.security(syminfo.tickerid, "W", close)
dema10W_D = ta.ema(weeklyClose_D, weekDEMAlen_D) * 2 - ta.ema(ta.ema(weeklyClose_D, weekDEMAlen_D), weekDEMAlen_D)
trigger_D = priceCondition_D and demaCondition_D and volCondition_D
plotshape(trigger_D, title="Daily Trigger", style=shape.triangleup, location=location.abovebar,
text="DTRG", textcolor=color.white, color=color.new(#FF4500, 0), size=size.small)
alertcondition(trigger_D, title="Daily DEMA Trigger Alert", message="Daily DEMA trigger detected")
// ======================= WEEKLY TRIGGER =======================
weeklyClose_W = request.security(syminfo.tickerid, "W", close)
dema10W = f_dema(weeklyClose_W, shortDEMA_W)
dema20W = f_dema(weeklyClose_W, longDEMA_W)
dailyVolW = volume
avgVol50 = ta.sma(dailyVolW, volAvgLen_W)
volCondition_W = dailyVolW > volMultiplier_W * avgVol50
priceCondition_W = close > dema20W
demaCondition_W = dema10W > dema20W
trigger_W = priceCondition_W and demaCondition_W and volCondition_W
plotshape(trigger_W, title="Weekly Trigger", style=shape.triangledown, location=location.abovebar,
text="WTRG", textcolor=color.white, color=color.new(#1E90FF, 0), size=size.small)
alertcondition(trigger_W, title="Weekly DEMA Trigger Alert", message="Weekly DEMA trigger detected")
// ======================= ORIGINAL TRIGGER =======================
dema10O = f_dema(close, shortDEMA_O)
dema20O = f_dema(close, longDEMA_O)
dailyVolO = volume
avgVolO = ta.sma(dailyVolO, volAvgLen_O)
volCondition_O = dailyVolO > volMultiplier_O * avgVolO
priceCondition_O = close > dema10O
demaCondition_O = dema10O > dema20O
trigger_Orig = priceCondition_O and demaCondition_O and volCondition_O
plotshape(trigger_Orig, title="Original Trigger", style=shape.labelup, location=location.belowbar,
text="TRG", textcolor=color.white, color=color.new(#32CD32, 0), size=size.small)
// ======================= COMBINED TABLE =======================
var table dash = table.new(position.top_right, 2, 20, border_width=1)
if barstate.islast
// --- DAILY TRIGGER (rows 0-4) ---
table.cell(dash, 0, 0, "Daily Trigger", text_color=color.white, bgcolor=color.new(#555555, 30))
table.cell(dash, 1, 0, trigger_D ? "YES ✅" : "NO ❌", text_color=color.white, bgcolor=trigger_D ? color.new(#FF4500, 0) : color.new(#555555, 50))
table.cell(dash, 0, 1, "CMP > 10D DEMA", text_color=color.white, bgcolor=color.new(#555555, 30))
table.cell(dash, 1, 1, str.tostring(close, format.price), text_color=color.white, bgcolor=priceCondition_D ? color.new(#32CD32, 0) : color.new(#AAAAAA, 50))
table.cell(dash, 0, 2, "10D > 20D DEMA", text_color=color.white, bgcolor=color.new(#555555, 30))
table.cell(dash, 1, 2, str.tostring(dema10D, format.price) + " > " + str.tostring(dema20D, format.price), text_color=color.white, bgcolor=demaCondition_D ? color.new(#FFFF00, 0) : color.new(#AAAAAA, 50))
table.cell(dash, 0, 3, "Daily Vol > 3x20D Avg", text_color=color.white, bgcolor=color.new(#555555, 30))
table.cell(dash, 1, 3, str.tostring(dailyVol, format.volume) + " / " + str.tostring(avgVol20, format.volume), text_color=color.white, bgcolor=volCondition_D ? color.new(#FF00FF, 0) : color.new(#AAAAAA, 50))
table.cell(dash, 0, 4, "10W DEMA Ref", text_color=color.white, bgcolor=color.new(#555555, 30))
table.cell(dash, 1, 4, str.tostring(dema10W_D, format.price), text_color=color.white, bgcolor=color.new(#00FFFF, 0))
// --- WEEKLY TRIGGER (rows 5-9) ---
table.cell(dash, 0, 5, "Weekly Trigger", text_color=color.white, bgcolor=color.new(#555555, 30))
table.cell(dash, 1, 5, trigger_W ? "YES ✅" : "NO ❌", text_color=color.white, bgcolor=trigger_W ? color.new(#1E90FF, 0) : color.new(#555555, 50))
table.cell(dash, 0, 6, "CMP > 20W DEMA", text_color=color.white, bgcolor=color.new(#555555, 30))
table.cell(dash, 1, 6, str.tostring(close, format.price), text_color=color.white, bgcolor=priceCondition_W ? color.new(#32CD32, 0) : color.new(#AAAAAA, 50))
table.cell(dash, 0, 7, "10W > 20W DEMA", text_color=color.white, bgcolor=color.new(#555555, 30))
table.cell(dash, 1, 7, str.tostring(dema10W, format.price) + " > " + str.tostring(dema20W, format.price), text_color=color.white, bgcolor=demaCondition_W ? color.new(#FFFF00, 0) : color.new(#AAAAAA, 50))
table.cell(dash, 0, 8, "Daily Vol > 3x50D Avg", text_color=color.white, bgcolor=color.new(#555555, 30))
table.cell(dash, 1, 8, str.tostring(dailyVolW, format.volume) + " / " + str.tostring(avgVol50, format.volume), text_color=color.white, bgcolor=volCondition_W ? color.new(#FF00FF, 0) : color.new(#AAAAAA, 50))
// --- ORIGINAL TRIGGER (rows 10-14) ---
table.cell(dash, 0, 10, "Original Trigger", text_color=color.white, bgcolor=color.new(#555555, 30))
table.cell(dash, 1, 10, trigger_Orig ? "YES ✅" : "NO ❌", text_color=color.white, bgcolor=trigger_Orig ? color.new(#32CD32, 0) : color.new(#555555, 50))
table.cell(dash, 0, 11, "CMP > 10D DEMA", text_color=color.white, bgcolor=color.new(#555555, 30))
table.cell(dash, 1, 11, str.tostring(close, format.price), text_color=color.white, bgcolor=priceCondition_O ? color.new(#32CD32, 0) : color.new(#AAAAAA, 50))
table.cell(dash, 0, 12, "10D > 20D DEMA", text_color=color.white, bgcolor=color.new(#555555, 30))
table.cell(dash, 1, 12, str.tostring(dema10O, format.price) + " > " + str.tostring(dema20O, format.price), text_color=color.white, bgcolor=demaCondition_O ? color.new(#FFFF00, 0) : color.new(#AAAAAA, 50))
table.cell(dash, 0, 13, "Daily Vol > 3x20D Avg", text_color=color.white, bgcolor=color.new(#555555, 30))
table.cell(dash, 1, 13, str.tostring(dailyVolO, format.volume) + " / " + str.tostring(avgVolO, format.volume), text_color=color.white, bgcolor=volCondition_O ? color.new(#FF00FF, 0) : color.new(#AAAAAA, 50))
ATR SL 10/10 This indicator draws an ATR-based trailing stop on the main chart and shows two compact labels:
• Stop line = Low − (ATR × Multiplier).
• “Today” label: the current bar’s stop price.
• “5-bar Max” label: the highest stop value over the last N bars (rolling window). Labels auto-separate slightly if they overlap so both remain readable.
ATR selection logic
• On confirmed bars (after close): uses today’s ATR.
• In real-time (bar not confirmed): uses max(today’s ATR, yesterday’s ATR) to avoid under-estimating volatility early in the session.
Inputs
• Length: ATR period.
• Smoothing: RMA/SMA/EMA/WMA for ATR.
• Multiplier: stop distance in ATR units.
• Long Base: price source for the long stop (usually Low).
• Show Price Line: toggle the pink stop line.
• Lookback: window for the rolling 5-bar maximum label.
Notes
• Overlay = true; the line scales with the price chart.
• Prices/labels use mintick formatting for clean alignment.
• Works on any timeframe; ATR is computed from the active chart’s bars with the above real-time safeguard.
Larry Williams - Smash Day (SL/TP in %)This strategy implements Larry Williams’ “Smash Day” reversal concept on any symbol and timeframe (daily is the classic). A Smash Day is a bar that closes beyond a recent extreme and then potentially reverses on the next session.