• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • User/Email: Password:
  • 8:41am
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 8:41am
Sister Sites
  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

3 Bar Fractal with mid-bar and bar on each side 11 replies

Inside bar or outside bar identifier 7 replies

SteveHopwood EAs 4 replies

Pin bar, pin bar, pin bar 0 replies

What's Wrong with this Inside Bar Indicator 1 reply

  • Commercial Content
  • /
  • Reply to Thread
  • Subscribe
  • 25
Attachments: Jollyroger: an inside bar auto-trader by SteveHopwood
Exit Attachments
Tags: Jollyroger: an inside bar auto-trader by SteveHopwood
Cancel

Jollyroger: an inside bar auto-trader by SteveHopwood

  • Last Post
  •  
  • 1 345Page 67 8
  • 1 5Page 67 8
  •  
  • Post #101
  • Quote
  • Jun 2, 2011 5:40pm Jun 2, 2011 5:40pm
  •  paulbt38
  • | Joined Mar 2010 | Status: Member | 244 Posts
Quoting SteveHopwood
Disliked
Cheers Paul. This is something I did not see, and I do not quite understand.

Does this mean:

 

  1. opening of bar 1: pending trade sent
  2. opening of bar 2: deletes pending if not filled

or

 

  1. opening of bar 1: pending trade sent
  2. bar 2: waits to see if trade fills
  3. opening of bar 3: deletes pending if not filled

I will look at the yellow line thingy. Not much point in having it lying around if there is no pending trade in place.

Ignored
Steve

My understanding is assuming bar 1 is the bar after IB then the pending should be deleted on open of bar 2 if not filled. Clearly then the yellow line can be deleted and redrawn on next IB.

Paul
 
 
  • Post #102
  • Quote
  • Jun 2, 2011 6:01pm Jun 2, 2011 6:01pm
  •  SteveHopwood
  • | Commercial Member | Joined Apr 2007 | 8,331 Posts
Quoting paulbt38
Disliked
Steve

My understanding is assuming bar 1 is the bar after IB then the pending should be deleted on open of bar 2 if not filled. Clearly then the yellow line can be deleted and redrawn on next IB.

Paul
Ignored
Cheers Paul.

I have gone for flexibility. PendingExpiryMinutes tells Dibs to send an order expiry time of trade-send time plus this number of minutes. I suggest users make this input a few minutes less than a full candle to make sure the trade has expired before the possibility of a new IB is investigated. The default of 115 means the trade will remain open for nearly 2 hours.

I think I have sorted out the yellow line deletion thingy.

Attached File(s)
File Type: mq4 Dibs method auto trading robot by Steve Hopwood.mq4   62 KB | 467 downloads
 
 
  • Post #103
  • Quote
  • Jun 2, 2011 6:06pm Jun 2, 2011 6:06pm
  •  paulbt38
  • | Joined Mar 2010 | Status: Member | 244 Posts
cheers Steve
 
 
  • Post #104
  • Quote
  • Edited Jun 3, 2011 12:55am Jun 2, 2011 11:59pm | Edited Jun 3, 2011 12:55am
  •  forexgame
  • | Joined Feb 2011 | Status: Member | 20 Posts
Quoting Jollyroger
Disliked
I haven't a clue. Did you check your experts and journal folder?

Two comments: Download the latest modification from Steve and replace your current EA with it. Also I noted that your scree states that there is insufficient margin to make trades. Suggest you change bot to the Kiwi margin filter which should solve the margin problem.
Ignored

Hi Roger and Steve,

I am using the Kiwi margin filter. In expert I got this message "market order #4147931 cannot be deleted". From yesterday the bot still doesnt close the "buy" even the price is below the low of IB. I show today's screen and logs file as below.

11:31:53 Dibs method auto trading robot by Steve Hopwood GBPJPY,H1: loaded successfully
11:31:53 Dibs method auto trading robot by Steve Hopwood GBPJPY,H1 inputs: gen="----General inputs----"; Lot=1; StopTrading=false; TradeLong=true; TradeShort=true; TakeProfit=0; MagicNumber=0; TradeComment=""; CriminalIsECN=true; MaxSpread=120; pc="----Partial close----"; LotToClose=0.5; dot="----Daily open time----"; StartTime="9:00"; amc="----Available Margin checks----"; sco="Scoobs"; UseScoobsMarginCheck=false; fk="ForexKiwi"; UseForexKiwi=true; FkMinimumMarginPercent=1500; tt="----Trading hours----"; Trade_Hours="Set Morning & Evening Hours"; Trade_Hoursi="Use 24 hour, local time clock"; Trade_Hours_M="Morning Hours 0-12"; start_hourm=0; end_hourm=0; Trade_Hours_E="Evening Hours 12-24"; start_houre=15; end_houre=23; tmm="----Trade management module----"; BE="Break even settings"; BreakEven=false; BreakEvenPips=25; BreakEvenProfit=10; HideBreakEvenStop=false; PipsAwayFromVisualBE=5; cts="----Candlestick trailing stop----"; UseCandlestickTrailingStop=false; CandleShift=1; JSL="Jumping stop loss settings"; JumpingStop=true; JumpingStopPips=25; AddBEP=true;

11:32:01 Dibs method auto trading robot by Steve Hopwood GBPJPY,H1: initialized
11:32:01 Dibs method auto trading robot by Steve Hopwood GBPJPY,H1: market order #4147931 cannot be deleted
11:32:02 Dibs method auto trading robot by Steve Hopwood GBPJPY,H1: market order #4147931 cannot be deleted
11:32:04 Dibs method auto trading robot by Steve Hopwood GBPJPY,H1: market order #4147931 cannot be deleted
11:32:04 Dibs method auto trading robot by Steve Hopwood GBPJPY,H1: market order #4147931 cannot be deleted
11:32:05 Dibs method auto trading robot by Steve Hopwood GBPJPY,H1: market order #4147931 cannot be deleted
11:32:05 Dibs method auto trading robot by Steve Hopwood GBPJPY,H1: market order #4147931 cannot be deleted
11:32:08 Dibs method auto trading robot by Steve Hopwood GBPJPY,H1: market order #4147931 cannot be deleted
11:32:10 Dibs method auto trading robot by Steve Hopwood GBPJPY,H1: market order #4147931 cannot be deleted
11:32:12 Dibs method auto trading robot by Steve Hopwood GBPJPY,H1: market order #4147931 cannot be deleted
11:32:14 Dibs method auto trading robot by Steve Hopwood GBPJPY,H1: market order #4147931 cannot be deleted
11:32:14 Dibs method auto trading robot by Steve Hopwood GBPJPY,H1: market order #4147931 cannot be deleted
11:32:15 Dibs method auto trading robot by Steve Hopwood GBPJPY,H1: market order #4147931 cannot be deleted
11:32:15 Dibs method auto trading robot by Steve Hopwood GBPJPY,H1: market order #4147931 cannot be deleted
11:32:21 Dibs method auto trading robot by Steve Hopwood GBPJPY,H1: market order #4147931 cannot be deleted
Attached Image (click to enlarge)
Click to Enlarge

Name: dibs.gif
Size: 24 KB
 
 
  • Post #105
  • Quote
  • Jun 3, 2011 12:57am Jun 3, 2011 12:57am
  •  Jollyroger
  • | Joined Dec 2008 | Status: Member | 182 Posts
Quoting forexgame
Disliked
Hi Roger,

I am using the Kiwi margin filter. In expert I got this message "market order #4147931 cannot be deleted". From yesterday the bot still doesnt close the "buy" even the price is below the low of IB. I show today's screen as below
Ignored
Couldn't tell you why the order was placed if the direction was wrong since I know nothing about coding. Once it is placed it can't be deleted. Either the bot will close it or you have to close it manually. If it looks promising I'd let it ride and see what happens. If not close it manually.
 
 
  • Post #106
  • Quote
  • Jun 3, 2011 5:40am Jun 3, 2011 5:40am
  •  paulbt38
  • | Joined Mar 2010 | Status: Member | 244 Posts
Steve

Not sure the delete pending thingy is working correctly. I had an IB on AU this morning. My delete pending setting was 65 mins and it was deleted after 8 minutes.

Paul
 
 
  • Post #107
  • Quote
  • Jun 3, 2011 5:49am Jun 3, 2011 5:49am
  •  SteveHopwood
  • | Commercial Member | Joined Apr 2007 | 8,331 Posts
Quoting paulbt38
Disliked
Steve

Not sure the delete pending thingy is working correctly. I had an IB on AU this morning. My delete pending setting was 65 mins and it was deleted after 8 minutes.

Paul
Ignored
Cheers. I will look into it.

 
 
  • Post #108
  • Quote
  • Jun 3, 2011 5:51am Jun 3, 2011 5:51am
  •  SteveHopwood
  • | Commercial Member | Joined Apr 2007 | 8,331 Posts
Paul:

 

  1. What was your PendingExpiryMinutes setting?
  2. Are you sure the trade expired and was not deleted because the price moved the wrong side of the open price?

 
 
  • Post #109
  • Quote
  • Edited 7:18am Jun 3, 2011 7:06am | Edited 7:18am
  •  paulbt38
  • | Joined Mar 2010 | Status: Member | 244 Posts
Steve

Actually it might have done. The open price was inside the IB and the IB closed very close to the open price. As it happens it crossed to above the open price and then subsequently crossed again and the pending would have been taken. I suppose it was just bad luck the way the open price straddled the IB.

On another note, I have a couple of IB's this hour but some pendings couldn't be set as they weren't enough pips away. If I place a manual trade will the ea pick it up and manage it?

Paul

EDIT

Just placed a trade manually and it seems to have been picked up and managed
 
 
  • Post #110
  • Quote
  • Jun 3, 2011 5:08pm Jun 3, 2011 5:08pm
  •  SteveHopwood
  • | Commercial Member | Joined Apr 2007 | 8,331 Posts
Quoting paulbt38
Disliked
Steve

Actually it might have done. The open price was inside the IB and the IB closed very close to the open price. As it happens it crossed to above the open price and then subsequently crossed again and the pending would have been taken. I suppose it was just bad luck the way the open price straddled the IB.

On another note, I have a couple of IB's this hour but some pendings couldn't be set as they weren't enough pips away. If I place a manual trade will the ea pick it up and manage it?

Paul

EDIT

Just placed a trade manually and it...
Ignored
As you have found, the answer is 'yes'.

 
 
  • Post #111
  • Quote
  • Jun 3, 2011 8:59pm Jun 3, 2011 8:59pm
  •  dvirma
  • | Joined Jun 2009 | Status: Member | 19 Posts
hello steve.
i wonder if you could post a block of code that can turn your sophisticated programs into multi pairs ones. or instruct me how to do it in an adjustable way for any other program.
deeply appreciate your contributions.
 
 
  • Post #112
  • Quote
  • Jun 4, 2011 8:30pm Jun 4, 2011 8:30pm
  •  Jollyroger
  • | Joined Dec 2008 | Status: Member | 182 Posts
I have been running both JR and DIBS EA’s on a 24 hour basis since Steve originally coded them. Errors were found in both EA’s and are being corrected by Steve as they are discovered. However there are still problems with both EA’s.

Since the JR EA uses 0 GMT as an opening time and the DIBS EA 0600 GMT which was the time Peter Crown advised in his first bringing the system to our attention no additional corrections have been made to the JR EA. My problem is that I am doing far better with the JR EA than the DIBS. In fairness, the DIBS refuses far more trades than it takes due primarily to:
1. “invalid stops”
2. a failure to post pending orders when an IB forms.
The DIBS bot has taken 7 trades 6 of which have either closed or will close in profit totaling 300 pips. Unfortunately there is also a trade which evidently ignored the stop loss and is underwater by 739 pips.

A little different situation exists with the JR EA. It has taken 42 trades. 35 of them have closed for a loss of 336 pips and 7 remain open with a profit of 2091 pips. The first trade was taken on 5/19 and the last on 5/27. On many of the trades I have had to manually adjust the initial stops but once that has happened the trades have either closed at the first stop or are successfully being managed by the “jumping stop” default on the EA.

Attached below is the trading log for the JR EA. (Orders 2190141 & 2247411 were taken manually and are not included in the above P&L figures. Neither are the orders of 6/3)

BASED ON THE PRECEDING I WOULD SUGGEST THAT THE DEVELOPMENT OF BOTH EA’S CONTINUE OR IF THEY CAN BE COMBINED INTO A SINGLE EA WITH A VARIABLE OPENING TIME THEY COULD BE COMBINED INTO A SINGLE BOT. If Steve hasn’t got the time or interest perhaps another coder could undertake or assist in the JR development. Since this is Steve’s thread this is the only post I will make in this regard and will of course abide by his decision regarding what to do with JR.
Attached Image (click to enlarge)
Click to Enlarge

Name: chart3.gif
Size: 56 KB
 
 
  • Post #113
  • Quote
  • Jun 5, 2011 6:52am Jun 5, 2011 6:52am
  •  SteveHopwood
  • | Commercial Member | Joined Apr 2007 | 8,331 Posts
Quoting Jollyroger
Disliked
I have been running both JR and DIBS EA’s on a 24 hour basis since Steve originally coded them. Errors were found in both EA’s and are being corrected by Steve as they are discovered. However there are still problems with both EA’s.

Since the JR EA uses 0 GMT as an opening time and the DIBS EA 0600 GMT which was the time Peter Crown advised in his first bringing the system to our attention no additional corrections have been made to the JR EA. My problem is that I am doing far better with the JR EA than the DIBS. In fairness, the DIBS refuses...
Ignored
They are the same bot apart from more accurate session measurement, a few more display features and bug fixes in Dibs. All you have to do is change the start time input.

 
 
  • Post #114
  • Quote
  • Jun 5, 2011 11:19am Jun 5, 2011 11:19am
  •  Jollyroger
  • | Joined Dec 2008 | Status: Member | 182 Posts
Quoting SteveHopwood
Disliked
They are the same bot apart from more accurate session measurement, a few more display features and bug fixes in Dibs. All you have to do is change the start time input.

Ignored
Steve, I can't believe that I didn't figure that out. I have a habit of trying to complicate something simple. Either I am an idiot or am getting senile. I prefer being an idiot.
 
 
  • Post #115
  • Quote
  • Jun 5, 2011 12:59pm Jun 5, 2011 12:59pm
  •  SteveHopwood
  • | Commercial Member | Joined Apr 2007 | 8,331 Posts
Quoting Jollyroger
Disliked
Steve, I can't believe that I didn't figure that out. I have a habit of trying to complicate something simple. Either I am an idiot or am getting senile. I prefer being an idiot.
Ignored
I go for the latter as well, hence my signature.
 
 
  • Post #116
  • Quote
  • Jun 5, 2011 7:54pm Jun 5, 2011 7:54pm
  •  infinite123
  • | Joined Nov 2008 | Status: Member | 13 Posts
[quote=Jollyroger;4666124]I have been running both JR and DIBS EA’s on a 24 hour basis since Steve originally coded them. Errors were found in both EA’s and are being corrected by Steve as they are discovered. However there are still problems with both EA’s.

hi Jollyroger,
You've got some great trades there.

I am trying to follow the trades you have posted.
I was looking at the eurusd on june 24 at 10.00

I am attaching my chart analysis for that day.
it seems on that day it reached a high of 1.4131 but as the hours went
by, the next day it came down to 1.4014.

I was wondering why the trade was'nt stopped out unless the
stop loss was like 60 pips below original buy level.

How did you avoid being stopped out?
also I see that your ea is modified,can you say what you have done
or post it so we can all see the same results.

thanks a lot.
Attached Image (click to enlarge)
Click to Enlarge

Name: 2011-05-24-eurusd.gif
Size: 19 KB
 
 
  • Post #117
  • Quote
  • Jun 5, 2011 8:24pm Jun 5, 2011 8:24pm
  •  infinite123
  • | Joined Nov 2008 | Status: Member | 13 Posts
(I was looking at the eurusd on june 24 at 10.00)

sorry the above should have said may 24 at 10.00


one more question,you said you move the original stop loss.
can you give more information on the stop loss criteria you are using.

thanks
 
 
  • Post #118
  • Quote
  • Jun 5, 2011 9:20pm Jun 5, 2011 9:20pm
  •  Jollyroger
  • | Joined Dec 2008 | Status: Member | 182 Posts
[quote=infinite123;4667028]
Quoting Jollyroger
Disliked
I have been running both JR and DIBS EA’s on a 24 hour basis since Steve originally coded them. Errors were found in both EA’s and are being corrected by Steve as they are discovered. However there are still problems with both EA’s.

hi Jollyroger,
You've got some great trades there.

I am trying to follow the trades you have posted.
I was looking at the eurusd on june 24 at 10.00

I am attaching my chart analysis for that day.
it seems on that day it reached a high of 1.4131 but as the hours went
by, the next...
Ignored
I'm not sure that I can answer your questions. The initial stop would have been set at the same distance below the entry as the initial TP (1.39951 was the initial stop). In the EA I am using the jumping stop which increases the stop as the trade advances. What I don't know is when the jumping stop kicks in. The jumping stop is designed to both protect profits as the trade advances as well as giving the trade "room to breathe"

The EA was modified by Steve because it was taking trades at the end of a bar rather than at the time the IB was broken by price action.

There were a lot of problems with the EA as there usually are when an EA is created. Steve has opted to use the DIBS ea rather than the JR since he feels it is closer to the original DIBS concept. Basically it is the same EA doing things just a little differently. I was not bright enough to pick this up until Steve pointed it out in answer to my request to continue development on the JR.

I suggest you read the whole thread and then check the posts by Peter Crown as referenced in Murphymans post as referenced on page one of the thread.

Roger
 
 
  • Post #119
  • Quote
  • Jun 5, 2011 9:50pm Jun 5, 2011 9:50pm
  •  infinite123
  • | Joined Nov 2008 | Status: Member | 13 Posts
[quote=Jollyroger;4667152]
Quoting infinite123
Disliked


I suggest you read the whole thread and then check the posts by Peter Crown as referenced in Murphymans post as referenced on page one of the thread.

Roger
Ignored
thanks for the quick reply.

I have read through all of the above.
but your right,I may have missed something,so I will read everything
over again.

Thanks again much appreciated
 
 
  • Post #120
  • Quote
  • Jun 7, 2011 7:59am Jun 7, 2011 7:59am
  •  hankeys
  • | Joined May 2010 | Status: Member | 47 Posts
i am thinking about the INSIDE BARS and trading this system:
1) wait for the inside bar on H1
2) count the difference between high and low of the inside bar and divide be 2 - in other words get the middle of the inside bar
3) if the close of the inside bar is above the middle - put buy stop on high of inside bar
4) if the close of the inside bar is under the middle - put sell stop on low of inside bar
5) if the close of the inside bar is on the middle (+- 5 pips) put both buy and sell stop on high, low
6) if the stop orders is not hit on close of the next bar - delete the stops

It is possible to program this system as the alternative of jollyrogers system?
THX for answers.
 
 
  • Commercial Content
  • /
  • Jollyroger: an inside bar auto-trader by SteveHopwood
  • Reply to Thread
    • 1 345Page 67 8
    • 1 5Page 67 8
0 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