Loading…

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

SettingDefaultWhat it does
Magic filter-1-1 means all magic numbers, still TargetSymbol only.
Symbol overrideExplicit exact broker symbol override; blank uses catalog target.
Slippage points30Maximum slippage allowed when opening a trade
Max attempts3
Max quote age seconds120
Chart timeframePERIOD_CURRENTPeriod or timeframe used by the calculation
All matching chartsfalse
Template nameCFX_Default
Object prefixCFX_
Rename prefixCFX_Renamed_
Destination chart id0

How to install

  1. Download the ZIP from your PolyMaria library and unzip it.
  2. In MetaTrader 5 open File → Open Data Folder, then go to MQL5 → Scripts.
  3. Copy the .mq5 file(s) there. Put any .mqh files in MQL5 → Include.
  4. Open the .mq5 file in MetaEditor and press Compile (F7) if MetaTrader does not show it.
  5. Drag the script onto a chart to run it once.

Download the PDF guide

Tags: MT5 Script · MQL5 Source Code

MQL4 & MQL5 scripts · PolyMaria