Compile logCompiled
MetaEditor build 2425 · MT4 · 1 Dec 2026, 10:23 UTCcompiling FXN_TrendDashboard.mq4✓ Result: 0 errors, 0 warnings, 3.6 soutput FXN_TrendDashboard.ex4 · 24 KBsha256 e4b6ef1c2934f31b…48cc524e
Files version 1.0
| File | Lines | Size |
|---|---|---|
| FXN_TrendDashboard.mq4 | 256 | 10 KB |
| FXN_TrendDashboard.ex4 compiled by the Lab | – | 24 KB |
FXN_TrendDashboard.mq4256 lines
//+------------------------------------------------------------------+//| FXN_TrendDashboard.mq4 |//| FXNook Lab Hub starter library - MIT licence |//| https://lab.fxnook.com/hub |//+------------------------------------------------------------------+#property copyright "FXNook Lab (MIT licence)"#property link "https://lab.fxnook.com/hub"#property version "1.00"#property description "Panel with the trend (up, down or flat by EMA slope and price vs EMA) on M5, M15, H1, H4 and D1."#property strict#property indicator_chart_window#property indicator_buffers 0#define PFX "FXN_TD_"#define NTF 5//--- inputssinput string InpSep1 = "=== Trend rule ==="; // ---- Trend rule ----input int InpEmaPeriod = 50; // EMA period on every timeframeinput int InpSlopeBars = 5; // EMA slope measured over this many closed barsinput int InpAtrPeriod = 14; // ATR period used to scale the slopeinput double InpFlatAtr = 0.10; // Slope below this many ATRs counts as flatsinput string InpSep2 = "=== Panel ==="; // ---- Panel ----input ENUM_BASE_CORNER InpCorner = CORNER_LEFT_UPPER; // Chart cornerinput int InpX = 10; // Horizontal distance from the corner in pixelsinput int InpY = 25; // Vertical distance from the corner in pixelsinput int InpFontSize = 9; // Font sizeinput color InpUpColor = clrMediumSeaGreen; // Up trend colourinput color InpDownColor = clrTomato; // Down trend colourinput color InpFlatColor = clrGoldenrod; // Flat colourinput color InpTextColor = clrSilver; // Text colourinput color InpBackColor = C'20,24,32'; // Panel backgroundinput color InpEdgeColor = C'60,70,90'; // Panel border//--- timeframesENUM_TIMEFRAMES g_tf[NTF] = {PERIOD_M5, PERIOD_M15, PERIOD_H1, PERIOD_H4, PERIOD_D1};string g_name[NTF] = {"M5", "M15", "H1", "H4", "D1"};Sign in to read all the code and download it
It is free. A free account lets you see every line, copy it, download the source and open a copy in your Lab. The compiled file can be downloaded without an account.