PROTECTED SOURCE SCRIPT
Ross Cameron Style Momentum Signals

This Pine Script implements a momentum-based trading strategy inspired by Ross Cameron’s style. It combines several popular technical indicators and features to generate buy and sell signals in real time, alongside useful visual aids and alerts for decision-making.
Key Features:
Indicators Used:
Exponential Moving Average (EMA): Typically set to 9 periods, used to identify short-term trend direction.
Volume Weighted Average Price (VWAP): Tracks the average price weighted by volume, a strong intraday support/resistance level.
Volume Moving Average & Spike Detection: Checks for volume spikes relative to recent average volume to confirm momentum.
Average True Range (ATR): Used for calculating a trailing stop to protect profits.
Buy Signal Criteria:
Price is above the EMA (indicating bullish momentum).
Price is above the VWAP (price supported by volume-based average).
Current volume is significantly higher than average volume (volume spike).
When all these conditions are true simultaneously, a buy signal triggers immediately and is plotted on the chart.
Sell Signal Criteria:
The trailing stop (based on ATR) is hit — meaning price dropped below the dynamic stop loss.
Or price falls below EMA or VWAP (signaling weakening momentum).
Or volume drops below the spike threshold.
Or price hits a take-profit target based on a risk/reward ratio.
When any of these occur after a buy, a sell signal triggers and is displayed.
Trailing Stop:
A dynamic stop-loss level is maintained, set at 1.5 ATR below the highest low since entry.
This trailing stop moves up as the trade moves favorably, locking in profits while giving the trade room to breathe.
Support and Resistance:
The script detects recent pivot highs and lows as potential support and resistance points.
These are plotted on the chart as lines and triangle markers, helping visualize key price zones.
Predictive trendlines are drawn by connecting recent pivots and extending them into the future to anticipate possible support or resistance.
Daily Levels:
The script plots the High of Day (HOD) and Previous Day High (PDH) levels as horizontal lines to assist intraday traders with key reference points.
Alerts:
Alerts can be set for:
Buy signals,
Sell signals,
Breakouts above resistance,
Breakdowns below support.
These allow automated notifications or integrations with brokers/third-party tools.
Visual Elements on the Chart:
Buy signals: Green labels below bars.
Sell signals: Red labels above bars.
EMA line: Orange.
VWAP line: Blue.
Trailing Stop line: Purple.
Take Profit line: Teal.
Support pivots: Green triangles.
Resistance pivots: Red triangles.
Support and resistance lines: Solid green and red lines.
Predictive trendlines: Faint dashed lines extending support/resistance into the future.
High of Day (HOD): Yellow horizontal line.
Previous Day High (PDH): Orange horizontal line.
Overall Purpose:
This script helps traders identify bullish momentum entries with confirmation from price, volume, and trend indicators, then manage trades dynamically with trailing stops and risk/reward targets. Support/resistance lines and daily levels provide context, and alerts keep traders notified in real time.
It’s designed for active traders looking for an actionable system inspired by a well-known day trading approach.
Key Features:
Indicators Used:
Exponential Moving Average (EMA): Typically set to 9 periods, used to identify short-term trend direction.
Volume Weighted Average Price (VWAP): Tracks the average price weighted by volume, a strong intraday support/resistance level.
Volume Moving Average & Spike Detection: Checks for volume spikes relative to recent average volume to confirm momentum.
Average True Range (ATR): Used for calculating a trailing stop to protect profits.
Buy Signal Criteria:
Price is above the EMA (indicating bullish momentum).
Price is above the VWAP (price supported by volume-based average).
Current volume is significantly higher than average volume (volume spike).
When all these conditions are true simultaneously, a buy signal triggers immediately and is plotted on the chart.
Sell Signal Criteria:
The trailing stop (based on ATR) is hit — meaning price dropped below the dynamic stop loss.
Or price falls below EMA or VWAP (signaling weakening momentum).
Or volume drops below the spike threshold.
Or price hits a take-profit target based on a risk/reward ratio.
When any of these occur after a buy, a sell signal triggers and is displayed.
Trailing Stop:
A dynamic stop-loss level is maintained, set at 1.5 ATR below the highest low since entry.
This trailing stop moves up as the trade moves favorably, locking in profits while giving the trade room to breathe.
Support and Resistance:
The script detects recent pivot highs and lows as potential support and resistance points.
These are plotted on the chart as lines and triangle markers, helping visualize key price zones.
Predictive trendlines are drawn by connecting recent pivots and extending them into the future to anticipate possible support or resistance.
Daily Levels:
The script plots the High of Day (HOD) and Previous Day High (PDH) levels as horizontal lines to assist intraday traders with key reference points.
Alerts:
Alerts can be set for:
Buy signals,
Sell signals,
Breakouts above resistance,
Breakdowns below support.
These allow automated notifications or integrations with brokers/third-party tools.
Visual Elements on the Chart:
Buy signals: Green labels below bars.
Sell signals: Red labels above bars.
EMA line: Orange.
VWAP line: Blue.
Trailing Stop line: Purple.
Take Profit line: Teal.
Support pivots: Green triangles.
Resistance pivots: Red triangles.
Support and resistance lines: Solid green and red lines.
Predictive trendlines: Faint dashed lines extending support/resistance into the future.
High of Day (HOD): Yellow horizontal line.
Previous Day High (PDH): Orange horizontal line.
Overall Purpose:
This script helps traders identify bullish momentum entries with confirmation from price, volume, and trend indicators, then manage trades dynamically with trailing stops and risk/reward targets. Support/resistance lines and daily levels provide context, and alerts keep traders notified in real time.
It’s designed for active traders looking for an actionable system inspired by a well-known day trading approach.
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。