The TradeSentinel LONG SIGNAL alert notifies you when several constructive conditions align for the first time and a new LONG ACTIVE state begins.
The alert message in TradingView is:
TradeSentinel LONG SIGNAL: New long state started.
The signal is generated by the TradeSentinel – Core script. It is not based on one indicator alone. Four conditions must be present at the same time:
Relative Strength is bullish.
The SMA20 has been rising for three consecutive periods.
The SMA100 has been constructive for three consecutive periods.
Price closes above the highest close of the previous four periods.
The signal therefore highlights a moment when relative performance, short-term trend, longer-term trend development, and recent price progress align.
The stock’s Relative Strength must remain above its RS moving average for three consecutive periods.
In addition, the RS moving average itself must be rising.
This means:
the stock is outperforming the selected reference asset
the outperformance is not limited to a single period
the underlying RS trend is also improving
The standard reference asset is SPY, although this can be changed in the indicator settings.
This condition helps prevent the signal from triggering on a stock that is rising in price but losing ground relative to the wider market.
The SMA20 must have a positive change for three consecutive periods.
In simple terms:
The 20-period moving average must be rising for three periods in a row.
This confirms that the stock’s shorter-term trend is moving upward consistently rather than improving for only one isolated period.
The SMA100 must be constructive for three consecutive periods.
The Core script counts the SMA100 as constructive when it is either:
already rising, or
still falling but becoming less negative
This means the longer-term trend does not need to be fully positive yet.
For example, the SMA100 may still slope downward slightly, but each new reading may be less negative than the previous one. This shows that longer-term deterioration is easing.
The three periods may contain any mixture of:
a rising SMA100
a still-negative but improving SMA100
This condition allows the signal to identify both:
established upward trends
improving transitions where the longer-term trend is beginning to recover
The current close must be higher than the highest close of the previous four periods (a 5 day high).
This confirms that price is making fresh short-term progress.
The condition uses the closing price, not merely the intraday high. Price must finish the period above the recent closing range.
This can indicate that:
buyers maintained control into the close
price is leaving a short consolidation
the stock is beginning another upward leg
the improving trend conditions are translating into actual price progress
When all four conditions become true and no LONG state is currently active:
a TradeSentinel LONG SIGNAL is generated
the chart can display a green vertical highlight when Indicate LONG SIGNAL is enabled
the script enters the LONG ACTIVE state
the LONG SIGNAL alert fires once
The signal does not repeat on every following period while the conditions remain constructive.
It fires only on the period where the new LONG state starts.
LONG SIGNAL marks the start of the state. LONG ACTIVE shows that the state remains in effect.
After the initial LONG SIGNAL, the script remains in the LONG ACTIVE state.
The corresponding TradingView alert is:
TradeSentinel LONG ACTIVE: Long state is currently active. It remains active until RS falls below RS MA.
LONG ACTIVE does not mean that a new signal is generated on every period.
It means that the original Relative Strength-based state has not yet ended.
The LONG ACTIVE state ends when Relative Strength becomes bearish.
For this to happen:
RS must be below its RS moving average
this must remain true for three consecutive periods
The end condition is therefore based specifically on sustained Relative Strength deterioration.
The LONG state does not end merely because:
price has one negative period
the SMA20 flattens for one period
volatility increases
price briefly pulls back
This means LONG ACTIVE should not be confused with a complete trade-management system. It tracks whether the RS-based state remains active according to the Core script.
While LONG ACTIVE is in effect, the chart displays an RS Stop Loss reference.
The label shows:
the approximate price at which the stock’s RS would meet its RS moving average
the percentage distance from the current price to that reference
It appears in the interface as:
RS Stop Loss
This is a Relative Strength reference level derived from the selected benchmark and the RS moving average.
It is not necessarily the correct stop for every trade. It should be compared with:
price structure
recent lows
moving averages
volatility
position size
your own invalidation rules
The signal helps identify when several constructive developments occur together:
Core condition | What it confirms |
RS bullish for three periods | Sustained market outperformance |
RS moving average rising | Improving relative-performance trend |
SMA20 rising for three periods | Constructive shorter-term trend |
SMA100 constructive for three periods | Positive or improving longer-term trend |
Close above the previous four closes | Fresh short-term price progress |
Instead of reacting to one positive candle, the alert waits for broader alignment.
It may help identify:
a stock resuming its upward trend
a breakout from a short consolidation
a recovering stock gaining Relative Strength
a new price leg supported by improving trend conditions
a stock moving from observation into closer review
A LONG SIGNAL is a reason to review the chart. It is not an automatic instruction to enter a position.
After receiving the alert, check:
Structure: Is price breaking out from a healthy base or moving erratically?
Location: Is the stock near a manageable entry area or already extended?
Relative Strength: Is leadership convincing and appropriate for your timeframe?
Volatility: Is volatility LOW, NORMAL, HIGH, or EXTREME?
Volatility pressure: Is it expanding, easing, or neutral?
Volume: Is participation supporting the move?
Invalidation: Is there a clear structural level that would prove the setup wrong?
Risk-to-reward: Is the potential reward reasonable relative to the required risk?
A signal can be technically valid while the current location or volatility makes engagement unattractive.
Interface event | What it means | Typical response |
TradeSentinel LONG SIGNAL | All Core conditions aligned and a new long state started | Review the complete chart |
LONG SIGNAL vertical highlight | The precise period where the state began | Assess setup quality and timing |
TradeSentinel LONG ACTIVE | The previously triggered state remains active | Monitor the position or watchlist candidate |
RS Stop Loss | Price reference where RS approaches its RS moving average | Compare with structural invalidation |
RS bearish for three periods | Relative Strength has remained below its moving average | LONG ACTIVE state ends |
The TradeSentinel LONG SIGNAL identifies alignment. It does not determine whether the setup, entry price, position size, and risk are appropriate for you.