Zone Trader EA Manual


This is the manual for the Zone Trade EA available here: https://www.mql5.com/en/market/product/127753

The EA is a manual trading tool for trades to automatically take trades at support and resistance or supply and demand zones using price action entries within those areas. It is designed to be used as a position trading tool meaning there are no fixed stop losses used. Trades that work out are simply banked and the profit taken, trade that do not work out are turned into position trades using DCA scaling in techniques to adjust the average price level, the target zone is then adjusted to the next logical area price will target above the average price.

Recommended timeframes to be traded are the hourly timeframe and above as this is meant as a swing trading tool/strategy, but you could use the EA on any timeframe. Just be aware the lower you go the more “chop” you will experience in daily market movement and the less reliable trading zones will become.

The EA has multiple features which will be covered here and is also designed to be used as a training tool in the strategy tester in MT4 so you can practice trading zone bounces and position trading techniques to hone your skills at identifying obvious levels to trade from and towards.

USE IN THE STRATEGY TESTER

Content wll appear here shortly

USE IN LIVE TRADING

Content wll appear here shortly

INPUTS EXPLAINED

<<<< MAIN SETTINGS >>>>

EA works when bars close (false = on every tick) – This speeds up back testing and ensures calculations and check for price targets are done only when candles close, not on every tick. For live trading, you may want this to work on tick, but not necessary.

Always In Mode (Exit when opposite zone trades) – When set to true, the EA will close long trades when a sell zone is reached and price triggers and entry and then automatically get into a short trade so you are “always in” a trade in one direction or the other. Opposite functionality for short trades. If you set this to false, the EA will just exit the current trade(s) when the zone is reached and price action triggers but not enter a new trade in the opposite direction.

Extend zones if price exceeds them (deletes if false) – If set to true when price reaches a zone and a candle closes the opposite side of a block (goes through it) the EA will automatically expand the size of the zone to include the candle that closed outside the zone. Then wait for price action to reverse to take a trade. If you set this to false and price goes through a zone without a signal, the EA will delete the zone and wait for you to draw a new one.

Zone width in candles – This is the width of the zone the EA draws on the chart, counted in number of candles back from current price.

Zone height as ATR percentage – This is the height of the zone drawn with the buttons as a percentage of the ATR setting you use (inputs below) and it’s advisable to use the daily timeframe (ADR – average daily range) for this which the EA is set to as default.

Zone distance from current price as ATR percentage – This is how far away from current price as a percentage of the ATR figure you use to draw the closest edge of the zone. Set this to something that you know price will not reach quickly depending on the timeframe you are trading on. Around 1/4 of ADR is a good level initially to give you plenty of time to adjust the zone before price moves into it.

**** PRICE ACTION SIGNALS ****

Enter if piercing into zone – For a sell zone the last closed candle must have a high above the low of the zone and the close of the candle below the low of the zone. Opposite for a buy zone.

Enter if open inside and close outside zone –  For a sell zone the last closed candle must have the open above the low of the zone and the close of the candle below the low of the zone. Opposite for a buy zone.

Enter on price action inside zone –  For a sell zone the last closed candle must have the open above the low of the zone and the close of the candle also above the low of the zone. Opposite for a buy zone.

**** RISK SETTINGS ****

Amount to risk over 1 ATR (0 = use lots) – If NOT set to 0 this will be the amount of money the EA risks over 1 measurement of the ATR you have selected in the inputs below. It is recommended to use ADR (daily range) as this ensures your trades have room to breathe. When set to 0 the EA will default to using a fixed lot size.

Fixed lot size for first trade – This is the initial lot size the EA will use to trade with.

Martingale lot multiplier for additional trades (lots only) – This is the multiplier to increase additional trades taken in a position by. e.g. if your initial trade is 1.00 lot and you set this to 1.5 then your second trade will be taken at 1.50 lots. The next at 2.25 and so on until all trades in a single direction are closed out either manually with the buttons or by hitting the opposite zone. This only works when fixed lots are selected instead of monetary risk.

Min distance between entries as multiple of ATR – This is the minimum spacing between each trade and the EA will not trade if the candle closes within this distance. Ideally you would use a percentage of ADR (average daily range) to space your trades out so there is not too much drawdown but your average price is also not kept too far away. The EA will draw this level on the chart to aid you in placing your next zone for additional entries outsize this area. A visual warning is displayed on the chart if the zone you have drawn is too close. Somethere between 0.5 and 1 ADR are good guides for trading daily levels using H1 timeframe and above.

**** ATR CALCULATIONS ****

ATR timframe – This is the ATR timeframe used for all ATR calculations for distancing, trailing stop and risk in the EA. The default is daily so the EA uses ADR (average daily range) as a guide for spacing and risk parameters.

ATR period – This is the number of periods (candles) back to calculate the ATR. If using daily anything from 2 weeks to a few months is a good measure to guide you as to what the instrument you are trading moves on a daily basis. The higher the number the more smoothed and less change you will see in the calculation and levels/risk being used.

**** TRAILING STOP LOSS ****

Exit using a trailing stop based on ATR – If set to true each individual trade will start to trail a stop loss either on tick or candle close (based on the input in main settings) using whatever inputs you use below. 

Multiple of ATR for trailing stop – This is a multiple of the ATR figure you use (ADR recommended) to add and trail a stop by as price moves in your direction.

Multiple of ATR to start trailing stop – The trailing stop will not start until price has moved this far into profit. Ideally set both of these to the same setting to allow your trade room to breathe.

Trail stop loss to breakeven only – If set to true the EA will stop trailing once the stop is above your entry price. NOTE: If using candle close this may lock in profit for you also depending on the size of the candle that closed above your entry.

**** EXIT AT END OF DAY OR CANDLE ****

Exit trades at set time every day – When set to true the EA will automatically close out your trades at a set time. This is useful for those trading intraday on lower timeframes that do not want to hold overnight.

Time on chart to close trades at every day – Enter the time you want the EA to close your positions if the above is set to true. Format is HH:MM, e.g. 22:30 would be 10:30pm.

Exit trades at close of candle on specific timeframe – If set to true the EA will check on the close of every candle on the timeframe you choose and close trades. 

Timeframe to exit trades at candle close – Select the timeframe you want to close trade on if the above is set to true.

Only exit if trades are in profit – If set to true the above options for closing trades will only happen if a specific profit amount has been reached. This input is particularly useful for scalping strategies and allows you to set and forget the EA and take whatever profit is available every hour or 4 hour period.

Minimum profit to close at – This is the amount of money you would like as a MINIMUM when the candle time or end of day time above is reached.

**** EXIT AT MONEY TARGET AMOUNTS ****

Exit at an amount of money in profit – If set to true the EA will monitor your open trades and automatically close them out individually if they are above the set amount. This is used for closing losses as well as profits.

Amount of money to exit trade in profit – Enter the amount of money in profit for an individual trade to be closed out at.

Amount of money to exit trade in loss (- neg number) – Enter the amount of money in loss for an individual trade to be closed out at. NOTE: This should be entered as a negative number. e.g. -200 will close out when you are 200 in drawdown on the trade.

**** EXIT AFTER AMOUNT OF TIME ****

Exit after a set amount of time passes – If set to true individual trades will be closed out after they have been open for a specific amount of time. This is useful for exiting trades that stagnate and the desired action or movement has not occurred within a set time.
NOTE: use only one and the most relevant to the timeframe you are trading on.

Number of days – Number of days to exit

Number of hours – Number of hours to exit

Number of minutes – Number of minutes to exit

**** TRADING TIMES ****

Use a time of day filter to limit opening trades – If set to true the EA will only open new trades within these times. This is designed to stop the EA taking entries during overnight swap periods when the spread can get extremely large and slippage can occur due to low liquidity. You can also use this to only trade during certain market sessions.

Time on chart to start monitoring for new entries – Time to start trading in the format HH:MM

Time on chart to stop monitoring for new entries –  Time to stop trading in the format HH:MM

**** DRAWING & COLOURS ****

Show profit & ATR data on chart

Display swap data on chart

Maximum negative swap you deem too expensive to trade

Week start line colour

Width of weekly start line

Zone buttons text colour

Sell colour

Buy colour

Close buttons colour

Traded zone colour

Show previous weekly levels

Number of previous levels to draw

Delete drawn objects when EA removed

Text offset in hours to right of current candle

Magic Number



Source link

Leave a Comment