• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 10:44pm
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 10:44pm
Sister Sites
  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

Trading is this Simple? Finally Explained simple and clearly! 46 replies

Simple 3 order GBPUSD EA 1,047 replies

Experiment with "Simple H1 GBPUSD EA" 4 replies

Simple 5m GBPUSD trade system 10 replies

SIMPLE EA for a simple method needed!! 1 reply

  • Trading Systems
  • /
  • Reply to Thread
  • Subscribe
  • 728
Attachments: Simple H1 GBPUSD EA
Exit Attachments
Tags: Simple H1 GBPUSD EA
Cancel

Simple H1 GBPUSD EA

  • Last Post
  •  
  • Page 1 23456 500
  • Page 1 2 500
  •  
  • Post #1
  • Quote
  • First Post: Edited Sep 26, 2010 6:07pm Apr 15, 2010 7:49am | Edited Sep 26, 2010 6:07pm
  •  geoffb65
  • Joined Apr 2009 | Status: Member | 2,035 Posts
The strategy and the EA presented here are free, i.e. non commercial!

Here is a very simple yet profitable strategy that anyone can follow and
make an average of 50 to 100 pips a week.
Can be traded manually or using the attached EA.

I noticed that between the NY close and Tokyo open, whatever the trend,
the market seems to follow this trend for several hours.

Of course it doesn't always work but I have had better than 90% positive results.

Place the order one hour before the open of the Tokyo session.

Simple strategy, only two indicator, 10 SMA and 197 SMA.
If the slope of both is positive place a long order.
If the slope of both is negative place a short order.
(Using the EA this is very conservative and will not trade often.)

More information SimpleH1GBPUSDea.pdf

Posts deemed irrelevant and/or misleading by the thread originator will be deleted at his discretion.
--------------------------------------------------------------------
Manual traders can use just the 10 SMA slope between NY close and
Tokyo open and use their own judgement to decide on the entry point.
Often the market goes against this strategy through the Tokyo session
but this gives the manual trader an opportunity to find a better entry
point than the one that the EA uses.

For more information on manual trading this pdf has been produced by calstock:
Simple H1 manual trade.pdf

---------------------------------------------------------------------

I prefer to place 2 orders with half the lot size, first order to close at +22
when TP1 is reached move the second order SL to BE and let it run.
The SL is large at 140 per order but anything less gives more losing trades,
if you are not comfortable with 140 stoploss then your lot size is too high
and should be reduced to a level where you are comfortable.

The attached EA gives good results.
It will work with 4 or 5 digit brokers, standard, mini or micro accounts and does
work with ECN brokers.

Check it out on a back-test, you will be surprised how well it works!

SETTING THE GMT OFFSET.

1. Broker time is offset from GMT by + or - x hours

So set the GMT offset to this + or - x hour value.

Thus you have compensated for the difference between your brokers time and GMT,
so you can now specify all times as GMT.

2. The Tokyo session starts at 0:00 GMT but I use the candle before this i.e. 23:00 GMT.

So the start time is set in the code to 23.

________________________________________________________________________________

For information on GMT goto http://wwp.greenwichmeantime.com/

Here are some GMT offset examples:

Alpari: GMT +2
Axisodl: GMT
ACTbrokers: -4
CFGTrader: GMT +2
CoesFX: GMT +3
Fibo Group: GMT +2
Forex.com: GMT
Forex LTD: GMT +2
FXCM Trader 4: GMT -4
FXCM MT4 powered by BT: GMT +1
FXDD: GMT +3
Gomarkets GMT +2
IBFX: GMT
Marketiva GMT
MetaQuotes: GMT +2
MoneyTec: GMT +3
Netdania Charts GMT -8
North Finance: GMT +2
Oanda GMT -5
Orion: GMT +4
Real Trade: GMT +2

Add to this list or edit any errors.
_________________________________________________________________________________

The latest version of the EA is TOKYO_H1GBPUSD_EA which has been completely re-written
by piptician and a number of new features have been added.
This version can handle 1, 2 or 3 trades and .set files for each are included in the presets.zip file.

Live Trading Risk Disclaimer
~~~~~~~~~~~~~~~~~~~~~

The first time the EA is attached to a chart a warning dialog pops up telling the user that if they use
the EA in live trading then they do so at their own risk - see the function liveTradingDisclaimerAccepted()
for the full text of the warning.

New Parameters
~~~~~~~~~~~~

GBPUSD_ONLY = true If this is true then this EA will only work if attached to a GBPUSD chart. If you
attach it to the wrong chart or timeframe then a warning message will appear and
the EA will abort.

UseUserDefinedMaxLots = trueAllows the user to define their own upper limit on the lot size
extern double UserMaxLots = 0.1

Slippage = 3 How much slippage to allow in opening new positions

OrderRetryLimit = 5 How many times to retry opening/modifying a position

OrderRetryMillisecondDelay = 1000 How long to wait before retrying to open/modify a position.(1000 = 1 second)

ECN = false 'false' means open the position with SL/TP (1 step) and 'true' means open with zero SL/SP and then modify
the order (2 steps)

Show Vertical lines on chart for various market opening times Maybe this will help with all the time zone confusion ...)

ShowTokyoOpen = true
TokyoOpenColor = Red

ShowFrankfurtOpen = true
FrankfurtOpenColor = Orange

ShowLondonOpen = true
LondonOpenColor = Blue

ShowNewYorkOpen = true
NewYorkOpenColor = Purple

In addition to the journal/log file, various other ways to report a problem to the user

ProblemUseTextLabel = true Add a big red text label at the top of the chart
ProblemUseComment = true Add a comment describing the problem
ProblemUseEmail = false Send an email
MaxEmails = 25 Max emails to send (prevents email inbox explosions)

Tokyo_GBPUSD_H1_v11

 

  1. Now handles GBPUSD symbol names with extra characters
  2. The issue with the single order setting not trailing the stop has been fixed
  3. The issue with the 3 order setting trailing the 3rd order stop instead of trailing it once has been fixed
  4. New parameters for specifying the market open times TokyoOpenTime, FrankfurtOpenTime, LondonOpenTime and NewYorkOpenTime (these default to Alpari UK time which is CET i.e. London + 1 hour)
  5. New server friendliness parameter OrderSendMillisecondDelay which specifies the time delay between sending each order and OrderModifyMillisecondDelay which specifies how long to wait between modifying the orders i.e. trailing the stops (all previous EA versions were trailing the stop every tick which would overload the server).

Tokyo_GBPUSD_H1_v12 which has the new AllowWeekendTrades option.
There are a few minor tweaks in there too:
For some brokers the price, stop loss and take profit values must be normalized
to the number of digits that the broker supports otherwise you can get invalid
stop/price/take profit errors appearing in the logs.
(Alpari and others do the normalization on the server side but some don't).

Tokyo_GBPUSD_H1_v13 which can run on 5min charts producing exactly the same trades as if it were run
on a 1 hour chart. Obviously on a 5min chart you get to see a lot more candle detail. Tokyo13 will add
various annotations to clearly show where the relevant fractals are, which way the Simple Moving
Averages are pointing and whether the desired 5min fractal appears before the 1 hour trade window
closes (a vertical line is drawn to show the trade window close time). If you get two arrows pointing in
the same direction (Moving Averages are pointing in the same direction) and you have three thumbs up
then a trade will be initiated. If you hover over the tips of the arrow/thumbs/fractals then a tooltip will
appear describing what the annotation is.

Tokyo_GBPUSD_H1_v14
incorporates small changes which will hopefully fix the "order modify too soon" problems that
lead to trailing stops not getting modified in V13.

Tokyo_GBPUSD_H1_v15
While trailing stops it now adheres to the broker's min stop levels (fixes the invalid stop errors)
While trailing stops it checks that the order has not been closed (fixes the invalid ticket errors)
Annotation positioning can now handle 4 digit brokers (fixes the problem with Fractal/Arrow/Thumb not being displayed for 4 digit brokers)
Fast and Slow SMA's are now displayed on the 5min charts (line segments are drawn between the hourly SMA values - the last line segment auto-updates as new tick come in)
A vertical line is drawn to show the Start_Time time setting:

Tokyo_GBPUSD_H1_v16
While trailing stops it now adheres to the MODE_FREEZELVEL (position can't be modified if too close to TP or SL levels - avoids trailing stop error messages for some brokers).
Fixed a problem with the placement of the M15 fractal triangles on the M5 charts (was sometimes off by a bar or two).
The SMA line segments on the M5 charts are now projected into the future to the next H1 bar.
If an M15 triangle becomes unlocked it turns HotPink. An unlocked M15 fractal can cause the fractal thumb to turn to a thumbs down from a thumbs up.
The EA comment now displays total risk in the account currency, total % risk and risk% per position.
The annotated Profits/Losses now optionally include the number of pips and lot sizes for each position e.g. +15.76 (22.0 pips 0.01 lots)

Tokyo_GBPUSD_H1_v17
Timed exit controlled via 2 new param
int PositionMaxOpenHours = 7;
int PositionMaxOpenHoursMinProfit = 8; // can be negative if you want to exit with a loss...
The EA comment now displays the Total Potential Profit per position
Fixed an issue with the trailing stops. If position 1 hits its TP level but price reverses sharply the stops may not get trailed if the EA fires after the price has dropped from the TP1 level.
The EA can optionally check the integrity of your H1, M15 and M5 data to identify holes in your data greater than a user specified number of days. This check is off by default because downloading historical data can cause holes in your realtime chart data and refreshing realtime charts can cause holes in your historical data !!!!! That's what I'm seeing for Alpari UK.
int MaxDataGapSizeInDays = 100000; // checked at EA init time only.

Tokyo_GBPUSD_v17a
Tokyo17a which fixes the problem with the timed exit only working if you
have set the trailing stop option to true.
Also the timed exit was not working for the 3rd position if you used the 3 position settings.


____________________________________________________________________________________

NEW TO EA's?
For basic information on how to load an EA on to MT4 platform go to post # 4801.

To run the EA, download the .ex4 file, place it in the Experts folder and re-start MT4.

Crogram FilesMetaTraderexperts

Download the presets.zip file and unzip it on your desktop then move all the .set files to:

Crogram FilesMetaTraderexpertspresets

Attach the EA to the chart and press the Load button on the settings
dialog that pops up and select the appropriate .set file.

The only setting you need to change is the GMT offset for your broker.

The Preset Files:
#1 order set file is based on v4 with 16/197 SMA, TP 80, SL 120, TSL 9
#2 order set file is based on v9 with 10/197 SMA, TP1 22, TP2 47, SL 140, TSL 22
#3 order set file is based on camvzvoo with 10/197 SMA, TP1 22, TP2 50, TP3 80, SL 140, TSL 22
(The TSL on #3 only works on the 2nd order, exactly like it does on #2.
However, the third order has no trailing stoploss, the SL is moved to +10
when the 1st order TP is hit and stays there, it does not trail.)

NOTE:
If you use this EA on a PC or laptop you must make sure that your connection is
maintained throughout the trade, otherwise the trailing stoploss will not work.
Make sure that live-updates is switched off as this can re-boot your computer
during a trade, you can then search for updates at a time to suit you, I do this
on Saturday when the market is closed.
The EA is best used on a vps or dedicated server where upgrades can be controled.

_____________________________________________________________________________________

This EA is provided for educational purposes only. By downloading and using this
EA you do so entirely at your own risk and you are responsible for any losses you
may incur from using this EA in live trading.


______________________________________________________________________________________

The M5 chart shows how Tokyo v17a displays the 3 order trade details.

Attached Image (click to enlarge)
Click to Enlarge

Name: tokyo5min.gif
Size: 38 KB
Attached File(s)
File Type: zip Tokyo17_settings.zip   4 KB | 12,015 downloads | Uploaded Aug 10, 2010 4:33am
File Type: ex4 Tokyo_GBPUSD_v17a.ex4   91 KB | 13,782 downloads | Uploaded Aug 16, 2010 3:47am
  • Post #2
  • Quote
  • Apr 15, 2010 8:12am Apr 15, 2010 8:12am
  •  reachjj
  • | Joined Dec 2009 | Status: Member | 265 Posts
Tried backtesting this EA, with no luck. I am not getting any trades using this EA.

Can you please post the settings which I need to use or the backtest report.

Thanks,
Prakash
 
 
  • Post #3
  • Quote
  • Apr 15, 2010 8:17am Apr 15, 2010 8:17am
  •  geoffb65
  • Joined Apr 2009 | Status: Member | 2,035 Posts
The default settings should work, are you getting any messages in the Journal?
 
 
  • Post #4
  • Quote
  • Apr 15, 2010 8:26am Apr 15, 2010 8:26am
  •  geoffb65
  • Joined Apr 2009 | Status: Member | 2,035 Posts
Report:
Attached Image (click to enlarge)
Click to Enlarge

Name: StrategyTester.gif
Size: 8 KB
 
 
  • Post #5
  • Quote
  • Apr 15, 2010 8:28am Apr 15, 2010 8:28am
  •  geoffb65
  • Joined Apr 2009 | Status: Member | 2,035 Posts
Bars in test 4836
Ticks modelled 6933686
Modelling quality n/a
Mismatched charts errors 132480
Initial deposit 2000.00
Total net profit 1274.51
Gross profit 2215.82
Gross loss -941.31
Profit factor 2.35
Expected payoff 5.06
Absolute drawdown 31.71
Maximal drawdown 486.00 (13.39%)
Relative drawdown 13.39% (486.00)
Total trades 252
Short positions (won %) 104 (94.23%)
Long positions (won %) 148 (92.57%)
Profit trades (% of total) 235 (93.25%)
Loss trades (% of total) 17 (6.75%)
Largest
profit trade 63.34
loss trade -75.22
Average
profit trade 9.43
loss trade -55.37
Maximum
consecutive wins (profit in money) 103 (926.70)
consecutive losses (loss in money) 2 (-150.44)
Maximal
consecutive profit (count of wins) 926.70 (103)
consecutive loss (count of losses) -150.44 (2)
Average
consecutive wins 24
consecutive losses 2
 
 
  • Post #6
  • Quote
  • Apr 15, 2010 8:41am Apr 15, 2010 8:41am
  •  xandyakko
  • | Joined Dec 2009 | Status: Member | 31 Posts
Im trying to backtest but i have no results. I put these files at the expert folder and apply this EA to GBPUSD H1. I never use the EA but i didnt know what could i did wrong.
 
 
  • Post #7
  • Quote
  • Apr 15, 2010 8:46am Apr 15, 2010 8:46am
  •  geoffb65
  • Joined Apr 2009 | Status: Member | 2,035 Posts
Are you getting any error messages in the Journal?
 
 
  • Post #8
  • Quote
  • Apr 15, 2010 8:49am Apr 15, 2010 8:49am
  •  xandyakko
  • | Joined Dec 2009 | Status: Member | 31 Posts
No. Only have no trades.
 
 
  • Post #9
  • Quote
  • Apr 15, 2010 8:52am Apr 15, 2010 8:52am
  •  geoffb65
  • Joined Apr 2009 | Status: Member | 2,035 Posts
The default lot size is 0.05, does your MT4 account allow this?

You may need to change it to 0.1 or 1.0 to get it to work.
 
 
  • Post #10
  • Quote
  • Apr 15, 2010 8:59am Apr 15, 2010 8:59am
  •  xandyakko
  • | Joined Dec 2009 | Status: Member | 31 Posts
I try on some configs and have no results. I think that is something wrong here to use EA.
 
 
  • Post #11
  • Quote
  • Apr 15, 2010 9:08am Apr 15, 2010 9:08am
  •  geoffb65
  • Joined Apr 2009 | Status: Member | 2,035 Posts
I have changed one of the settings.

Please try this new version.
Attached File(s)
File Type: ex4 Simple_H1_GBPUSD_EA.ex4   17 KB | 5,379 downloads
File Type: mq4 Simple_H1_GBPUSD_EA.mq4   16 KB | 7,106 downloads
 
 
  • Post #12
  • Quote
  • Apr 15, 2010 9:17am Apr 15, 2010 9:17am
  •  kijkij
  • | Commercial Member | Joined May 2008 | 211 Posts
If its happened only once a day then I think no need for an EA!
 
 
  • Post #13
  • Quote
  • Apr 15, 2010 9:24am Apr 15, 2010 9:24am
  •  geoffb65
  • Joined Apr 2009 | Status: Member | 2,035 Posts
I agree, but I hate manual trading, probably because I am useless at it!

I have traded the EA on a live micro account some time ago and it worked extremely well but I have designed many EA's since then and did not keep the original statistics.
 
 
  • Post #14
  • Quote
  • Apr 15, 2010 9:30am Apr 15, 2010 9:30am
  •  kijkij
  • | Commercial Member | Joined May 2008 | 211 Posts
Quoting geoffb65
Disliked
I agree, but I hate manual trading, probably because I am useless at it!

I have traded the EA on a live micro account some time ago and it worked extremely well but I have designed many EA's since then and did not keep the original statistics.
Ignored

Ohooooo, My brother you are just like me as I myself tried many EAs in the last 7 months but all are useless. I dont why each strategy fails! Maybe I fails!
 
 
  • Post #15
  • Quote
  • Apr 15, 2010 9:40am Apr 15, 2010 9:40am
  •  geoffb65
  • Joined Apr 2009 | Status: Member | 2,035 Posts
Quoting kijkij
Disliked
Ohooooo, My brother you are just like me as I myself tried many EAs in the last 7 months but all are useless. I dont why each strategy fails! Maybe I fails!
Ignored
Tell me about it my friend!
I have bought dozens of "Robots", Clickbank should pay me commission for all the cr@p they have sold me!

As you say, none of them do what they say!
This is why I decided to learn how to write my own EA's and I now run a very successful company using my EA's to trade other peoples' accounts.

Unfortunately, I can't share these EA's with you as they are proprietory and belong to the company. lol.
 
 
  • Post #16
  • Quote
  • Apr 15, 2010 9:54am Apr 15, 2010 9:54am
  •  kijkij
  • | Commercial Member | Joined May 2008 | 211 Posts
Quoting geoffb65
Disliked
Tell me about it my friend!
I have bought dozens of "Robots", Clickbank should pay me commission for all the cr@p they have sold me!

As you say, none of them do what they say!
This is why I decided to learn how to write my own EA's and I now run a very successful company using my EA's to trade other peoples' accounts.

Unfortunately, I can't share these EA's with you as they are proprietory and belong to the company. lol.
Ignored
Ok, I (or we) will not ask the EAs but if you can share some strategy which really works other than this thread and useful for whole day not once a day . I will code the EA myself.
 
 
  • Post #17
  • Quote
  • Apr 15, 2010 10:07am Apr 15, 2010 10:07am
  •  ElGocho
  • | Joined Apr 2010 | Status: Junior Member | 6 Posts
Greetings


First of all, thank you for sharing your EA with the community.

I'm trying to backtest the EA and I get "Clock V1_2: DLLs are disabled. To enable tick the checkbox in the Common Tab of indicator". Do I have to have that indicator? If so, where can I find it?
 
 
  • Post #18
  • Quote
  • Apr 15, 2010 10:10am Apr 15, 2010 10:10am
  •  geoffb65
  • Joined Apr 2009 | Status: Member | 2,035 Posts
Quoting kijkij
Disliked
Ok, I (or we) will not ask the EAs but if you can share some strategy which really works other than this thread and useful for whole day not once a day . I will code the EA myself.
Ignored
Actually, all my best EA's only trade a few times each day and only take a small profit, 5 to 15 pips.
I have tried to make 50 to 100 pips with one trade but never had any luck getting a reliable strategy.
I have been trading forex on and off for 25 years and I have operated some very large accounts but I have never looked for big hits!

Here is one of my EA's that I put on MT4live this week it has 98% win ratio.

If you want a strategy to work with I can recommend MTF fractals!
Please don't ask for more!
 
 
  • Post #19
  • Quote
  • Apr 15, 2010 10:19am Apr 15, 2010 10:19am
  •  kijkij
  • | Commercial Member | Joined May 2008 | 211 Posts
Quoting geoffb65
Disliked
Actually, all my best EA's only trade a few times each day and only take a small profit, 5 to 15 pips.
I have tried to make 50 to 100 pips with one trade but never had any luck getting a reliable strategy.
I have been trading forex on and off for 25 years and I have operated some very large accounts but I have never looked for big hits!

Here is one of my EA's that I put on MT4live this week it has 98% win ratio.

If you want a strategy to work with I can recommend MTF fractals!
Please don't ask for more!...
Ignored

Great work "geoffb65"and thanks for your tip.
 
 
  • Post #20
  • Quote
  • Apr 15, 2010 10:40am Apr 15, 2010 10:40am
  •  calchide
  • | Joined Jan 2010 | Status: Member | 33 Posts
geoffb hi Scusi se la disturbo, EA non SI APRE alcuna Commercio

spiacente per l'inglese.
 
 
  • Trading Systems
  • /
  • Simple H1 GBPUSD EA
  • Reply to Thread
    • Page 1 23456 500
    • Page 1 2 500
21 traders viewing now
  • More
Top of Page
  • Facebook
  • Twitter
About FF
  • Mission
  • Products
  • User Guide
  • Media Kit
  • Blog
  • Contact
FF Products
  • Forums
  • Trades
  • Calendar
  • News
  • Market
  • Brokers
  • Trade Explorer
FF Website
  • Homepage
  • Search
  • Members
  • Report a Bug
Follow FF
  • Facebook
  • Twitter

FF Sister Sites:

  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Forex Factory® is a brand of Fair Economy, Inc.

Terms of Service / ©2023