The AbarkG56 Expert Advisor opens positions based on (1) session opening, (2) price behavior and (3) an algorithm that uses a range of pips over a number of candles in its calculation.
This EA serves as an introduction to our approach. It has been our most successful strategy to date. It grabs a minimal 5 pips most days and could be used on a $100 account, hence the low price. See the descriptions on our other EAs for our strategies, including our long term approach to automated trading and why we have consistent success with huge stop losses.
The screenshot shows the back test based on 1.0 lots per $10,000, run from January 2011 to October 2014. For all our strategies, we never go over this lot size setting in totality. Back test is for illustrative purposes only. We strongly recommend NOT changing the default settings beyond adding your broker's GMT offset and your own lot sizing.
The settings of PipCheckSize and NumCandlesBack are used by the algorithm. We recommend that you don't change these. Note that there could be more than one trade per day, both long, short or both, depending on the price action algorithm. It will start trading at the hour in the CheckHour setting. It also works on H1 but with less trades.
Run this on GBPUSD M1 and you should regularly grab over 5 pips, most days.
- CalculateLotSize – calculates the lot size based on a proportion of the account balance you want to use for this EA.
- BaseAccountBalance – the ‘starting point’ for the lot size if CalculateLotSize is true. Irrelevant if CalculateLotSize is false (see below). It will increment the lot size based on the settings in BaseLotSize and BaseAccountBalance.
- BaseLotSize - the minimum trade size, regardless of other settings.
- StopLoss - stop loss value in pips.
If CalculateLotSize is true, the lot size will be BaseLotSize for each full and part multiple of the BaseAccountBalance.
If you want to risk 0.01 lots per $100 in your account, set the values as follows:
- BaseLotSize = 0.01.
- BaseAccountBalance = 100.
- If your account has 100 in it, with these settings the first trade will be 0.01 lots. Once the account balance reaches 200, the lot size will be 0.02.
- If your account has 500 in it, with these settings the first trade will be 0.05 lots. Once the account balance reaches 700, the lot size will be 0.07.
If you want to risk 1.0 lots per $10,000 in your account, set the values as follows:
- BaseLotSize = 1.0.
- BaseAccountBalance = 10000.
- If your account has 10 000 in it, with these settings the first trade will be 1.0 lots and increment thereafter.
- If your account has 30 000 in it, with these settings the first trade will be 3.0 lots and increment thereafter.
If you want to risk 1.0 lots per $30,000 in your account, set the values as follows:
- BaseLotSize = 1.0.
- BaseAccountBalance = 30000.
- The first trade will be 1.0 lot. Once your balance reaches 30 300, it will trade 1.01 lot (assuming your broker allows micros). .
It is best to check your understanding of this using the Strategy Tester.
If CalculateLotSize is false, it will trade the BaseLotSize regardless of the BaseAccountBalance or how much money is on the account. For example, a BaseLotSize of 0.02 lots will trade 0.02 lots whether there is $50 or $50 000 000 in your account.
- Fixed a bug for the GMT offset.