HarmonikManual - MetaTrader 4 Script | Trading Script Download - MT4/MT5 Resources






The indicator will display the pattern name by manually placing XABCD points and automatically search for the next Potential Reversal Zone (PRZ).
This idea was first published by Snorm as the DavincisKiss indicator. I have modified Harmonic Ratios.mq4 by alltraders and added more required commands.
I improved this indicator so it looks like this:

I added some features as shown on the right side of the diagram.
With the click of a button function, you can set up the utility as follows:
You can also use your own database of harmonic patterns. Just change the number of inputs "Filename" and "DatabaseRecord" in the input tab (see image above). You don't have to worry about entering inappropriate numbers into the "DatabaseRecord" because the indicator will adjust if the given number is too large. If the number entered is too small, the database record will only be read based on the number entered. Save the database file in
The name of the new version of the indicator is: HarmonMan.mq4
Name pattern,minXB_,maxXB_,minAC_,maxAC_,minBD_,maxBD_,minXD_,maxXD_ Bat, 0.382 , 0.5 , 0.382 , 0.886 , 1.618 , 2.618 , 0.886 , 0.886 Max Bat, 0.382 , 0.618 , 0.382, 0.886, 1.272, 2.618, 0.886, 0.886Max Gartley, 0.382, 0.618, 0.382, 0.886, 1.128, 2.236, 0.618, 0.786Alternative Shark 2 , 0.446 , 0.618 , 0.618 , 0.886 , 1.618 , 2.618 , 0.886 , 0.886 Anti - young star , 0.5 , 0.786 , 0.467 , 0.707 , 1.618 , 2.618 , 0.786 , 0.786 Leonardo, 0.5 , 0.5 , 0.382 0.886 0.618 , 0.382 , 0.886 , 2.24 , 3.618 , 1.618 , 1.618 anti - new password, 0.5 , 0.786 , 0.467 , 0.707 , 1.618 , 2.618 , 1.272 , 1.272 butterfly, 0.786 , 0.786 , 0.382 , 0.886 , 1.618 , 2.618 , 1.272 , 1.618 Max butterfly, 0.618 , 0.886 , 0.382 , 0.886 , 1.272 , 2.618 , 1.272 , 1.618Butterfly 113 , 0.786 , 1 , 0.618 , 1 , 1.128 , 1.618 , 1.128 , 1.128Alternative Shark 1 , 0.446 , 0.618 , 0.618 , 0.886 , 1.618 , 2.618 , 1.128 , 1.128 deep crab , 0.886 , 0.886 , 0.382 , 0.886 , 2.618 , 3.618 , 1.618 , 1.618 a crab , 0.276 , 0.446 , 1.128 , 2.618 , 1.618 , 2.618 , 0.618 , 0.618 new password, 0.382 , 0.618 , 1.414 , 2.14 , 1.272 , 2 ,s = "number" , 1.618 , 2.236 , 0.886 , 0.886 a bat, 0.382 , 0.618 , 1.128 , 2.618 , 2 , 2.618 , 1.128 , 1.128 shark 2 , 0.382 , 0.618 , 1.128 , 1.618 , 1.618 , 2.236 , 1.128 , 1.128Ten star, 0.382 , 0.618 , 1.414 , 2.14 , 1.272 , 2 , 1.272 , 1.272Alternative bat , 0.382 , 0.382 , 0.382 , 0.886 , 2 , 3.618 , 1.128 , 1.128Navarro200 , 0.382 , 0.786 , 0.886 , 1.128 , 0.886 , 3.618 , 0.886 , 1.128 a Gartley , 0.618 , 0.786 , 1.128 , 2.618 , 1.618 , 1.618 , 1.272 , 1.272 121 , 0.5 , 0.786 , 1.128 , 3.618 , 0.382 , 0.786 , 0.382 , 0.786 white swan , 0.382 , 0.786 , 2 , 4.237 , 0.5 , 0.886 , 0.238 , 0.886 a 3 driver , 0.618 , 0.786 , 1.272 , 1.618 , 0.618 , 0.786 , 0.13 , 0.886guerrilla2 , 0.128 , 3.618 , 1.128 , 1.618 , 1.618 , 2.236 , 0.618 , 3.618a121 , 1.272 , 2, 0.5, 0.786, 1.272, 2, 1.272, 2.618 3 drive, 1.272, 1.618, 0.618, 0.786 , 1.272 , 1.618 , 1.618 , 2.618 black swan , 1.382 , 2.618 , 0.236 , 0.5 , 1.128 , 2 , 1.128 , 2.618 Henry David , 0.128 , 2 , 0.44 ,ss = "number" , 1.128 , 1.618 , 1.5 , 2.236 , 0.5 , 0.618 , 0.4 , 0.618David VM 1 , 0.128 , 1.618 , 0.382 , 0.382 , 1.618 , 1.618 , 0.618 , 3.618 David VM 2 , 1.618 , 3.618 , 0.382 , 0.382 , 1.618 , 1.618 , 0.618 , 7.618 snoring , 0.9 , 1.1 , 0.9 , 1.1 , 0.9 , 1.1 , 0.618 , 1.618Colonel Poluchik , 0.128 , 3.618, 0.382, 2.618, 1, 1, 0.618, 3.618Haima , 0.128 , 3.618 , 0.382, 0.5, 1.618 , 2.618 , 0.618 , 3.618guerrillas , 0.128 , 3.618 , 0.382 , 0.382 , 1.618 , 1.618 , 0.618 , 3.618all 1 , 0.382 , 0.786 , 0.382 , 0.886 , 1.272 , 2.618 , 0.786 , 0.886all 2 , 0.382 , 0.786 , 0.382 , 0.886 , 1.618 , 3.618 , 1.128 , 1.618all 3 , 0.276 , 0.618 , 1.128 , 2.618 , 1.272 , 2.618 , 0.618 , 0.886all 4 , 0.382 , 0.786 , 1.128 , 2.618 , 1.618 , 2.618 , 1.128 , 1.272all , 0.276 , 0.786 , 0.382 , 2.618 , 1.272 , 3.618 , 0.618 , 1.618guerrilla2.1 , 0.128 , 3.618 , 1.128 , 1.128 , 1.618 , 1.618 , 0.618 , 3.618Guerrillas 2.2 , 0.128 , 3.618 , 1.128 , 1.128 , 2.236 , 2.236 ,n class = "number" 1.618 , 1.618 , 2.236 , 2.236 , 0.618 , 3.618 BG1, 0.128 , 0.886 , 0.618 , 0.618 , 1.618 , 1.618 , 1 , 1 BG2, 0.128 , 0.886 , 0.707 , 0.707 , 1.414 , 1.414 , 1 , 1 BG3, 0.128 , 0.886 , 0.786 , 0.786 , 1.272 , 1.272 , 1 , 1 BG4 , 0.128 , 0.886 , 0.886 , 0.886 , 1.128 , 1.128 , 1 , 1 BG5, 0.128 , 0.886 , 0.5 , 0.5 , 2 , 2 , 1 , 1 BG1 , 0.128 , 0.886 , 0.382 , 0.382 , 2.618 , 2.618 , 1 , 1 BG2 , 0.128 , 0.886 , 0.447 , 0.447 , 2.237 , 2.237 , 1 , 1 BG3, 0.128 , 0.886 , 0.5 , 0.5 , 2 , 2 , 1 , 1 BG4 , 0.128 , 0.886 , 0.618 , 0.618 , 1.618 , 1.618 , 1 , 1 BG5, 0.128 , 0.886 , 0.707 , 0.707 , 1.414 , 1.414 , 1 , 1 BG6 , 0.128 , 0.886 , 0.786 , 0.786 , 1.272 , 1.272 , 1 , 1 BG7 , 0.128 , 0.886 , 0.854 , 0.854 , 1.171 , 1.171 , 1 , 1 BG8, 0.128 , 0.886 , 0.886 , 0.886 , 1.128 , 1.128 , 1 , 1 121 BG , 0.5 , 0.577 , 1.128 , 1.733 , 0.618 , 0.707 , 0.447 , 0.786gartley , 0.618 , 0.618, 0.382 , 0.886 , 1.128 , 1.618 , 0.786 , 0.786 NN bat, 0.382 , 0.5 , 0.382 , 0.886 , 1.618 , 2.618 , 0.886 , 0.886 NN Alt Bat, 0.382 , 0.382 , 0.382 , 0.886 , 2 , 4.236 , 1.128 , 1.128 NN crab, 0.382 , 0.618 , 0.382 , 0.886 , 2.236 , 4.236 , 1.618 , 1.618 NN Deep Crab, 0.886 , 0.886 , 0.382, 0.886 , 2.618 , 4.236 , 1.618 , 1.618 NN Gartley, 0.618 , 0.786 , 1.128 , 2.618 , 1.618 , 1.618 , 1.272 , 1.272 NN A bat , 0.382 , 0.618 , 1.128 , 2.618 , 2 , 2.618 , 1.128 , 1.128 NN A Alt bat , 0.236 , 0.5 , 1.128 , 2.618 , 2.618 , 2.618 , 0.886 , 0.886 NN a butterfly, 0.382 , 0.618 , 1.128 , 2.618 , 1.272 , 1.272 , 0.618 , 0.786 NN a crab, 0.236 , 0.447, 1.128 , 2.618 , 1.128 , 2.618 , 0.618 , 0.618 NN a deep crab, 0.236 , 0.382, 1.128 , 2.618 , 1.128, 1.128 , 0.618 , 0.618 Neolio, 0.5 , 0.5 , 0.382 , 0.886 , 1.128 , 2.618 , 0.786 , 0.786 NN Leo, 0.382 , 0.886 , 1.128, 2.618 , 2 , 2 , 1.272 , 1.272 NN total 1 , 0.382 , 0.786 , 0.382 , 0.886 , 1.272 , 2.618 , 0.786 , 0.886 NN total 2 , 0.382 , 0.786 , 0.382 , 0.886 , 1.618 , 4.236 , 1.128 , 1.618 NN total 3 , 0.236 , 0.618 , 1.128 , 2.618 , 1.272 , 2.618 , 0.618 , 0.886 NN total 4 , 0.382 ,n class="number">0.786, 1.128 , 2.618 , 1.618 , 2.618 , 1.128 , 1.272 NN total***, 0.236 , 0.786 , 0.382 , 2.618 , 1.272 , 4.236 , 0.618 , 1.618 NN Bl Swan , 1.382 , 2.618 , 0.236 , 0.5 , 1.128 , 2 , 1.128 , 2.618 NN Wh Swan , 0.382 , 0.724 , 2 , 4.236 , 0.5 , 0.886 , 0.382 , 0.886
The above data is a database of harmonic patterns and must be saved as Harmontrad.csv and the file placed in terminal_data_folder\MQL4\Files.
After the indicator is loaded, place XABCD at any point and if the pattern is found, the left panel will show the name of the pattern, otherwise it will show AB compared to CD.

If we want to search for the next possible PRZ, place text D to the right of the last candle (Time[0]), if text D is above text C, the indicator will search upward for PRZ and vice versa.
Enter the text and name it ON, then insert the PRZ quantity we want to search for.

The image below shows the results:

We can add more patterns in harmontrad csv, but you need to change the number of database records at line 622 as shown in the image below:

If point D disappears, just press Ctrl+B to delete the text and name it D and ON, as shown below:
This forms a new text D.

Attachment download
📎 harmonikmanual.mq4 (34.98 KB)
📎 harmonman.mq4 (79.4 KB)
Source: MQL5 #12488
HarmonikManual - Important points before using the MetaTrader 4 script
This page has been supplemented with structured instructions, focusing on the purpose of trading scripts, MT4/MT5 platform compatibility, testing procedures and risk control. Before downloading or deploying, it is recommended to first determine whether it is consistent with your own variety, cycle and account environment.
Suitable for who to use
- Users who want to quickly screen trading scripts and are willing to do simulation verification first.
- People who need to compare MT4/MT5 EAs, indicators, scripts or source code projects.
- Traders who wish to record backtests, parameters and risk boundaries before placing a trade.
Testing and risk control suggestions
- First verify the default parameters in the strategy tester or demo account, and then adjust the symbol, period, spread and trading period one by one.
- Scalping, grid, martin, and high-frequency strategies should focus on observing maximum drawdowns, consecutive losses, slippage, and trading frequency.
- It is not recommended to run any document directly on the real disk. At least observe the simulated disk performance for 2-4 weeks first.
FAQ
Can MT4 and MT5 be used interchangeably?
Usually cannot be used directly. EX4/MQ4 corresponds to MT4, EX5/MQ5 corresponds to MT5, and the source code needs to be compiled in the corresponding MetaEditor.
Is this resource guaranteed to be profitable?
cannot. EAs, indicators and scripts can only be used as trading tools, and the results depend on parameters, market environment, spreads, slippage and risk control.
What else can I continue to watch?
Forex EA download , foreign exchange indicator download , EA evaluation , MQL5 CodeBase .
English Search Notes
This page is also optimized for English search intent around HarmonikManual - MetaTrader 4 script . Related search terms include: trading script, MT4 script, MT5 script. Test any Forex EA, Expert Advisor, MT4/MT5 indicator, script or MQL source code with historical data and a demo account before live trading.
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •