OPEN-SOURCE SCRIPT
업데이트됨 ScalpMap - EMA Pivot Targets

ScalpMap is a lightweight target-mapping tool designed for NQ scalping. It highlights nearby pivot-derived scalp levels on the correct side of EMA bias.
Asset designed for:
NQ / MNQ futures
Recommended timeframe:
15 seconds to 1 minute, depending on volatility.
In higher volatility conditions, lower timeframes may provide more responsive levels.
In lower volatility conditions, higher timeframes may help reduce noise.
The tool uses EMA34 as the main directional filter. When price is trading above the EMA with sufficient separation, the bias favours long-side setups. When price is trading below the EMA with sufficient separation, the bias favours short-side setups.
The plotted levels are generated from two pivot layers:
Pivot levels are filtered to reduce clutter and avoid plotting multiple levels too close together. Levels can also flip from resistance to support, or support to resistance, after confirmed close-through behaviour. This helps the tool focus on the most relevant levels around current price.
Core trade logic:
Visual guide:
This script is intended as a visual decision-support tool only. It does not provide buy or sell signals and should be used together with your own trade plan and risk management.
Asset designed for:
NQ / MNQ futures
Recommended timeframe:
15 seconds to 1 minute, depending on volatility.
In higher volatility conditions, lower timeframes may provide more responsive levels.
In lower volatility conditions, higher timeframes may help reduce noise.
The tool uses EMA34 as the main directional filter. When price is trading above the EMA with sufficient separation, the bias favours long-side setups. When price is trading below the EMA with sufficient separation, the bias favours short-side setups.
The plotted levels are generated from two pivot layers:
- Tight close-based pivots for local structure.
- Wider wick-based pivots for larger rejection points.
Pivot levels are filtered to reduce clutter and avoid plotting multiple levels too close together. Levels can also flip from resistance to support, or support to resistance, after confirmed close-through behaviour. This helps the tool focus on the most relevant levels around current price.
Core trade logic:
- Take trades only on the correct side of the EMA.
- Avoid entries directly into clustered levels where price is likely to chop producing lower R trades whilst the EMA is rounding.
- Look for cleaner impulse scalp opportunities when price breaks through level and has open space toward the next spread-out target.
Visual guide:
- Blue levels mark upper targets / resistance-side levels.
- Red levels mark lower targets / support-side levels.
- The orange line is the EMA34 bias line.
This script is intended as a visual decision-support tool only. It does not provide buy or sell signals and should be used together with your own trade plan and risk management.
릴리즈 노트
Improved how ScalpMap maintains target levels after strong directional moves.Previously, when price cleared or retired existing pivot levels, the script could temporarily lose active upper or lower targets. The target engine now includes fallback extension logic so projected levels continue to populate even when price breaks beyond the existing pivot structure.
- Improved target continuity after strong breakouts.
- Added fallback extension levels when no valid pivot anchor is available.
- Reduced situations where the chart may show no active target levels after price clears nearby structure.
릴리즈 노트
Update v0.3 - Synthetic Target Levels- Added synthetic extension targets for ATH conditions.
When price moves beyond known pivot structure, ScalpMap now seeds projected target levels from current price using ATR-based spacing. This helps maintain active upper and lower scalp targets during strong impulse moves when no confirmed pivot levels exist beyond price.
릴리즈 노트
V0.4 Update - optimized for faster loading and reduced script overhead.- Removed unused pivot metadata and pivot ageing logic.
- Improved array handling using persistent scratch arrays.
- Reduced repeated pivot scanning with early loop exits.
- Improved level coloring logic so color follows live price position more cleanly.
Note: Stored pivot levels are capped for performance. In some conditions, older valid pivots may drop from the active map and be replaced by ATR-based extension levels. These are useful guide levels, but may be less significant than real historical structure. Check further back on the chart or use a higher timeframe for stronger target context.
릴리즈 노트
V0.5- Fixed H/L target classification bug from v0.4.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.