Set Chart Foreground CADCHF
Set Chart Foreground CADCHF — MT5 script, supplied with source code and a compiled file. Source metadata: ID 2877: Set Chart Foreground CADCHF Source algorithm identifier: SET_CHART_FOREGROUND. Declared inputs include: MagicFilter, SymbolOverride, SlippagePoints, MaxAttempts, MaxQuoteAgeSeconds, ChartTimeframe, AllMatchingCharts, TemplateName, ObjectPrefix, RenamePrefix, DestinationChartId. Description extracted from the supplied source metadata. Compilation compatibility, runtime behavior and trading results have not been independently verified.
Script · MT5 · v1.0 · Free
About Set Chart Foreground CADCHF
Set Chart Foreground CADCHF is a script for MetaTrader 5. It has 11 settings, such as Magic filter, Symbol override and Slippage points. MQL source code included.
Files in the download: Set_Chart_Foreground_CADCHF_MT5.mq5, Set_Chart_Foreground_CADCHF_MT5.ex5.
Settings
| Setting | Default | What it does |
|---|---|---|
| Magic filter | -1 | -1 means all magic numbers, still TargetSymbol only. |
| Symbol override | Explicit exact broker symbol override; blank uses catalog target. | |
| Slippage points | 30 | Maximum slippage allowed when opening a trade |
| Max attempts | 3 | |
| Max quote age seconds | 120 | |
| Chart timeframe | PERIOD_CURRENT | Period or timeframe used by the calculation |
| All matching charts | false | |
| Template name | CFX_Default | |
| Object prefix | CFX_ | |
| Rename prefix | CFX_Renamed_ | |
| Destination chart id | 0 |
How to install
- Download the ZIP from your PolyMaria library and unzip it.
- In MetaTrader 5 open File → Open Data Folder, then go to MQL5 → Scripts.
- Copy the .mq5 file(s) there. Put any .mqh files in MQL5 → Include.
- Open the .mq5 file in MetaEditor and press Compile (F7) if MetaTrader does not show it.
- Drag the script onto a chart to run it once.
Tags: MT5 Script · MQL5 Source Code