Fratelli EA by Dragos and magft

Post Reply
magft
Trader
Posts: 195
Joined: Tue Nov 15, 2011 9:59 pm
Location: East Midlands, UK

Re: Fratelli EA by Dragos and magft

Post by magft »

dynel14 wrote:hi magft,

EA opened a buy just right now on EJ. But Arrow is down!?
Interesting! What time did you drop EA on chart? As the Arrow signal shows down and all others are up a trade shouldn't have opened! I had a buystop open that was deleted when PA went below 89EMA so that bit is working :roll:

Keep an eye on other trades and let me know if it does it again, dropping EA on chart during trading times can cause adverse effects if all parameters are not initialised correctly :oops:

Mike
magft
Trader
Posts: 195
Joined: Tue Nov 15, 2011 9:59 pm
Location: East Midlands, UK

Re: Fratelli EA by Dragos and magft

Post by magft »

DragosDanescu wrote:
magft wrote:Yes the code is getting too complex, i have tried to streamline a bit but still difficult to edit unless familiar with Steve's code :lol:

Ok question for you guys, should the LastOrderTime, the check i use to make sure the Arrow has appeared after this, should it be the time the trade opens or the time the trade closes?

I am just modifying the code as i recompiled with the new time code and it opened a new trade as the LastOrderTime was 0! So now i have a function that checks for last trade and if the time (open/close) is greater than arrow time it updates LastOrderTime. I've added the function as a filter to stop trading if no arrow has appeared since open/close of last trade.

From Fratelli thread i think it should be close of trade but i'm not sure.
I think close it also ok, as it's more safe compared to open(I mean the difference between close and arrow time is certain). Hmm...as a second thought, what if the order close happens after a new arrow? No, I would still use open. Even if you set arrow time one minute back, just to be sure it's different than order open time.
Open is probably safer.

Ok now if the last trade found was a buystop/sellstop as PA didn't trigger a trade this should be skipped until a buy/sell is found, what do you think?
DragosDanescu
Trader
Posts: 118
Joined: Wed Nov 16, 2011 5:18 pm
Location: Oradea, Western Romania

Re: Fratelli EA by Dragos and magft

Post by DragosDanescu »

magft wrote:
DragosDanescu wrote:
magft wrote:Yes the code is getting too complex, i have tried to streamline a bit but still difficult to edit unless familiar with Steve's code :lol:

Ok question for you guys, should the LastOrderTime, the check i use to make sure the Arrow has appeared after this, should it be the time the trade opens or the time the trade closes?

I am just modifying the code as i recompiled with the new time code and it opened a new trade as the LastOrderTime was 0! So now i have a function that checks for last trade and if the time (open/close) is greater than arrow time it updates LastOrderTime. I've added the function as a filter to stop trading if no arrow has appeared since open/close of last trade.

From Fratelli thread i think it should be close of trade but i'm not sure.
I think close it also ok, as it's more safe compared to open(I mean the difference between close and arrow time is certain). Hmm...as a second thought, what if the order close happens after a new arrow? No, I would still use open. Even if you set arrow time one minute back, just to be sure it's different than order open time.
Open is probably safer.

Ok now if the last trade found was a buystop/sellstop as PA didn't trigger a trade this should be skipped until a buy/sell is found, what do you think?
Yes, sure, we count only market orders. Btw, that piece of code I mentioned before takes care of the old ticks?
Image
User avatar
dynel14
Trader
Posts: 37
Joined: Wed Nov 16, 2011 1:38 am
Location: Cologne/Germany

Re: Fratelli EA by Dragos and magft

Post by dynel14 »

magft wrote:
dynel14 wrote:hi magft,

EA opened a buy just right now on EJ. But Arrow is down!?
Interesting! What time did you drop EA on chart? As the Arrow signal shows down and all others are up a trade shouldn't have opened! I had a buystop open that was deleted when PA went below 89EMA so that bit is working :roll:

Keep an eye on other trades and let me know if it does it again, dropping EA on chart during trading times can cause adverse effects if all parameters are not initialised correctly :oops:

Mike
Yes after your last update. Also happened with the other pairs :(
Panamamike
Trader
Posts: 104
Joined: Tue Nov 15, 2011 11:45 pm

Re: Fratelli EA by Dragos and magft

Post by Panamamike »

I have the first version of 2 running well. The latest version is not doing well at all. In order to compare, can someone add the code for %risk position sizing to the first version 2? As with many other programs, the more things are added the less well they seem to do.
Panamamike
Trader
Posts: 104
Joined: Tue Nov 15, 2011 11:45 pm

Re: Fratelli EA by Dragos and magft

Post by Panamamike »

For some reason the choose file button does not activate when I try to upload he file.
Trin83ity
Posts: 2
Joined: Tue Nov 29, 2011 7:55 pm

Re: Fratelli EA by Dragos and magft

Post by Trin83ity »

Guys, firstly great work! I have been testing on demo for last week. It seems that EA would open the position in the wrong direction. When it should open short it would open long and vice versa. Is it only my experience? Can you change the order to the opposite?
blahn
Trader
Posts: 53
Joined: Wed Nov 30, 2011 2:39 am

Re: Fratelli EA by Dragos and magft

Post by blahn »

Now that they've added lines to the indi where the po should be placed it's easy to see if the ea is putting them in the right spots. the first au po was in the right spot, but most weren't even close.
au.gif
eu.gif
ej.gif
You do not have the required permissions to view the files attached to this post.
magft
Trader
Posts: 195
Joined: Tue Nov 15, 2011 9:59 pm
Location: East Midlands, UK

Re: Fratelli EA by Dragos and magft

Post by magft »

Khalaad wrote:
Khalaad wrote:
Trin83ity wrote:Guys, firstly great work! I have been testing on demo for last week. It seems that EA would open the position in the wrong direction. When it should open short it would open long and vice versa. Is it only my experience? Can you change the order to the opposite?
Won't help, Trin83ity.

However, this will:
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.
The above is why I respect Steve Hopwood. He posts the warning before he posts an EA.

Mike did the same in Post 1.

Khalid
It takes a great deal of time, and an enormous amount of hard work, from the idea to a consistently profitable trading system.

Please allow Mike and Dragos the time to make this work.

Khalid
Khalid, thanks for the input and i am working on the next version to addresses the current issues.

Blahn, i am testing today with the new indicators to see how the EA compares. George has provided some input to help with logic bloops and ways to improve accuracy of entries.

I probably wont be able to release anything til tonight as i have a busy day today, any thoughts or observations please post and i'll address them when i can.

Mike
DragosDanescu
Trader
Posts: 118
Joined: Wed Nov 16, 2011 5:18 pm
Location: Oradea, Western Romania

Re: Fratelli EA by Dragos and magft

Post by DragosDanescu »

Have already made some corrections(I hope) and I'm running it in ST atm, will post as soon as it works ok.
Cheers
Image
Post Reply

Return to “Automated trading systems”