Slopey Graeme: another pipEasy-inspired trend trading EA

Post Reply
User avatar
spyderman
Trader
Posts: 338
Joined: Sun Dec 11, 2011 1:39 pm

Re: Graeme: another pipEasy-inspired trend trading EA

Post by spyderman »

jjgengis wrote:Hi to all,


Only a question: during the chart input on Empty4, Graeme start immediatly a trade and immediately close it. This behavior has happened to pairs with high spread:

Image
By jjgengis at 2012-01-14

What is happened?

JJ
Seems like several are experiencing this behavior. Don't know much about EA operation and less about coding, but was wondering if it would make a difference turning off EA advisors while loading then turn back on. :?:
Snaggin' some pips
User avatar
alex_forex
Trader
Posts: 438
Joined: Tue Nov 15, 2011 5:46 pm
Location: F R A N C E

Re: Graeme: another pipEasy-inspired trend trading EA

Post by alex_forex »

spyderman wrote: Seems like several are experiencing this behavior. Don't know much about EA operation and less about coding, but was wondering if it would make a difference turning off EA advisors while loading then turn back on. :?:
Yes, might be a solution, it happened to me too. (only 2 trades but during loading on charts)

Regards
Alex
mbkennel
Trader
Posts: 29
Joined: Tue Dec 20, 2011 5:40 am

Re: Graeme: another pipEasy-inspired trend trading EA

Post by mbkennel »

I wonder if this is a consequence of not enough symbols having history loaded.

Over in the coders forum, George discovered that using the iBars() call on a symbol will force download.
Perhaps there should be a loop in the init phase for any multi-pair EA to use iBars() before ever hitting to start().

I see that it is already in the init() in Graeme but only for the current time frame (NULL). Maybe it should be for more?
"It is a capital mistake to theorize before one has data." Sir Arthur Conan Doyle.
"If your experiment needs statistics, you ought to have done a better experiment" Lord Rutherford.
bullrun
Posts: 3
Joined: Wed Nov 16, 2011 8:47 am

Re: Graeme: another pipEasy-inspired trend trading EA

Post by bullrun »

alex_forex wrote:
spyderman wrote: Seems like several are experiencing this behavior. Don't know much about EA operation and less about coding, but was wondering if it would make a difference turning off EA advisors while loading then turn back on. :?:
Yes, might be a solution, it happened to me too. (only 2 trades but during loading on charts)

Regards
Alex
I have the same problem so what I do is refresh each charts and then the problem go away.
User avatar
spyderman
Trader
Posts: 338
Joined: Sun Dec 11, 2011 1:39 pm

Re: Graeme: another pipEasy-inspired trend trading EA

Post by spyderman »

Something's acting up.

I closed all trades on my demo (had a E/U that was over 110 pips but hadn't closed 1/2) I turned off EA's then loaded back onto all charts. Turned EA's back on and immediately got several trades opened but not at typical entry levels.

Guess we'll have to wait for Steve to comment. :ugeek:
Snaggin' some pips
User avatar
alex_forex
Trader
Posts: 438
Joined: Tue Nov 15, 2011 5:46 pm
Location: F R A N C E

Re: Graeme: another pipEasy-inspired trend trading EA

Post by alex_forex »

Hi all,

Here are the open trades :)

Regards
Alex
You do not have the required permissions to view the files attached to this post.
User avatar
spyderman
Trader
Posts: 338
Joined: Sun Dec 11, 2011 1:39 pm

Re: Graeme: another pipEasy-inspired trend trading EA

Post by spyderman »

SteveHopwood wrote:
Would someone like to pop Graeme into the thread at FF? I would, but I am a Filthy Commercial member and cannot. It seems a shame to deny them just because TIT is a tit.

:D
I posted over on FF. We'll see if it draws some over here. ;)
Snaggin' some pips
User avatar
alex_forex
Trader
Posts: 438
Joined: Tue Nov 15, 2011 5:46 pm
Location: F R A N C E

Re: Graeme: another pipEasy-inspired trend trading EA

Post by alex_forex »

All those beautiful trades turned into negative pips.
Have to play with settings...

:geek:
alex_forex wrote:Hi all,

Here are the open trades :)

Regards
Alex
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.

Re: Graeme: another pipEasy-inspired trend trading EA

Post by SteveHopwood »

Ehup guys

Just starting to catch up after 4 extremely frustrating days without an internet connection.

Re the possible missing bars thingy, the version in post 1 that I uploaded last Thursday includes the iBars thingy. In int init()

Code: Select all

//This forces the platform to 2048 bars of data - necessary if this is a new Empty4 installation
   iBars(NULL, Period() );

This should do the trick unless I have misunderstood George's post about this.

:D
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.
MichaelM
Trader
Posts: 117
Joined: Sun Dec 04, 2011 11:04 pm

Re: Graeme: another pipEasy-inspired trend trading EA

Post by MichaelM »

Hi Steve,

I wasn't able to download last Thursday's fix, but I downloaded your iBars fix and compared it with the first ever Graeme, and the only difference was the iBars code you mentioned.

I'm not entirely sure you've uploaded (and updated) the version you posted last Thursday?

Michael.
Last edited by MichaelM on Tue Jan 17, 2012 11:47 pm, edited 1 time in total.
Post Reply

Return to “Automated trading systems”