Professional Documents
Culture Documents
HarmonicsTrader_v3.3.1
User Guide
HarmonicsTrader_v3.3.1
Look for this label throughout the User Guide to quickly find what’s new.
HarmonicsTrader_v3.3.0
HarmonicsTrader_v3.2.9
• Updated automatic magicnumber creation algorithm to also distinguish between different Time
Frames. Comes in handy when using the EA on the same instrument but on different TF’s on the same
account.
Bug fixes
• Repeatedly printing in log file of “Could not create Ghost Pattern. Error = 4200”.
Meaning that the Ghost Pattern is already created. So not really an error.
HarmonicsTrader_v3.2.8
Bug fixes
• No Alarm, E-mail or Notification when new pattern is found:
Deleted ZUP inputs and functions ExtAlert , ExtSendMail and ExtSendNotification and added those
functions in the EA. Now use showAlert, sendMail and sendNotification.
HarmonicsTrader_v3.2.7
Bug fixes
• Not opening all orders.
• Ghost pattern not always drawn.
HarmonicsTrader_v3.2.6
• Added Comment "Waiting for next pattern" when the pattern is no longer valid, instead of displaying
the name of the last found pattern.
• Comment no longer displaying TP_1, TP_2 and SL.
• When the SuppRes filter is used it now keeps redrawing instead of going to idle when no pattern.
HarmonicsTrader_v3.2.5
Bug fix
• Support & Resistance Filter not filtering on individual Patterns (ModeSuppResFilter setting = 3)
HarmonicsTrader_v3.2.4
• Changed license check done from https (secure connection) to http (non secure connection).
HarmonicsTrader_v3.2.3
• Changed trade logic to only close positions when opposite pattern is actually traded.
(Was: close positions when opposite pattern)
HarmonicsTrader_v3.2.2
Bug fixes
• EA not working when chosen Lot Size is too big, resulting in not managing already open positions.
HarmonicsTrader_v3.2.1
Bug fixes
• Not proper processing open orders when EA removed or chart closed.
• Get missing bars from other needed TF’s. (trailing stop, TP’s)
• License check occasionally not working.
HarmonicsTrader_v3.2
HarmonicsTrader_v3.1.1
HarmonicsTrader_v3.1
Features:
• Fully automated Set and forget.
• Works with 4 or 5 digit brokers.
• Manages unlimited number of charts simultaneously.
• H1 Time Frame recommended.
• Trades Forex, Shares, Indices, Commodities, anything ...
• Automatically Trailing Stops.
• Automatically sets Take Profits at different levels.
• Permits other EA's and manual trading.
• FREE lifetime support and updates.
• And more ………
Requirements:
• A serial number (license) if traded on a live account or a demo account (unlimited number of demo
accounts) which will be provided upon purchase.
30 day money back guarantee! (Strategy Tester is for free for unlimited time)
A previously obtained license is also valid of course.
• H1 Time Frame EURUSD recommended.
• Activate the EA for the live account number you wish to use it on by entering your information at the
'Activate EA' page. You can change this as often as you want.
One license per live account. You can use all versions of HarmonicsTrader simultaneously on that
account.
Activation is not required for Demo accounts. (a license is)
• When used on a Demo account (unlimited number of demo accounts), the last name of the owner of
that (those) demo account(s) has to match the last name of the PayPal transaction used to obtain the
license.
If you used someone else’s PayPal account to buy a license (which can be perfectly normal), the names
will not match and it will not work. If this is the case, just let me know so that I can adjust things.
support@harmonicstrader.com
Although HT was optimized for the EURUSD pair, you may also use it on other instruments, but before
you do, please run it through the Strategy Tester first! (see below)
HT works on the close of the candle on the default H1 time frame.
When a pattern is found and when certain conditions are true, HT will open 3 equal positions.
There will be 2 “Soft” Take Profits at different strategic levels (a little blue horizontal bar will be drawn
at that TP 1 and a yellow at TP 2), 3 “Soft” Stop Losses at the same level (a little red horizontal bar will
be drawn at that point.), and a safety “Hard” Stop Loss for each order if enabled.
Let’s assume a bullish pattern, so we have 3 buy orders.
When price closes above TP1 or TP2, 1 or 2 positions will be closed and the 3rd position will be trailed
by the “Soft” SL until stopped out.
“Soft” Trailing may start earlier for all 3 positions.
The “Hard” Stop Loss will be placed at Break Even (and some pips) at a certain moment, even if you
decided to not use the safety “Hard” Stop Loss. (only if SetBreakEven is set to true)
If an opposite pattern is traded, all open positions will be closed.
This can best be demonstrated in the Strategy Tester so let’s get along with that.
HarmonicsTrader works on Open prices only, so we don't need tick data!
- Download and install HarmonicsTrader
- Open the Strategy Tester view/ Strategy Tester
- Open a fresh EURUSD chart on the D1 time frame and scroll back in time to at least one month
more than the date you want to test from. Do the same for H1 time frame.
This is to ensure that you have all needed D1, H1 bars for your test. (Default settings)
- To make sure that there are no gaps in time larger than 2 days (WE), I have included a little EA
called “Walt_day_gap”. Run that first on H1 time frame “Open prices only”.
After it finishes (few seconds) check the Journal tab of the Strategy Tester.
There could be a few entries of gaps of 3 days which are probably around some holidays, don’t
worry about that. To test the D1 for gaps put “GapOfMoreThanDays” to “3”.
If there is a bigger gap(s), either pick another period or get the missing bars.
- Next Select all the settings like in the below screen shot. You may choose your broker’s average
spread, although it is of little consequence for this strategy.
- Click “Expert properties”, select the “Testing” tab and enter a appropriate amount and click ok.
- For the time being click “Start” to test with default settings.
Settings
SerialNumber
Enter your serial number for trading on a live or demo account.
You may leave it to 0 (zero) when testing in the Strategy Tester. (recommended before purchase)
MoneyManagement
Choose Money Management from dropdown list:
Lots, Percent or Risk
Adjust one of the next 3 settings accordingly to what you choose.
Lots
Fixed Lot size for each Order (3 orders).
Percent
Percent of free margin is Lot size. So the larger the account gets, the larger the lot size will be.
If the calculated lot size is smaller than the minimum lot size, the minimum lot size will be used.
Risk
Risk % of account equity per found Pattern (distance from opened positions to Soft SL).
So the Lot Size is inversely proportional to the size of the PRZ.
This is very convenient to reduce the risk in case of a pattern with a very big PRZ.
Risk can be approximate or strict according to the next setting “StrictRisk”.
Normally HT opens 3 positions / pattern. If with the minimum Lot size the risk is still too big then HT
will reduce the number of positions to comply with the Risk setting.
Attention: If your account currency is different from USD then the actual risk can be slightly different!
So please do a short test in the Strategy Tester and adjust this setting to more acceptable risk.
StrictRisk
Is only used when MoneyManagement = “Risk”.
true --> UseSafetyHardStopLoss will be set to true and HardStopLossExtraPoints will be set to 0.
to comply with the Risk setting.
So the hard SL will be equal to the soft SL. You may want to move the soft SL further away.
To avoid future Alerts when using this setting, please set UseSafetyHardStopLoss = true and
HardStopLossExtraPoints = 0.
false --> you decide where the HardStopLoss goes with the next 3 settings.";
SoftStopLossAddPoints
Points (10 points is 1 pip) added to bottom (bullish pattern) or top (bearish pattern) of PRZ to place Soft
Stop Loss. If the hourly bar closes past this Soft SL, the positions will be closed.
A little red horizontal bar will be drawn at that point.
UseSafetyHardStopLoss
A Hard Stop Loss will be placed as a safety measure.
Will automatically be set to “true” when using the above StrictRisk setting.
HardStopLossAddPoints
Points added to Soft Stop Loss to place Hard Stop Loss.
Will automatically be set to “0” when using the above StrictRisk setting.
SetBreakEven
Set to Break Even (and some pips) at a certain moment. The Hard Stop Loss will be moved here.
TimeNoMoreTrades
Before market close no more positions will be opened after this Time.
Preferable 14.00 NY time. So check your broker’s offset to that time.
Format = HH.MM (broker time)
CloseBeforeMarketClose
Close all positions on this chart before market close.
TimeCloseBeforeMarketClose
Time at which all positions on this chart will be closed before market close.
Format = HH.MM (broker time)
Log
Every trade will be logged and statistics will be generated at the end of every session.
The main purpose is to analyze results after a Strategy Tester run.
The generated log files are saved in YourMT4Platform/tester/files when the Strategy Tester is used
or YourMT4Platform/MQL4/files when used on a demo or live account.
PlaySoundOrders
Play a sound when orders are placed.
showAlert
Alarm pops up when new pattern is found.
sendMail
Get an e-mail when new pattern is found.
sendNotification
Get a notification (SMS) when new pattern is found.
magicNumber
0 = EA generates the magic number.
Leave to 0 unless you know what you’re doing.
ordercomment
0 = EA generates the order comment.
Leave blanc for no order comment or enter your own order comment.
Next 3 settings are not so important so you can leave them to their default setting “N/A”
FridayLastM1BarOpenTime
SundayFirstM1BarOpenTime
SundayFirstH4BarOpenTime
Move your mouse over the First M1 Sunday Bar and look at the time in the data window.
Enter that in SundayFirstM1BarOpenTime. Format HH:MM
If there's no M1 Sunday Bar Open then leave it as "N/A"
Move your mouse over the First H4 Sunday Bar and look at the time in the data window.
Enter that in SundayFirstH4BarOpenTime. Format HH:MM
If there's no H4 Sunday Bar Open then leave it as "N/A"
If your broker changes terminal time settings, please repeat these steps from the beginning.
I will not list the other ZUP settings here but you can leave them to default unless you know what you’re
doing.
HarmonicsTrader is based on the “###ZUP_v113wsv63” and you can find more info about it on this
forum:
http://www.forex-tsd.com/harmonic-trading/1093-harmonic-trading-509.html#post616034
EXTRA Settings
TfZUP
Choose Time Frame ZUP from dropdown list:
You can have the ZUP indicator on a different Time Frame than the Time Frame of the chart.
Default is “Current Time Frame”. Or it can be any of the following:
M1, M5, M15, H1, H4, D1, W1 or MN
ShiftMiddleLinePRZ_Percent
Default is 35%
The middle line of the PRZ is the trigger line (dotted line)
We can shift this line up (bullish pattern) or down (bearish pattern) by a percentage of the total height of
the PRZ. So if the prz is 100 points high and we take 3%, that is a 3 points shift of the middle line.
If we set 50%, we are using the prz top line (bullish pattern) or prz bottom line (bearish pattern) as our
trigger line.
ShiftMiddleLinePRZ_Points
Default is 30 points (3pips)
Same as above, but now we simply add/subtract points to the middle line of the prz.
REMARK: Cypher, Perfect, Enhanced and Elliott patterns use top / bottom line of PRZ as trigger
line. So the 2 settings above here have no effect on them.
TP1factor
Default is 0.9 which is 90%
This is the first “Soft” Take Profit. (remember that the bar has to close past that TP to close one order)
To calculate the TP_1 we look for: 1. the shortest line of the pattern (in points) and 2. at the distance (in
points) of point D to point B. Whichever of those two is the largest, that is our TP_1 at 100%.
In our case (default) TP1factor moves that point to 90% of that distance.
MinRiskReward
Default is Reward of 0.1 to risk of 1.
If below that RR, there is no trade. I know that is low, but we are using a “Soft” TP.
Explanation: We only trade (most, not all) the pattern if the candle closes in the right direction.
Now, it happens that the candle closes already past our first TP (TP_1),
meaning that a: it is a very small pattern or b: price moved too fast in the right direction and we are
basically too late to enter the trade.
So this parameter is only to check if we are not past our TP_1.
TfFractalsTrSt
Choose Time Frame Fractals Trailing Stop from dropdown list:
StartTrailingAfterBars
We start trailing after 16 bars (default) from opening of positions. (Only when in profit)
Or we start trailing if the first TP is taken.
Or we start trailing if bars from opening of positions is more than the number of bars from point C to
point D. Whichever of those three conditions is first met.
TrailingStopExtraPoints
Default is 30 points (3pips)
We add those points to the “soft” trailing stop of a bearish pattern or subtract them if bullish pattern.
SetBeAfterBars
Default is 24 bars.
We move the “Hard” Stop Loss to Break Even after 24 bars since opening of positions.
Or if first TP is taken.
BarsBelowAboveMA
Default is 24 bars.
Two Moving Averages are used to see if there is a trend:
SMA period 35 applied to Close.
EMA period 56 applied to Close.
If there is a Bearish pattern, and a sell order is about to be opened, and
if SMA 35 is higher than EMA 56 at that point, and the close of the previous 24 bars (default) are above
BOTH MA’s (1 bar close below both is disregarded), we consider this an up-trend so we don’t take the
trade. Visa versa for a bullisch pattern.
Trend Filter
ModeTrendFilter
Choose Mode Trend Filter from dropdown list:
It can be any of the following: All Off, All On or Select Below
Default is” Select Below”.
This trend filter can be applied for each individual pattern by means of the next settings.
If you want to block a pattern traded when there is a trend than set it to “true”
TrendFilterWhen_Gartley
TrendFilterWhen_Butterfly
Etc…..
ModeSuppResFilter
Choose Mode SuppRes Filter from dropdown list:
It can be any of the following: All Off, All On or Select Below
Default is” All Off”.
This Support & Resistance can be applied for each individual pattern by means of the next settings.
If you want to trade a pattern only when there is Support or Resistance set it to “true”
SuppResFilterWhen_Gartley
SuppResFilterWhen_Butterfly
Etc…..
Remark: I implemented this filter on request of a customer and it is not been back-tested for results or
optimization. So default setting is All Off
Draw_Ghost_Patterns
- True: will draw a copy of the tradable patterns as soon as they appear
This is great for analysing and adjusting your settings.
ResetGhostPatternNumberingOnRestart
Default = false resumes numbering of Ghost Patterns where left off after restarting MT4 platform.
True numbering of Ghost Patterns starts again with 1 after restarting MT4 platform.
- Go to HarmonicsTrader.com
- Download and install HarmonicsTrader if not already done.
- Click the 'BUY NOW' button on the left hand side. (first check 'I agree to the Policy')
I will refund 30 % for each additional purchase (only needed for Live accounts)!
- After a successfully purchase you will instantly get a SERIAL NUMBER, both upon return to the
web site and by E-mail. Please wait until you are being redirected from PayPal back to
HarmonicsTrader.com
- Activate the EA for the live account number (one only) you wish to use it on by entering your
information at the 'Activate EA' page. You can change this as often as you like. Activation is not
required for Demo accounts but the last name of the owner of that (those) demo account(s) has to
match the last name of the PayPal transaction used to obtain the license.
- Open a fresh H1 (preferable EURUSD) chart and put HarmonicsTrader on it.
- In the EA's Settings enter the obtained serial number.
- Change other settings like you want.
- If everything is ok you should see "License OK" in the top left hand corner.
- If not there will be either other messages there or an alert popping up or a message in the experts tab.
Those messages will tell you what is wrong and what you must do.
FAQ
Q: What if there are open positions and I close the MT4 platform?
A: If for some reason the whole platform is closed, HarmonicsTrader will simply start managing those
orders again when the platform is reopened.
Q: I get an error: “Cannot load library 'HarmonicsTrader_vx.x.dll' error 126”. What must I do?
A: Means that your operating system is missing some required files.
Just download and install the Microsoft Visual C++ 2010 Redistributable Package (x86)
http://www.microsoft.com/en-us/download/details.aspx?id=5555
This should fix the issue.
Q: When I run the EA in the Strategy Tester I get an error: “ZUP_v113wsv63_HT EURUSD,H1: zero
divide”. What must I do?
A: The ZUP indicator looks back in time to find a pattern. So if it doesn't find enough bars back in
history then you will get a "zero divide" error. Solution: In the Strategy Tester put a check-mark in "Use
date" and set the "From:" date to at least one month later than the earliest date of the history that you
have. If you still have the error keep moving that date forward until the error disappears.
Because version 3.x is quite different from the previous version 2.9, I like to consider it as a new series.
So we now have the 2 series, which is currently at version 2.9.4 (Contact me to get version 2.9.4)
, and the 3 series which is now at version 3.3.0
You can use all versions / series simultaneously with the same license (1 license per account).
So by all means feel free to install HarmonicsTrader_v2.9.x as well, it has a ton of features.
As you can see on the balance curves which are posted on the web site, there are periods where
HarmonicsTrader has a draw down but that’s inevitable.
There will also be periods where HT gains little to nothing for a longer time but that’s better than
loosing.
But what’s more important is that there will be periods of big winnings and that HT is profitable in the
long run! So don’t despair when things are not going well at the moment.
I have been running back test for several months now and found that these default settings are the best
ones in the long run for EURUSD H1 TF.
In the default settings you will see that HT does not search for the Crab pattern, the Alternate Bat pattern
and the 3 Drives pattern. I have yet to tame the Crab, there were only a few Alternate Bat patterns not
gaining a lot so not worth trading, and the 3 Drives where no good either. I will try to find a cure for
that.
Also the Perfect Gartley, Perfect Butterfly, Perfect Crab and the Perfect Bat are not looked for because
non of those popped up during the 10 year back test.
To conclude (before the legal stuff) I wish to thank everybody who has contributed to the success of the
HarmonicsTrader EA and for your confidence and support.
If you have any further questions or remarks, you can contact me at support@harmonicstrader.com
I always answer in a timely manner so if you don't get a reply after 24 hours please check your Spam
Filter.
Walter
Trading in the Foreign Exchange market is a challenging opportunity where above average
returns are available for educated and experienced investors who are willing to take above
average risk. However, before deciding to participate in Foreign Exchange (FX) trading, you
should carefully consider your investment objectives, level of experience and risk appetite.
Do not invest money you cannot afford to lose.
Forex, futures and options trading has large potential rewards, but also large potential risk.
You must be aware of the risks and be willing to accept them in order to invest in the Forex,
futures and options markets. Don't trade with money you can't afford to lose. This web site is
neither a solicitation nor an offer to Buy/Sell Forex futures or options. No representation is
being made that any account will or is likely to achieve profits or losses similar to those
discussed on this web site. The past performance of any trading system or methodology is not
necessarily indicative of future results.
There is considerable exposure to risk in any foreign exchange transaction. Any transaction
involving currencies involves risks including, but not limited to, the potential for changing
political and/or economic conditions that may substantially affect the price or liquidity of a
currency.
More over, the leveraged nature of FX trading means that any market movement will have an
equally proportional effect on your deposited funds. This may work against you as well as for
you. The possibility exists that you could sustain a total loss of initial margin funds and be
required to deposit additional funds to maintain your position. If you fail to meet any margin
call within the time prescribed, your position will be liquidated and you will be responsible
for any resulting losses. Investors may lower their exposure to risk by employing risk-
reducing strategies such as 'stop-loss' or 'limit' orders.
The information on this site is for educational purposes only. HarmonicsTrader.com is not
giving advice nor is qualified or licensed to provide financial advice. You must seek guidance
from your personal advisors before acting on this information. Trading can result in losses.
We will accept no responsibility for any losses you may incur. Do not invest more than you
can afford to lose.
By entering our web site and/or purchasing our expert advisor, you agree to hold harmless the
owners, principles, managers and all affiliates and associates of HarmonicsTrader.com for any
and all losses you may incur by purchasing and using any of the HarmonicsTrader.com
trading system. The use of our system or purchase of this product constitutes acceptance of
this user agreement.
This web site does not recommend or endorse any specific trading system or method. We
recommend that you research all trading systems, methods and strategies thoroughly.
HarmonicsTrader.com will issue a full refund until 30 days from purchase if the
customer is not satisfied. It is recommended though to first download and evaluate the
HarmonicsTrader EA in the MT4 Strategy Tester before purchasing a license.
PRIVACY POLICY
We use the information we collect about you only to provide better service, and in order to
operate this web site.
We may also use the information we collect to notify you about important functionality
changes to the Web site or new services. We will not abuse this privilege.
Upon initialization of the HarmonicsTrader EA, a license check is performed against the
information you submitted on the activation page.
By using our Web site, you consent to the collection and use of this information by
HarmonicsTrader.com. If we decide to change our privacy policy, we will post those changes
on this page so that you are always aware of what information we collect, how we use it, and
under what circumstances we disclose it.