Forex Pin Bar Detector Pattern Trading Strategy
From the Old Kings archive: Forex Pin Bar Detector Pattern Trading Strategy, an indicator for MetaTrader 4. Its name points to candlestick patterns. In the code it works with MACD, moving averages, ATR and Heiken Ashi. It draws arrows on the chart. It has 40 settings, for example Ma Metod (default 2), Ma Period (default 6) and Ma Metod2 (default 3). Attach it to a chart to see what it draws, then compare it with price on a few timeframes. Inside: 13 indicator files with source code (.mq4) you can open and edit in MetaEditor. Old Kings are classic community tools shared as-is. Not tested by PolyMaria. Try it on a demo account first. Are you the author of this tool? Message us on Telegram (@abumarket_support) and we will credit you or take it down.
Indicator · MT4 · v1.0 · Free
About Forex Pin Bar Detector Pattern Trading Strategy
Forex Pin Bar Detector Pattern Trading Strategy is an indicator for MetaTrader 4 based on MACD, Moving Average, ATR and Heiken Ashi. It draws buy and sell arrows on the chart. It has 40 settings, such as Ma metod, Ma period and Ma metod2. MQL source code included.
Files in the download: 4TF-HAS with Pin Bar Detector.tpl, aGann_HiLo_Activator_v2.ex4, FATv3 Trader On Chart BASIC.ex4, fatv3_toc_basic.dll, Heiken_Ashi_Smoothed.mq4, installation manual.txt, Keltner Channels.mq4, Magnified_Market_Price.mq4 ….
Settings
| Setting | Default | What it does |
|---|---|---|
| Ma metod | 2 | |
| Ma period | 6 | Period or timeframe used by the calculation |
| Ma metod2 | 3 | |
| Ma period2 | 2 | Number of bars in the calculation |
| Period | 10 | Period or timeframe used by the calculation |
| Level | 1 | |
| Note1 | Change font colors automatically? True = | |
| Bid ask colors | True | Colour on the chart |
| Note2 | Default Font Color | |
| Font color | Black | Colour on the chart |
| Note3 | Font Size | |
| Font size | 32 | |
| Note4 | Font Type | |
| Font type | Arial Black | |
| Note5 | Display the price in what corner? | |
| What corner | 1 | |
| Bar width | 0 | |
| Bar color up | Blue | Colour on the chart |
| Bar color down | Red | Colour on the chart |
| Text color | White | Colour on the chart |
| Max bars | 500 | |
| Length | 15 | |
| Arrow distance | 1 | Distance between orders |
| Nota dist sl | Si dist_SL=0 => dist_SL= automatico | |
| Dist sl | 0 | |
| Nota equity | Si equity=0 => equity=AccountEquity | |
| Equity | 0 | |
| Nota1 c | Capital=Equity+C. C es virtual y | |
| Nota2 c | puede ser cero,positivo o negativo | |
| C | 0 | |
| Nota risk | risk= % a arriestar sobre Equity+C | Risk per trade (percent of balance) |
| Risk | 2 | Risk per trade (percent of balance) |
| Nota atr | Necesario si dist_SL=0 | |
| T frame atr | 0 | |
| Period atr | 14 | Number of bars in the calculation |
| Nota k | Si dist_SL=0 => dist_SL=k*ATR(n) | |
| K | 3 | |
| Divisacuenta | ||
| Note esquina | En que esquina se muestra? | |
| Font color | Red | Colour on the chart |
How to install
- Download the ZIP from your PolyMaria library and unzip it.
- In MetaTrader 4 open File → Open Data Folder, then go to MQL4 → Indicators.
- Copy the .mq4 file(s) there. Put any .mqh files in MQL4 → Include.
- Open the .mq4 file in MetaEditor and press Compile (F7) if MetaTrader does not show it.
- Drag the indicator from the Navigator onto a chart and adjust the settings.
Tags: Candlestick Patterns · Buy/Sell Arrows · MACD · Moving Average · ATR · Heiken Ashi · MT4 Indicator · MQL4 Source Code