SERIOUS WARNING
Most Forex traders lose all their money.
Using the robot posted here in trading Forex does not guarantee success.
Trading this robot could lead to serious financial loss.
Trading this robot without understanding its underlying trading strategies guarantees traders will lose their money.
This is not a set-and-forget ea; there is no such thing and anyone who tries to claim there is, is either stupid or lying. This ea requires frequent manual intervention.
At best, a trading robot is only 90% as good as the manual strategy it trades. At best. At worst, it can be much less effective. If the strategy is rubbish, so is the robot.
To trade this robot, you have to understand:
How to use EA's.
The concept of basket trading.
THIS IS AN EXPERIMENTAL EA NOT YET BEING USED ON OUR LIVE ACCOUNTS
Well, it's finally in the alltogether!
This is a combination of 3 of Steve's EA's...
Once A Week Basket Trader, Version 1_d, which you can find here... http://www.stevehopwoodforex.com/phpBB3 ... f=5&t=3587 If you haven't done so already, read at least the first post to learn what it does, I'll wait here 'til you get back.
Once A Day Basket Trader, Version 1, here... http://www.stevehopwoodforex.com/phpBB3 ... f=5&t=3628 Again, read at least the first post.
And, finally, Once A Month Basket Trader, Version 1_d, here... http://www.stevehopwoodforex.com/phpBB3 ... f=5&t=3649 Read the first 3 posts.
As well as combining these 3 systems into one EA, I've added Basket Management for each system, and ATR based Individual Trade Management.
Before I explain the settings...
If you feel like putting this on a live account (especially if you use it with OOTB settings), save yourself the stress of a long, drawn-out trip into depression and the poor-house by selling ALL of your assets, max out your credit cards, take out a personal loan for a few hundred grand, and send all that luvverly money to me, 'cos seriously, I need it more than your broker does!
Now that that's out of the way...
Universal Settings...
PairsToTrade: Needs no explanation, so I ain't givin' one.
Lot=0.01; Lots per trade.
IsGlobalPrimeOrECNCriminal = true; I don't know if this is needed any more, as it's not in Steve's 3 original Once A(...) EA's... I'd pulled the function SendSingleTrade from my old multi-timeframe EA, which needed this... Basically, does your broker require 2-stage order-placement (Opent trade first, then send SL & TP later) or not?
MaxSlippagePips=5;
PromoteTrades = false; Promote Trades Through TimeFrames? (Individual Trade Management Module will only work if PromoteTrades is enabled). Eplained further in the following 3 posts.
MagicNumber=795; Pick a number, any number... If you're using multiple instances in the same Empty4, pick another number, any other number.
AlwaysOn=true; If false, OAW will loop round OnTick twice a second rather than waiting for every tick.
EnableLargeFont = false; Suck it and see
MainFont = "Times" ; Has no effect if EnableLargeFont is false.
MainFontSize = 12 ; Ditto.
StatsFont = "New Roman" ; Ditto.
StatsFontSize = 12 ; Ditto.
ShowPairInfo=false; Ditto.. Edit 2/8/2014 You need a huge monitor, and tiny fonts in Windows to see this if you enable all 3 systems... Is visible when 2 are enabled, though.
ShowTradingChoices=true; Enables display of Trading Days/Times, Basket SL, BE, BEP, JSL, etc. Works with or without EnableLargeFont enabled.
DisplayGapSize=30; Has no effect if EnableLargeFont is true
----Trade Management Module For Individual Trades----
AtrPeriod=14; Sets the ATR period for all pairs... Used for calculating SL, BE, etc.
SLMultiplier=2 Multiplies the ATR by this to determine StopLoss for each trade
BreakEvenMultiplier = 3; Multiplies each pair's ATR to determine BE.
BreakEvenProfitMultiplier = 0.5; As above, for BEP
JumpingStopMultiplier=3; As above for JS
AddBEP=false; Add BEP to JS on each jump?
JumpsBeforeExport = 2; How many times the JS is triggered for each trade before its BE, BEP, and JS are re-calculated based on the next higher timeframe's ATR values.
You will notice that there's no TakeProfit for individual trades... I don't use them unless I'm intentionally playing in a ranging market, or I'm scalping, and with this EA, I'm trying to get in early on longer-term trends.
Trade entry/exit settings...
The entry/exit settings are self explanatory, but, if you need them explained, gpo back to Steve's threads
Basket Settings...
The 3 Baskets have the same management setting names, with the timeframe prepended, e.g D1_CashProfitTarget, W1_CashProfitTarget, and MN1_CashProfitTarget, for the Daily, Weekly, and Monthly, respectively. I'll put them here with TF instead of any particular timeframe, e.g. TF_CashProfitTarget. All "PerTrade" settings are multiplied by the number of trades in the basket.
TF_CashProfitTarget=0; Fixed TakeProfit. Close the Basket at this many dollars profit. Zero input turns this off.
TF_CashProfitTargetPerTrade=1; Adaptive StopLoss (If you get 10 trades in a basket, that basket's YP is 30). Zero value disables this function.
TF_Basket_CashStopLoss = 0; Fixed StopLoss (Ignores size of Basket).
TF_Basket_CashStopLossPerTrade = 3; Adaptive StopLoss (If you get 10 trades in a basket, that basket's SL is 30).
TF_Basket_BreakEvenProfitCash = 0; Fixed BreakEven (Ignores size of Basket).
TF_Basket_BreakEvenProfitCashLock = 0; Fixed BreakEven Profit (Ignores size of Basket).
TF_Basket_BreakEvenProfitCashPerTrade = 5; Adaptive BreakEven (If you get 10 trades in a basket, that basket's BE is 50)
TF_Basket_BreakEvenProfitCashLockPerTrade = 1; Adaptive BreakEvenProfit (If you get 10 trades in a basket, that basket's BEP is 10)
TF_Basket_JumpingStopCash = 0; Fixed JumpingStopLoss (Ignores size of Basket)
TF_Basket_JumpingStopCashPerTrade = 5; Adaptive JumpingStopLoss (If you get 10 trades in a basket, that basket's JSL is 50).
If I think of anything else to add to this post, I'll add it.
1st add... Preferred testing method for now is here... http://www.stevehopwoodforex.com/phpBB3 ... 861#p96861
2nd add... Things to do...
Add options to OAD & OAW that allows...
i. Only taking signals that agree with OAM (which means they won't trade until monthly direction is set).
ii. Taking all their own signals until monthly direction is set, then goto (i).
iii. Ignoring monthly direction entirely. Tue, 12th Aug, 2014 Done (sort of)... Passed back-testing (bug-hunting), will post on the weekend. Sunday, August 17, 2014 Posted.
Extend user-feedback to show locked-in profit/loss per management timeframe, plus totals, when EnableLargeFont = true.
Code an indicator to show pair info (current Bid, movement from Open, % of ATR, and ATR for Daily, Weekly, & Monthly).
Tue, 12th Aug, 2014 Pathumracled suggested adding capability for Fixed Risk Per Trade... I'm on the hunt for the code now
Sat, 27th Sept, 2014 Tsedawa noticed that I missed a couple of lines that are vital for the swap filter. Fixed and updated.
Have fun!
Radar =8^)