OPEN-SOURCE SCRIPT
업데이트됨 Momentum Pulse Signals

Momentum Pulse Signals
This indicator generates Buy/Sell badges from a simple momentum score (the "pulse"), then automatically manages an ATR-based stop loss and a risk:reward-based take profit for each signal, showing the resulting entry/stop/target levels directly on the chart.
The pulse is just two common indicators added together. RSI is re-centred so 50 becomes 0 and the range becomes −1 to +1. The MACD histogram is divided by its own recent standard deviation and clipped to the same −1 to +1 range, so it scales itself to whatever the instrument's normal histogram size happens to be. The two are blended with an adjustable weight. When the blended value pushes past a positive trigger level the state flips bullish; when it pushes past the negative trigger level it flips bearish. A badge prints on the flip. That's the whole idea.
Key Features
Blended RSI + MACD-histogram score generates the base Buy/Sell signal, with an optional candle-confirmation requirement (close beyond open in the signal direction).
The MACD part is normalised by its own rolling standard deviation, so the same trigger level works across instruments without rescaling.
A trigger level with a dead zone around zero means the state only flips on a decisive move, not on every wiggle across zero.
Optional slope filter: the pulse must also be moving in the signal's direction over the last few bars.
Automatic ATR-based stop loss and configurable Risk:Reward take profit are calculated for every new signal, with intermediate take-profit levels plotted when Risk:Reward is greater than 1.
On-chart entry / stop-loss / take-profit lines and an SL distance (in points) label, both toggleable.
Take-profit, stop-loss, and "invalidated" (opposite signal fired before target/stop was hit) markers are plotted separately so you can see how each trade idea played out.
Optional baseline plot coloured by whether the pulse is positive or negative.
Real-price calculation via request.security() keeps signals consistent regardless of chart type (Heikin Ashi, Renko, etc.).
A full set of alertcondition() calls for Buy/Sell signals, take-profit hits, stop-loss hits, and invalidated entries.
How to Use
Start with the defaults. Raise the Pulse Trigger Level if you want fewer badges, lower it if you want more.
Shorten the Normalization Length to make the MACD side react faster, lengthen it to make it steadier.
Move the RSI Weight toward 1 to lean on RSI, toward 0 to lean on MACD.
Turn the slope filter off if you want signals the moment the level is crossed rather than waiting for agreement.
Watch the on-chart entry/SL/TP lines to track an open idea's risk and progress.
Set alerts on "Buy/Sell Signal", "Entry Signal", "Take Profit Hit", "Stop Loss Hit", or "Entry Invalidated" depending on which events you want.
This indicator generates Buy/Sell badges from a simple momentum score (the "pulse"), then automatically manages an ATR-based stop loss and a risk:reward-based take profit for each signal, showing the resulting entry/stop/target levels directly on the chart.
The pulse is just two common indicators added together. RSI is re-centred so 50 becomes 0 and the range becomes −1 to +1. The MACD histogram is divided by its own recent standard deviation and clipped to the same −1 to +1 range, so it scales itself to whatever the instrument's normal histogram size happens to be. The two are blended with an adjustable weight. When the blended value pushes past a positive trigger level the state flips bullish; when it pushes past the negative trigger level it flips bearish. A badge prints on the flip. That's the whole idea.
Key Features
Blended RSI + MACD-histogram score generates the base Buy/Sell signal, with an optional candle-confirmation requirement (close beyond open in the signal direction).
The MACD part is normalised by its own rolling standard deviation, so the same trigger level works across instruments without rescaling.
A trigger level with a dead zone around zero means the state only flips on a decisive move, not on every wiggle across zero.
Optional slope filter: the pulse must also be moving in the signal's direction over the last few bars.
Automatic ATR-based stop loss and configurable Risk:Reward take profit are calculated for every new signal, with intermediate take-profit levels plotted when Risk:Reward is greater than 1.
On-chart entry / stop-loss / take-profit lines and an SL distance (in points) label, both toggleable.
Take-profit, stop-loss, and "invalidated" (opposite signal fired before target/stop was hit) markers are plotted separately so you can see how each trade idea played out.
Optional baseline plot coloured by whether the pulse is positive or negative.
Real-price calculation via request.security() keeps signals consistent regardless of chart type (Heikin Ashi, Renko, etc.).
A full set of alertcondition() calls for Buy/Sell signals, take-profit hits, stop-loss hits, and invalidated entries.
How to Use
Start with the defaults. Raise the Pulse Trigger Level if you want fewer badges, lower it if you want more.
Shorten the Normalization Length to make the MACD side react faster, lengthen it to make it steadier.
Move the RSI Weight toward 1 to lean on RSI, toward 0 to lean on MACD.
Turn the slope filter off if you want signals the moment the level is crossed rather than waiting for agreement.
Watch the on-chart entry/SL/TP lines to track an open idea's risk and progress.
Set alerts on "Buy/Sell Signal", "Entry Signal", "Take Profit Hit", "Stop Loss Hit", or "Entry Invalidated" depending on which events you want.
릴리즈 노트
signal generation logic updates implemented오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.