This EA trades single currency pair on 15-minute bars using multiple entry/exit algorithms to generate high profit in mid-to-long term while incurring some drawdowns in short term.
It takes either SHORT or LONG position at a time but not both together (no hedging). It may hold position over the weekend. It will remain in the market almost all the time except when exits algorithmically. It makes use of profitable trailing stops and take profit but does not use stop-loss.
Currency Pairs supported: EURUSD, GBPUSD, AUDUSD, USDJPY and USDCHF
Note: EA trades a single currency pair from the pairs supported as above. So to trade with multiple currency pairs, the EA has to be applied to separate charts.Requirements:-
- Must be an all-digit broker. For example, broker must use 5-digtis for EURUSD, 3-digits for USDJPY and so on.
- Requires a NETTING account. Will not work in a hedging account.
CAUTION: This is a position trading and EA may not be suitable for users looking for quick scalping profits.
1) User_Leverage -This value is used to set the leverage provided by the broker. For example, this value should be set to <= 25 if broker offers 1:25 leverage for a currency pair, and so on. Note that the EA will use lower of this value and the overall leverage provided by the broker.
No_Exit = Normal Trading
Soft_Exit = Will not enter new trade and exit current position as per algorithm
Hard_Exit = Will immediately close current open positions and not take new trade
If trading multiple currency pairs, this value should be set in a way that the total from all the charts doesn't exceed the desired max value. So if the max lot_sz_pct is desired to 25% and trading all 5 currency pairs (in separate charts) with equal risk percentages then this value should set to 5% in each of the charts, an so on.4) order_break_lot_size - This value is used to break up a large lot size order into smaller orders.
Default = 0 (means no breaking of large lot)5) Slippage - Slippage in points (not in PIPs). Default is 5 point slippage.
Initial capital = USD 1000
6) Magic_Val - User configurable Magic Number of the EA instance
This EA was optimized using with 15-minute data from January 1, 2017 to December 31, 2019. To backtest, use high quality tick data with start date from January 1, 2017. Using data before this date is considered an invalid test and will produce unpredictable results.
Set the lot_sz_pct to any value between 3% to 50% based on user's risk tolerance.
User may run an optimization on the lot_sz_pct input variable as follows, lot_sz_pct optimization range: start=3, step=1, stop=50 then select the risk percentage value accordingly. Use high quality tick data from Jan 1, 2017 till current date and run an exhaustive optimization (Slow complete algorithm) with "balance max" for fitness function.
Test results published below use the following setting:-
Spread=Variable (using tick data)
Time frame = 15-minute
Start date=Jan 1, 2017, End date=Sept 30, 2020
DISCLAIMER:- FOREX trading involves high risk. Past result is no guarantee of future profits. By using this EA, user assumes all the risk and the author can not be held liable for any damage, financial or otherwise.