Compile logCompiled
MetaEditor build 6333 · MT5 · 1 Dec 2026, 10:19 UTCcompiling FXN_CandlePatterns.mq5✓ Result: 0 errors, 0 warnings, 3.9 soutput FXN_CandlePatterns.ex5 · 23 KBsha256 d1c3695f74e089ee…3f07df50
Files version 1.0
| File | Lines | Size |
|---|---|---|
| FXN_CandlePatterns.mq5 | 253 | 9 KB |
| FXN_CandlePatterns.ex5 compiled by the Lab | – | 23 KB |
FXN_CandlePatterns.mq5253 lines
//+------------------------------------------------------------------+//| FXN_CandlePatterns.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 "Marks engulfing, pin bar (hammer / shooting star) and inside bar patterns on closed candles."#property indicator_chart_window#property indicator_buffers 3#property indicator_plots 3#property indicator_label1 "Bullish pattern"#property indicator_type1 DRAW_ARROW#property indicator_color1 clrMediumSeaGreen#property indicator_width1 1#property indicator_label2 "Bearish pattern"#property indicator_type2 DRAW_ARROW#property indicator_color2 clrCrimson#property indicator_width2 1#property indicator_label3 "Inside bar"#property indicator_type3 DRAW_ARROW#property indicator_color3 clrGoldenrod#property indicator_width3 1#define PFX "FXN_CP_"//--- inputsinput group "Patterns"input bool InpEngulfing = true; // Bullish / bearish engulfinginput bool InpPinBar = true; // Pin bars (hammer / shooting star)input bool InpInsideBar = true; // Inside barsinput group "Rules"input double InpPinWick = 2.0; // Pin bar: long wick at least this many bodiesinput double InpPinWickPct = 60.0; // Pin bar: long wick at least this % of the candleinput double InpPinNosePct = 25.0; // Pin bar: other wick at most this % of the candleinput double InpMinRange = 0.5; // Engulfing / pin: candle at least this x average range (0 = off)input int InpAvgBars = 14; // Bars used for the average rangeSign 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.