Bug fix: Fixed an issue where short trades would be taken if basket trading at the level set for distance between trades without waiting for a reversal alert.
Added specific trade levels to the EA. These new inputs allow the user to enter a specific price that much be achieved (either touched or traded below) before the EA will start to trade. There is also a filter to allow you to designate the number or bars ago this price should have been either touched or exceeded.
These new filters so not affect basket trading settings, they are for the initial entry only.
Feature added due to popular requests for it. Perfect for those traders who what to only enter when price has "stop hunted" a level or "bounced" from a support/resistance or supply/demand zone.
Logic change to allow better manual interraction and handle basket trading more efficiently:
The EA calculates and stores lot sizing and position entry using global variables differently now to help people manually closing trades or using a TP with basket trading.
VERSION 4.0 LOGIC: If you had multiple positions opened and either you manually closed one or had a TP or DD control option which closed the last position the last traded entry level and lot size would stay the same.
For basket/position trading this would mean the EA would need to wait for price to push above that old level before taking a new trade.
VERSION 4.1 LOGIC: With the new logic the last open live position will be stored so it will only need to push above/below that before taking a trade now and not the old level that was from your last closed position.
This will enable position traders to take profits and then put those orders back on to profit again if price pushes against you.
Last open trade and last open lot size are now used which will also mean lot size multipliers will use the LAST position you have placed by the EA and not the last position that was closed.
NOTE: THIS IS A MAJOR LOGIC CHANGE AND WILL AFFECT THOSE WITH OLD SET FILES THAT WERE USING POSITION TRADING WITH ANY OF THE FOLLOWING:
A PER TRADE FIXED TP
DD CONTROL (Partial of full)
LOT SIZE MULTIPLIERS
If you were only using TPs for the basket OR just single trades with a stop it will not affect you at all.
Enhanced dashboard display to add additional information including, MA and HTF MA levels, trade direction, lot sizing, distance between trades (for basket trading), magic numbers in use and the trade comment.
The dashboard is now also split into multiple sections so you can choose what will be displayed.
Basket Trading Settings:
Added ability to select the distance between orders as a percentage of ADR instead of pips. You can select which you prefer now with an input.
Lot Size Multiplier:
Adjustment to logic to aid people using micro lot sizing of 0.01/0.02 as initial position with lot multipliers less than 1.5. The EA will now gradually increase by 0.01 lot until the lot multipler can round up properly for you instead of never increasing.
0.01 with 1.3X multiplier would work as 0.01, 0.02, 0.02, 0.03, 0.03, 0.04, 0.05, 0.07, 0.09, 0.11, 0.14 etc...
0.02 with 1.3X multiplier would work as 0.01, 0.02, 0.03, 0.05, 0.07, 0.09, 0.11, 0.14 etc...
Added spread filter so the EA will not trade if the spread is too large, e.g. around news volatility or at overnight swaps.
Close Trades On Opposite Reversal Alert:
This will close your trade(s) when there is a market reversal alert in the opposite direction. This is similar to the "close trades on opposite signal" but it ignores any filters you may have active like RSI, MA or ADR and simply closes the position when an alert triggers in the opposite direction.
Disable EA After Trade:
When the pair the EA is loaded on to goes flat (all trades in all directions are closed) the EA will be removed from the chart.
Yesterdays High/Low Filter:
Two new filters added to allow you to trade using previous days high and low ranges.
Take trades ONLY when price is above/below yesterdays highs and lows.
Take trades ONLY when price has pierced yesterdays highs and lows (stop hunt behaviour).
Fake SL to Calculate Lot Sizing By Percentage:
EA can now trade without using a stop loss with a set percentage of your account instead of just fixed pips. EA will place a stop loss and then remove it after the trade is placed.
Ignore Filters After First Trade Entry:
All main filters can now be ignored after the initial trade is taken when using the basket trading settings.
e.g. If you want to get into a trade on the M15 time frame when the H4 RSI is above 70 it will enter your initial position and then ignore the H4 RSI for all additional entries after your first.
This means the EA can continue to enter positions even if price pushed your way, consolidates and then pushes against you without taking the H4 RSI to extended levels which happens on occasion.
Tweak to how global variables are used to store entry levels and lot sizing which should help people who were opening the EA after it had started working and were getting default broker lots taken (typically 0.01) and entries too close together when basket trading.
Bug Fix - Using the ADR filter with pending orders and occasionally some market order conditions caused the EA to miss some trades and occasionally trade out of order with baskets active.
Enhancement - Added bars back setting for ADR filter so you can now set how many bars ago price hit the ADR high/low to fine tune entries for different timeframes. Defaulted to 20 which suits M5 or above.
Enhancement - Switched to candle close to improve backtesting speeds in the strategy tester and overall load of the EA.
2 Bug fixes to address minor issues as reported by users with specific setups in the EA.
1. Allow for spread into calculation when taking more than one trade and measuring distance between entries by ADR.
2. EA would occasionally take trades in wrong location due to being dissalowed to trade due to maximum stop loss rules.
Tweak to magic number logic to fix bug reported by some users where EA would take a 0.01 sometimes with multiple entries after closed trades.
Fixed a small bug that caused the ADR filter to occasionally take trades in the wrong direction if extreme moves in both directions the same day.
Drawdown Control – The EA will now start to close out portions of your running trades when they go
into drawdown as either an entire basket or on an individual trade basis. There are 3 main types of
drawdown control, monetary, pips and percentage of ADR.
Tweaked basket settings when taking partial profits to ensure it respected initial entry lot size or
continuation of the lot size multiplier sequence. In version 2 the lot size was reset to the last position
Added lots of additional functionality to the EA plus a smal change to the logic when taking trades that hit the ADR levels in basket mode.
Trade Direction – You can now set the EA to only take trades in one direction.
EA Mode – The EA can now act as an “alert only” system and not take trades.
Style Of Trading – You can select to use pending orders or market orders for entries.
Distance Pending Order – Select the distance pending orders are placed at.
SL/TP Modes Separate: You can now select to use different methods for your TP & SL not just one.
Initial ADR Entry Level – ADR entries can now be set to trigger at percentages above/below 100%.
Multi Direction Baskets – You can combine profit from long and short baskets to use for targeting.
Lot Size Multiplier – You can adjust the lot size of basket entries (similar to martingale).
Close Baskets at ADR Percentages – You can target ADR percentages for TP and SL for baskets.
Alerts at Entries & Exits – The EA will now alert you when it takes trades and exits.
Screenshot Functionality – You can choose to have a screenshot of every entry for journaling.
Block Size Filter – Select the size of the reversal alert block to filter out consolidations.
Partial Profit Taking – Take a partial profit when your trades/baskets hit a pip level.
Dashboard Enhancements – Now displays more profit and pip information and detects currency.
When taking basket trades using the ADR filter the EA will now ignore the ADR levels after the initial entry. The EA only needs the ADR to be hit for entry one and additional entries will continue to be placed ignoring that filter in following days.