Join our fan page
- Views:
- 2901
- Rating:
- Published:
- 2025.01.22 06:17
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Candle Range MetaTrader indicator — is a very simple and lightweight indicator that displays the candle's range in pips on mouseover. In addition, to the High/Low range, it can optionally display the body size (Open/Close) for candles. Multiple display parameters are available to control how the indicator looks. This indicator is available for both MT4 and MT5 versions of the trading platform.
Input parameters
- ShowBodySize (default = false) — if true, a candle's body size will also be shown.
- HavePipettes (default = false) — if true, the indicator will assume that the currency pair's quote contains pipettes and will show the pip ranges accordingly.
- TrueRange (default = false) — if true, the indicator will calculate true range (including the gap part) instead of the normal range.
- font_color (default = clrLightGray) — the color of the candle range indicator.
- font_size (default = 10) — the size of the candle range indicator.
- font_face (default = "Verdana") — the font of the candle range indicator.
- corner (default = CORNER_LEFT_UPPER) — the location for the candle range indicator on the chart.
- distance_x (default = 3) — the horizontal distance from the corner to the indicator.
- distance_y (default = 12) — the vertical distance from the corner to the indicator.
- DrawTextAsBackground (default = false) — if true, the text label with the candle range value will be drawn as background. It can be useful if you want to prevent the indicator from obscuring the chart.
- ObjectPrefix (default = "CR-") — the prefix for chart objects for compatibility with other indicators.

A real-time monitoring tool for MetaTrader 4 that displays key financial data, allows quick symbol switching, and customizable symbol lists. Save and reload symbols, reset lists, and customize text and panel colors for a personalized trading experience.

Symbol Swap Panel: Effortlessly switch the active symbol on your chart while simultaneously adding the new symbol to Market Watch. This tool ensures seamless integration and access to real-time market data, optimizing your trading workflow.

CloseAllOrdersEA for MetaTrader 4 closes all existing orders upon initialization. It works by: OnInit: Calls CloseAllOrders to shut down all market and pending orders. OnDeinit: Only logs deinitialization. OnTick: No action needed as orders are closed on start. CloseAllOrders: Loops from last to first order, retries up to 3 times to close/delete orders with error handling, uses current price for market orders, and deletes pending orders. Error Handling: Logs detailed errors for unsuccessful operations.

Negative Volume Index (NVI) is a free technical indicator for advanced chart analysis in MT4, MT5 platforms. It is based on tick volume (can be substituted with real volume in MT5) and has two useful features added: