Trade History Visualizer
- Indicatori
- Versione: 1.0
- Attivazioni: 5
Trades History Visualizer is a MetaTrader 5 indicator that displays your trading history directly on the chart, providing a clear visual representation of past trades with additional information.
Key Features:
- Visual trade history display with entry arrows
- Entry, Stop Loss, and Take Profit horizontal lines
- Color-coded connector lines between entry and exit points (green for profit, red for loss)
- Risk-Reward ratio display for each closed trade
- Profit/Loss amount display option
- Pip display option (automatic 4/5 digit broker adjustment)
- Configurable lookback period
- Option to show trades for current symbol only or all symbols
- Customizable colors for all elements
- Flexible text positioning
How It Works:
The indicator scans your deal history within and draws visual elements on the chart:
- Horizontal lines at entry, SL, and TP prices
- Entry arrows (green for buy, red for sell)
- Dotted connector lines from entry to exit price
- Text labels showing RR, profit/loss amount, and pip count
Use Cases:
- Trade journaling and post-analysis
- Strategy performance review
- Trade entry/exit timing analysis
- Risk management evaluation
Input Parameters Description:
- ShowOnlyCurrentSymbol - If true, displays trades for the current chart symbol only. If false, shows all trades from history.
- DaysBack - Number of days to look back in trade history. Set higher for longer-term analysis.
- SpanBars - Length of horizontal lines in number of candles.
- EntryColor - Color of the entry price horizontal line.
- SLColor - Color of the Stop Loss horizontal line.
- TPColor - Color of the Take Profit horizontal line.
- ProfitConnector - Color of the connector line for profitable trades (entry to exit).
- LossConnector - Color of the connector line for losing trades (entry to exit).
- TextColor - Color for all text labels (RR, amount, pips).
- LineWidth - Thickness of drawn lines (1-3 recommended).
- Prefix - Object name prefix for conflict prevention with other indicators.
- ShowRR - Display Risk-Reward ratio for closed trades.
- ShowAmount - Display profit/loss amount in account currency.
- ShowPips - Display pip count from entry to exit.
- ShowTextOnRight - Position text labels to the right of the exit point. If false, text appears at exit time.
- RightSideOffset - Number of bars to offset text to the right (when ShowTextOnRight is enabled).
