INVITE-ONLY SCRIPT
Mis à jour

MARAL Dynamic Risk Mapper

290
MARAL — Dynamic Risk Mapper

Overview
MARAL — Dynamic Risk Mapper is an execution-support indicator that converts a manual entry price into a structured, chart-based risk map. The script is designed for traders who already know where they want to enter and want the chart to define the most logical invalidation zone, dynamic stop-loss, and projected target path across selected timeframes.

This is an indicator, not a strategy. It does not place trades, does not simulate broker execution, and should not be treated as a promise of profitability. Its purpose is to improve trade planning by translating a manual entry into a clearer risk framework.

What the script does
After the user inputs a manual entry price and selects trade direction, the script calculates:

A dynamic stop-loss using selected timeframe structure, ATR buffering, or a hybrid of both

TP1, TP2, and TP3 using risk-reward mapping, structure-based projection, or hybrid logic

A live risk map board showing the active entry, stop, targets, selected timeframes, and route status

Optional on-chart labels and fill zones to make the trade map easier to read

Core idea
This script does not treat stop loss as a fixed distance. It treats stop loss as a market invalidation level derived from chart context. In the same way, targets are not random multiples only; they can also be projected from higher-timeframe structure.

The goal is to help answer practical execution questions such as:

Where does the trade become invalid?

Is the current stop too tight or too wide for the chosen timeframe?

Are the targets realistic relative to current structure?

Does the selected timeframe produce a cleaner risk map?

Inputs
Main user inputs include:

Manual entry price

Trade side: Long or Short

Stop-loss source timeframe

Take-profit source timeframe

Stop mode: Structure + ATR / Structure Only / ATR Only

Target mode: Hybrid / RR Only / Structure Only

Outputs on chart
The script can display:

Entry line

Dynamic SL line

TP1 / TP2 / TP3 lines

Risk/reward fill zones

Last-bar labels

MARAL risk board with map state and route status

Alert conditions
The script includes alert conditions to notify the user when price interacts with the mapped risk levels.

Available alerts:

MARAL Dynamic SL Touched

MARAL TP1 Touched

MARAL TP2 Touched

MARAL TP3 Touched

These alerts are intended as chart-event notifications only. They do not represent trading advice, order execution, or guaranteed trade results.

Intended use
This tool is intended as a decision-support layer for discretionary execution. It is especially relevant when a trader wants to manually choose the entry and then use the chart to map risk in a more systematic way.

Examples of use:

Converting a discretionary Gold or BTC entry into a structured SL/TP framework

Comparing fast execution risk vs broader structural invalidation

Reviewing whether a setup is balanced before committing to trade management

Important notes

This script is for risk mapping and visualization only

It does not guarantee fills, performance, or outcome quality

It should be used together with the trader’s own market judgment, execution rules, and risk controls

Market conditions, spread, slippage, liquidity, volatility, and session behavior can materially affect real trade outcomes

Dynamic levels may change as chart structure evolves

Originality / design intent
This publication is built as a manual-entry execution framework, not as a generic ATR stop tool. Its purpose is to bridge discretionary entry with a more systematic invalidation-and-target process using multi-timeframe context and chart-based structure.

Disclaimer
This indicator is an analytical aid only. It is not financial advice, not a solicitation to trade, and not a performance claim.
Notes de version
MARAL — Dynamic Risk Mapper Pro

Upgraded Version
MARAL — Dynamic Risk Mapper Pro is a discretionary trade-mapping and management-support tool built to organize:

manual Entry + Side

SL / invalidation

TP1 / TP2 / TP3

managed SL

break-even / trailing logic

confidence context

pressure / recovery tracking

live trader guidance

This script is not an automated trading system, does not place orders, and does not guarantee outcomes. It is a decision-support / execution-governance tool, not a signal service.

User Input

The trader provides only:

Trade Side (Long / Short)

Manual Entry Price

The script then builds a live trade map automatically.

What the Script Does
1) Dynamic Risk Mapping

Automatically maps:

Base SL

Managed SL

TP1 / TP2 / TP3

optional invalidation zone

Stop and target logic can use:

Structure + ATR

Structure only

ATR only

Hybrid / RR / Structure target modes

2) Managed Stop Logic

Supports:

Break-even

ATR Trail

Swing Trail

Structure Trail

Aggressive / Protective Trail

3) TP Confidence Engine

Computes target-confidence context for TP1 / TP2 using:

momentum quality

map quality

source quality

volatility fit

progress to target

risk / invalidation pressure

This is not probability or performance prediction. It is contextual management support only.

4) Recovery Tracking

Tracks situations where price:

moves toward the stop zone

breaches risk territory

returns toward entry

begins to recover

This helps identify:

SL Pressure

SL Breach

Recovery Watch

Recovery Confirmed

5) Management Response Logic

Adds live management context such as:

Trade Status

Momentum

Pressure

TP1 Response

Action

6) Pine Alert Support

Includes Pine alerts for:

map active

invalidation zone entered

near SL

near TP1 / TP2 / TP3

TP touched

BE armed

trail updated

momentum weakening

managed stop touched

confidence weakening

recovery watch / recovery confirmed

guidance change

All alerts are informational workflow notifications only.

Panels Included
A) Dynamic Risk Mapper

Shows:

Side

Entry State

Candle Bias

Zone

SL State

TP1 State

Event

Confidence

Focus: where price is relative to the mapped trade

B) Management Response Desk

Shows:

Trade Status

Momentum

Pressure

TP1 Response

Action

Focus: how the trade is behaving now

C) Trader Guidance Panel

Converts live map conditions into plain-language trader guidance such as:

price testing entry

invalidation pressure rising

TP1 approaching

TP1 hit with strong continuation

recovery improving

trade quality weakening

Focus: clear-cut guidance, not just status codes

Chart Elements

When enabled, the script can plot:

Entry

Managed SL

TP1

TP2

TP3

optional invalidation zone fill

risk / reward fill

These are visual trade-management references only.

Display

Includes a MARAL-style display system with:

Desktop / Medium / Mobile

text-size control

panel positioning

mobile minimal view

How to Use

Select Long or Short

Enter the manual entry price

Let the script build the live map

Use:

Dynamic Risk Mapper for price location

Management Response Desk for management condition

Trader Guidance Panel for plain-language guidance

Use alerts to monitor changes in risk, pressure, TP proximity, and recovery

Example

Screenshot Example: BTCUSD (4H)
Example link:
snapshot

In the example:

the map is Long

price is near entry

candle bias is Bear

zone is Entry Zone

SL state is Safe

TP1 is still far

confidence is Moderate

management desk shows the trade as Valid, but momentum is Weakening

guidance panel indicates that price is testing entry and needs stronger acceptance before holding with higher confidence

This is a good example of a map that is active and valid, but not yet in a clean expansion.

Important Notes

Discretionary trade-management support only

Does not place, modify, or execute trades

No broker connection

No guarantee of targets, stops, or outcomes

Confidence, response states, recovery states, commentary, and alerts are workflow outputs only

The trader remains fully responsible for execution, sizing, exits, and risk

Disclaimer
This script is provided for educational and analytical purposes only. It is a discretionary trade-mapping and management-support tool. It does not provide financial advice, does not place or manage broker orders, and does not guarantee results. All outputs, including mapped levels, confidence states, recovery states, commentary, and alerts, are informational only and must be used with personal judgment, forward testing, and disciplined risk management.

Notes de version
MARAL Dynamic Risk Mapper
MARAL Dynamic Risk Mapper is a discretionary trade-management overlay built for traders who want structured post-entry risk interpretation instead of static stop-loss and take-profit plotting.
The script is designed to map what is happening after a trade idea already exists. Rather than trying to predict the market with isolated signals, it focuses on live trade condition, structural health, defense quality, return-to-entry risk, pressure state, and the changing relationship between entry, stop, and target zones.

In practical terms, this tool is meant to answer a simple but important question:

"Given the current price behavior, is this trade still healthy, deteriorating, restricted, or near the point where risk should be reduced?"

What makes this script different

This is not a generic SL/TP visualizer.

The script combines trade-map levels with a live interpretation layer so the chart can be read in terms of trade condition, not just price location. The goal is to help discretionary traders understand whether a position is still structurally valid, whether defense is holding, whether pressure is increasing, and whether the trade is moving toward continuation, restriction, or exit-watch status.

The script is built around a mapped trade lifecycle, including:

initial entry reference
initial stop reference
active stop progression
staged target structure
health and pressure interpretation
return-risk assessment
path and obstacle framing
compact execution summary panel

This allows the trader to evaluate trade quality bar by bar instead of relying only on fixed levels.

Core idea behind the mapper

A trade can still be in profit and still be in trouble.

That is one of the main problems this script is designed to make visible.

Many tools only show whether price is above entry, below entry, near target, or near stop. MARAL Dynamic Risk Mapper goes one layer deeper by interpreting how the trade is behaving internally:

Is the structure still intact?
Is the move extending well or decaying?
Is stop defense improving or failing?
Is price at risk of returning to entry?
Is the next path clean or restricted?
Should the position be held, reduced, or protected more aggressively?

This makes the script more useful for execution governance and trade management than for pure signal generation.

How to read the chart

The chart layout is built around a mapped long or short trade structure.

Typical elements on the chart include:

ENTRY: the trade reference level
INIT SL: the original invalidation level
ACTIVE SL: the current live protection level as the trade develops
TP1 / TP2 / TP3: staged objective levels
Path / Obstacle labels: quick context on whether continuation is open, restricted, or blocked
Phase / Action box: current operating state of the trade
Main risk panel: detailed live interpretation
Mini execution panel: compact summary for fast reading

In the example chart, the long trade is still above entry and not fully invalidated, but the mapper is showing deterioration in trade quality. Structure remains technically intact, yet defense is weakening, pressure is elevated, and the risk of giving back profit is increasing. That is why the script shifts the interpretation away from simple "still valid" language and toward Exit Watch, Reduce, and Tighten Aggressively.

snapshot

This is a good example of the script's purpose: not to say only whether a trade is alive or dead, but to show when a trade may still be alive while becoming materially weaker.

What the panels are doing

The main panel summarizes multiple live trade conditions into readable states such as:

live health
risk / action bias
structure condition
stop posture
position quality
behavior state
decay / regime tone
defense condition
exit warning
forward map
hold reason
exit trigger
execution advisory
next step

The mini panel compresses that same logic into a faster execution readout for traders who want a compact chart view.

The purpose of these panels is not to replace trader judgment, but to reduce ambiguity during live management.

Intended use

This script is most useful for:

discretionary traders who already have an entry framework
traders who want structured trade management after entry
users who want clearer exit-watch and protection logic
traders who prefer condition-based execution support over black-box signals

It can be used as a management layer on intraday or swing charts, depending on the user's own workflow.

What this script is not

This script is not an auto-trading system.
It is not a guaranteed outcome model.
It is not a promise of profitability.
It is not financial advice.

It is a chart-based execution support and trade-management framework intended to help traders read evolving risk conditions in a more structured way.

Notes
Best used by traders who understand their own entry logic first.
The mapper is strongest when used as a decision-support layer, not as a standalone reason to enter a trade.
Output should always be interpreted in market context, not in isolation.
Disclaimer

This indicator is for educational and informational use only. It does not provide investment advice, trade recommendations, or guaranteed results. All trading involves risk. Users should evaluate any output in the context of their own methodology, risk tolerance, and market conditions.
Notes de version
MARAL Dynamic Risk Mapper — User-Centric Revised Edition

MARAL Dynamic Risk Mapper is a post-entry execution, trade-governance, and risk-interpretation framework built for traders who want more than static stop-loss and target lines.
What is upgraded in this revised edition
This upgraded user-centric edition focuses on clarity, usability, and post-entry control.
Main improvements include:
cleaner and more readable command panel
improved live-condition interpretation
clearer path / obstacle / next-target separation
TP confidence logic that reacts to live trade condition
post-TP1 behavior awareness
compact live marker with condition-based wording
mini execution panel for quick decision support
trade behavior lab for best move, drawdown, giveback, and move efficiency
revised auto logic for map, stop, target, and trail behavior
better handling of live management states such as hold, tighten, profit lock, reduce, and exit watch
user-centric presentation focused on execution clarity rather than signal excitement
Core panel philosophy

The main MARAL panel is designed to answer the most important live questions:
Is the trade healthy or weakening?
Is structure still intact?
Is the stop still correct?
Is the path still good, normal, or risky?
Is the position still worth holding?
Should the trader hold, tighten, partially reduce, or fully exit?

This script is built to make those decisions more visible and more structured.

TP Confidence panel
The TP Confidence board is not a blind prediction engine.
It is a structured view of whether live trade condition still supports:
TP1
TP2
TP3
continuation after TP1
protection-first management when continuation becomes mixed
It is especially useful when a trade is still valid, but confidence in later targets is no longer as clean as earlier in the move.

Trade Behavior Lab
The Trade Behavior Lab gives a more practical read on trade behavior using concepts like:
best move achieved
worst drawdown suffered
open profit
locked profit
giveback
move efficiency
behavior state
This helps the trader judge whether the move is:
converting well
giving back too much
still behaving efficiently
worth holding normally
better managed through protection-first logic
Example from the attached BTCUSD chart

The attached example shows a BTCUSD short that is already active and still in profit, but the script is not treating it as a reckless “hold and hope” trade.
snapshot
The panel is effectively saying:
the side remains short
the phase is now more mature
structure is still intact
live health is not failing, but also not fully strong
the script is no longer treating this as a fresh trade
profit protection now matters more than blind optimism
The live marker reads:
SHORT | WATCH | LOCK PROFIT
PATH NORMAL | TP1 OPEN
STOP: LOCK PROFIT
That is an important distinction.
This is not an exit panic message.
And it is not a “full confidence runner” message either.
It is a controlled management message.
In this example, the script is essentially saying:
the short is still valid
structure is still holding
the trade is already mature enough that profits should not be handled loosely
path is still usable, but not clean enough to behave carelessly
the correct behavior is to protect profit and manage the trade with discipline

The main panel reinforces this by showing:
structure intact
normal risk / action posture moving into protection logic
profit lock / lock profit behavior
low to moderate danger, not full collapse
next step focused on locking profit and deciding between partial or hold
The TP Confidence board in the same example does not show extreme optimism.
It shows a moderate confidence profile, which is exactly the point.
The tool is not trying to emotionally sell the trader on the most optimistic outcome.
It is trying to keep the trader grounded in what current trade behavior still supports.
The Trade Behavior Lab also contributes to that read by showing:
strong progress already achieved
locked profit existing
limited giveback at this stage
behavior still active, but deserving continued monitoring
So the BTCUSD example demonstrates the real purpose of this mapper:
A trade can still be valid, still be profitable, and still require disciplined protection rather than passive holding.
That is the kind of post-entry clarity this script is designed to provide.
Best use case
This tool is best used by traders who already have their own entry process and want more structure around:
post-entry trade monitoring
stop progression
continuation quality
giveback awareness
profit protection
exit timing
live execution support
It is especially useful for traders who do not want to manage active positions emotionally once the trade is already open.
Important note
This script is a decision-support and risk-interpretation tool.
It is not a signal service and not financial advice.
It does not guarantee outcomes.
It is designed to help traders think more clearly about live trade condition, risk posture, and execution quality after entry.
Philosophy behind MARAL Dynamic Risk Mapper
There are many tools that focus on the excitement of entry.
Far fewer tools focus deeply on what happens after the trade is already active.
That is where this mapper is built to help.

Because in real trading, capital is often not lost at entry alone.
It is lost in:
poor protection
late exits
weak continuation reads
excessive giveback
emotional holding after trade quality has already deteriorated
This tool is designed to make those transitions more visible.

Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.