Griddy Wotsit Mk 2

Post Reply
User avatar
Gertje
Trader
Posts: 1936
Joined: Mon Dec 12, 2011 1:17 pm
Location: Middle of the Netherlands

Griddy Wotsit Mk 2

Post by Gertje »

keydcuk » Fri Mar 04, 2016 2:44 pm wrote:This is absolutely strange. I have tried your set file Gertje, and it opened up a grid. The initial grid had some set TPs as I would expect. Then, when all TPs from the grid have been achieved, the grid resets itself... as I would expect.

The strange part of this is, when the grid resets itself, the TP settings are not taking place in the newly resetted grid. Is there a reason why the second grid that appears does not take the EA settings?
Nope, don't see that.
Could it be that between setting the new grid and changing TP-values, a hedge already opened?
After all, the first buy and sell are only 6pips apart.

What broker?
Spread?
User avatar
keydcuk
Trader
Posts: 104
Joined: Tue Dec 04, 2012 8:01 pm

Griddy Wotsit Mk 2

Post by keydcuk »

Gertje » Fri Mar 04, 2016 2:49 pm wrote:
keydcuk » Fri Mar 04, 2016 2:44 pm wrote:This is absolutely strange. I have tried your set file Gertje, and it opened up a grid. The initial grid had some set TPs as I would expect. Then, when all TPs from the grid have been achieved, the grid resets itself... as I would expect.

The strange part of this is, when the grid resets itself, the TP settings are not taking place in the newly resetted grid. Is there a reason why the second grid that appears does not take the EA settings?
Nope, don't see that.
Could it be that between setting the new grid and changing TP-values, a hedge already opened?
After all, the first buy and sell are only 6pips apart.

What broker?
Spread?
As I had not tested this EA on the EUR/USD, I tried your setfile untouched. The grid opened along with the TP positions. In this case, the EUR/USD took all the buy positions and closed them all according to the TP setting. A fresh grid appeared and the TPs were set in the newly fresh grid.

My ECN broker is Tallinex and the spread is dynamic as it is an ECN.
(currently above and below an average 3 pip)
User avatar
Gertje
Trader
Posts: 1936
Joined: Mon Dec 12, 2011 1:17 pm
Location: Middle of the Netherlands

Griddy Wotsit Mk 2

Post by Gertje »

My ECN broker is Tallinex and the spread is dynamic as it is an ECN.
(currently above and below an average 3 pip)
3 pips or 3 points? :shock:

You got me confused, first you wrote the 2nd grid didn't have TP set.
Then you wrote the 2nd grid did have TP.

The last would be right... :smile:
.
User avatar
keydcuk
Trader
Posts: 104
Joined: Tue Dec 04, 2012 8:01 pm

Griddy Wotsit Mk 2

Post by keydcuk »

Sorry, I meant not set. The TPs are NOT setting themselves when a new grid is presented.

As for the ECN, Yes, 3 pips. I know it's a lot. I am wondering if this is normal for their dynamic spread or whether it is only like this because it's a demo account.
User avatar
Gertje
Trader
Posts: 1936
Joined: Mon Dec 12, 2011 1:17 pm
Location: Middle of the Netherlands

Griddy Wotsit Mk 2

Post by Gertje »

keydcuk » Fri Mar 04, 2016 3:04 pm wrote:Sorry, I meant not set. The TPs are NOT setting themselves when a new grid is presented.

As for the ECN, Yes, 3 pips. I know it's a lot. I am wondering if this is normal for their dynamic spread or whether it is only like this because it's a demo account.
I would change to GP immediately.
Averige spread for EURUSD is 0.4 pip, with 0.7 pip commission.

Is there still an order open when the 2nd grid appears?
User avatar
keydcuk
Trader
Posts: 104
Joined: Tue Dec 04, 2012 8:01 pm

Griddy Wotsit Mk 2

Post by keydcuk »

Gertje » Fri Mar 04, 2016 3:08 pm wrote:
keydcuk » Fri Mar 04, 2016 3:04 pm wrote:Sorry, I meant not set. The TPs are NOT setting themselves when a new grid is presented.

As for the ECN, Yes, 3 pips. I know it's a lot. I am wondering if this is normal for their dynamic spread or whether it is only like this because it's a demo account.
I would change to GP immediately.
Averige spread for EURUSD is 0.4 pip, with 0.7 pip commission.

Is there still an order open when the 2nd grid appears?
It's hard to tell as the second grid opened a while ago but I would have to say yes.

Here is a screenshot of where I am with this.
You do not have the required permissions to view the files attached to this post.
User avatar
Gertje
Trader
Posts: 1936
Joined: Mon Dec 12, 2011 1:17 pm
Location: Middle of the Netherlands

Griddy Wotsit Mk 2

Post by Gertje »

In the tekst-output from the EA, above the mentioning of the open positions [x-buys, x-sells] is a line with the totall number of trades and the DD/ Updraft. If this line starts with "hedged position", no TP will be set.

Below the open positions is another line, when a hedged position is in place, this reads "HedgedProfitPips", when this is in place, it also means there are both buys and sells opened -> no TP entered.

Hope this helps.
User avatar
keydcuk
Trader
Posts: 104
Joined: Tue Dec 04, 2012 8:01 pm

Griddy Wotsit Mk 2

Post by keydcuk »

Gertje » Fri Mar 04, 2016 3:27 pm wrote:In the tekst-output from the EA, above the mentioning of the open positions [x-buys, x-sells] is a line with the totall number of trades and the DD/ Updraft. If this line starts with "hedged position", no TP will be set.

Below the open positions is another line, when a hedged position is in place, this reads "HedgedProfitPips", when this is in place, it also means there are both buys and sells opened -> no TP entered.

Hope this helps.
Yes, very much so! Thanks for helping me get my head around it. :arrrg: :smile:
User avatar
keydcuk
Trader
Posts: 104
Joined: Tue Dec 04, 2012 8:01 pm

Griddy Wotsit Mk 2

Post by keydcuk »

Just an off the wall comment.

When I first read this thread and saw Steve's comment about "FUN", I kinda shrugged my shoulders in my mind and thought to myself "YEAH RIGHT..."

But now that I have loaded this one up, I must admit... IT IS FUN! :party:

I guess as the old saying goes "Don't knock it until you tried it!" :smile:
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Griddy Wotsit Mk 2

Post by SteveHopwood »

GW's emergence as a serious trading contender has taken us by surprise. It has emerged as one, so I have developed him (her?) further in V 1e in post 1.

Spreads are crazy when the markets open after the weekend, so I have added the stop/start trading hours from HGB'nG. 24 hour local time as usual. Questions about telling the time are banned and will be instantly deleted the moment I or any other passing mod sees them.

I noticed on Friday that the sell stops in the starting grids were being sent further away from the buy stops than I wanted. This resulted from the time delay built into the grid order sending functions. I allow half a second after each order is sent to give the lamentably poor Empty4 crapform time to catch up. A grid of 10 buy stops took 5 seconds to send and the market was falling a few pips in that time, causing the sell stops to be sent a greater distance away than planned.

I have remodeled the code so that it sends alternating buy and sell stops, with a brief pause after the sell stop only. This should deal with the problem. It is easy to remodel the code further so that it sends the initial pending grids starting with sell stops if the candle is falling; let's watch it and see if this is necessary.

Not long before we can start playing again, folks. Possess your souls in patience until then.

:xm:
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
Post Reply

Return to “Automated trading systems”