Forex Doji Candle Detection Indicator
From the Old Kings archive: Forex Doji Candle Detection Indicator, an expert advisor (trading robot) for MetaTrader 4. Its name points to candlestick patterns. In the code it works with moving averages, ATR and Heiken Ashi. It places pending orders, can size trades from your risk and has a news filter. It has 9 settings, for example Signal1Color (default Lime), Signal1Pos (default Low) and Signal1Text (default (Candle Pattern[] is Doj). Before any live use, test it on a demo account and check its lot size, stop loss and trading hours. Inside: 1 indicator file 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.
Expert advisor · MT4 · v1.0 · Free
About Forex Doji Candle Detection Indicator
Forex Doji Candle Detection Indicator is an expert advisor (trading robot) for MetaTrader 4 based on Moving Average, ATR and Heiken Ashi. It places pending buy/sell stop or limit orders, can size trades from your balance and risk percent and has a news filter. It has 9 settings, such as Signal1 color, Signal1 pos and Signal1 text. MQL source code included.
Files in the download: DojiDetect.mq4, installation manual.txt.
Trading robots can lose money. Check every setting and test on a demo account before using real funds.
Settings
| Setting | Default | What it does |
|---|---|---|
| Signal1 color | Lime | Colour on the chart |
| Signal1 pos | Low | |
| Signal1 text | (Candle Pattern[] is Doji) | |
| Signal1 character | 167 | what character to display? by default it is 167 (a small square) |
| Mt4 alert | true | Turn this alert on or off |
| Email alert | true | Turn this alert on or off |
| Email subject | Doji Alert : | Turn this alert on or off |
| Look back for alerts | 5 | Turn this alert on or off |
| Label corner | 0 |
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 → Experts.
- 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 expert advisor from the Navigator onto a chart, check the settings, allow Algo/Auto Trading and press OK.
- Test it first on a demo account or in the Strategy Tester.
Tags: Candlestick Patterns · Pending Orders · Risk & Lot Size · News Trading · Moving Average · ATR · Heiken Ashi · MT4 Indicator · MQL4 Source Code