Compile logCompiled
MetaEditor build 6333 · MT5 · 1 Dec 2026, 10:20 UTCcompiling FXN_HeikinAshiSmoothed.mq5✓ Result: 0 errors, 0 warnings, 4.2 soutput FXN_HeikinAshiSmoothed.ex5 · 19 KBsha256 f478c334becb0503…a189a7b9
Files version 1.0
| File | Lines | Size |
|---|---|---|
| FXN_HeikinAshiSmoothed.mq5 | 206 | 7 KB |
| FXN_HeikinAshiSmoothed.ex5 compiled by the Lab | – | 19 KB |
FXN_HeikinAshiSmoothed.mq5206 lines
//+------------------------------------------------------------------+//| FXN_HeikinAshiSmoothed.mq5 |//| 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 "Smoothed Heikin Ashi candles: a moving average before and after the Heikin Ashi step, drawn on the chart."#property indicator_chart_window#property indicator_buffers 13#property indicator_plots 1#property indicator_label1 "HA Smoothed Open;HA Smoothed High;HA Smoothed Low;HA Smoothed Close"#property indicator_type1 DRAW_COLOR_CANDLES#property indicator_color1 clrMediumSeaGreen, clrIndianRed#property indicator_width1 1//--- inputsinput group "Smoothing before Heikin Ashi"input ENUM_MA_METHOD InpMethod1 = MODE_SMMA; // Average type applied to open/high/low/closeinput int InpPeriod1 = 6; // Average period (1 = no smoothing)input group "Smoothing after Heikin Ashi"input ENUM_MA_METHOD InpMethod2 = MODE_LWMA; // Average type applied to the Heikin Ashi valuesinput int InpPeriod2 = 2; // Average period (1 = no smoothing)input group "Display"input color InpBullColor = clrMediumSeaGreen; // Bullish candle colourinput color InpBearColor = clrIndianRed; // Bearish candle colourinput group "Alerts"input bool InpAlertColour = false; // Alert once when a closed candle changes colour//--- buffersdouble BufO[];double BufH[];double BufL[];double BufC[];double BufClr[];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.