Fratelli EA by Dragos and magft
-
garyfritz
Re: Fratelli EA by Dragos and magft
I downloaded 2.5. It placed orders on AUDUSD and EURUSD, but EURJPY produced continuous "invalid trade volume" errors. Lot = 0.1 on all 3. Other than that and trading times, everything is OOTB.
- gaheitman
- Trader
- Posts: 655
- Joined: Tue Nov 15, 2011 10:55 pm
- Location: Richmond, VA, US
Re: Fratelli EA by Dragos and magft
Mike,
I think the issue is with your error filter. You currently have:
With this, if err = 1, the err!=0 side will evaluate to true, which makes the whole statement true.
I think you want to say:
Or you could say:
But that's not exactly easier to read. :> Perhaps a simple:
I saw it quite a few times before the switch went off.
George
I think the issue is with your error filter. You currently have:
Code: Select all
if (err!=0||err!=1)I think you want to say:
Code: Select all
if (err!=0 && err!=1)
Code: Select all
if (!(err==0||err==1))
Code: Select all
if (err>2)
George
magft wrote:I think using a SL/TP based on volatility is a good idea. The EA has the option to set these already.garyfritz wrote:Why don't you use volatility-based stop calculations? Maybe for hand-executing Fratelli with indicators, you need to give people fixed values. But I always base stops on a volatility measure, such as ADR. That way you use the same rule for all pairs.MickyMouse wrote:But all this back testing is done with the same rules . tp and sl might be different because we have some high volatility pairs, and low volatility pairs ,
Currently doing some final checking before releasing v2.5. Dragos has been doing checking and updating for me as i have been busy this weekend. I have done some more mods like updating the times routine to allow mins and hrs to be set so now we can follow rules of 5:50-18:30 GMT. I have fixed logic fo re-entries and added the SAR entry. Fixed a few bugs that had been raised though i still cannot get rid of error 1! I have put in error checking but it still gets through, so if anyone knows how to overcome this let me know please as i am stumped at the moment.
Mike
- gaheitman
- Trader
- Posts: 655
- Joined: Tue Nov 15, 2011 10:55 pm
- Location: Richmond, VA, US
Re: Fratelli EA by Dragos and magft
This version has auto lot size calculation on by default. Did you leave UseMoneyMgmt set to true?garyfritz wrote:I downloaded 2.5. It placed orders on AUDUSD and EURUSD, but EURJPY produced continuous "invalid trade volume" errors. Lot = 0.1 on all 3. Other than that and trading times, everything is OOTB.
That being said, I don't see anything wrong with that bit of code.
George
-
garyfritz
Re: Fratelli EA by Dragos and magft
Yes, I only changed lotsize and market hours.
I can't check it now, unfortunately. I put another Fratelli indicator on my chart and Empty4 crashed, and now it exits as soon as I start it. I found terminal.ini in C:\Users\Gary\AppDataLocal\VirtualStore\Program Files (x86)\Trading\Best Direct Empty4\config and tried removing the xFratelli-Signals v0.96 line -- no change.
Anyone know how I can remove this indy from my chart if I can't run Empty4??
I can't check it now, unfortunately. I put another Fratelli indicator on my chart and Empty4 crashed, and now it exits as soon as I start it. I found terminal.ini in C:\Users\Gary\AppDataLocal\VirtualStore\Program Files (x86)\Trading\Best Direct Empty4\config and tried removing the xFratelli-Signals v0.96 line -- no change.
Anyone know how I can remove this indy from my chart if I can't run Empty4??
- gaheitman
- Trader
- Posts: 655
- Joined: Tue Nov 15, 2011 10:55 pm
- Location: Richmond, VA, US
Re: Fratelli EA by Dragos and magft
You should be able to modify the *.chr file in your C:\Users\Gary\AppDataLocal\VirtualStore\Program Files (x86)\Trading\Best Direct Empty4\Profiles\<whatever your active profile was> directory. Just search for "name=Custom Indicator" and delete the section that contains the badly behaved indicator. Or, you can rename the whole directory and start building your workspace from scratch.garyfritz wrote:Yes, I only changed lotsize and market hours.
I can't check it now, unfortunately. I put another Fratelli indicator on my chart and Empty4 crashed, and now it exits as soon as I start it. I found terminal.ini in C:\Users\Gary\AppDataLocal\VirtualStore\Program Files (x86)\Trading\Best Direct Empty4\config and tried removing the xFratelli-Signals v0.96 line -- no change.
Anyone know how I can remove this indy from my chart if I can't run Empty4??
When I have this problem, usually Empty4 hasn't written the changes to disk and I can restart without the new indicator on the chart yet.
George
-
DragosDanescu
- Trader
- Posts: 118
- Joined: Wed Nov 16, 2011 5:18 pm
- Location: Oradea, Western Romania
Re: Fratelli EA by Dragos and magft
Why not removing indicator from indicators folder and restart?garyfritz wrote:Yes, I only changed lotsize and market hours.
I can't check it now, unfortunately. I put another Fratelli indicator on my chart and Empty4 crashed, and now it exits as soon as I start it. I found terminal.ini in C:\Users\Gary\AppDataLocal\VirtualStore\Program Files (x86)\Trading\Best Direct Empty4\config and tried removing the xFratelli-Signals v0.96 line -- no change.
Anyone know how I can remove this indy from my chart if I can't run Empty4??
- gaheitman
- Trader
- Posts: 655
- Joined: Tue Nov 15, 2011 10:55 pm
- Location: Richmond, VA, US
Re: Fratelli EA by Dragos and magft
That's a much better solution. Obviously time for me to make some coffee! -GeorgeDragosDanescu wrote:Why not removing indicator from indicators folder and restart?garyfritz wrote:Yes, I only changed lotsize and market hours.
I can't check it now, unfortunately. I put another Fratelli indicator on my chart and Empty4 crashed, and now it exits as soon as I start it. I found terminal.ini in C:\Users\Gary\AppDataLocal\VirtualStore\Program Files (x86)\Trading\Best Direct Empty4\config and tried removing the xFratelli-Signals v0.96 line -- no change.
Anyone know how I can remove this indy from my chart if I can't run Empty4??
- tex
- Trader
- Posts: 89
- Joined: Wed Nov 16, 2011 7:27 am
Re: Fratelli EA by Dragos and magft
Dragos, Mike,
i think theres a bug in the new 2.5 EA. Look at screenshots. In my EU trade i set the TP=20 and SL=25 acording to the rules. The EA opened a trade but the TP was set to about 14,9P only. Same in the recent EJ trade.
I set the EA to Tp=20, SL = 20. But the EA opened the trade with TP = 15,6p, SL = 32,4p ??
Can u check this please.
thanks
i think theres a bug in the new 2.5 EA. Look at screenshots. In my EU trade i set the TP=20 and SL=25 acording to the rules. The EA opened a trade but the TP was set to about 14,9P only. Same in the recent EJ trade.
I set the EA to Tp=20, SL = 20. But the EA opened the trade with TP = 15,6p, SL = 32,4p ??
Can u check this please.
thanks
You do not have the required permissions to view the files attached to this post.
-
DragosDanescu
- Trader
- Posts: 118
- Joined: Wed Nov 16, 2011 5:18 pm
- Location: Oradea, Western Romania
Re: Fratelli EA by Dragos and magft
Hahahahaha!tex wrote:Dragos, Mike,
i think theres a bug in the new 2.5 EA. Look at screenshots. In my EU trade i set the TP=20 and SL=25 acording to the rules. The EA opened a trade but the TP was set to about 14,9P only. Same in the recent EJ trade.
I set the EA to Tp=20, SL = 20. But the EA opened the trade with TP = 15,6p, SL = 32,4p ??
Can u check this please.
thanks
Hi, Tex, obviously, Mike had stolen your pips! There's a hidden code somewhere, so the pips difference goes to him
We gonna have a look...
- tex
- Trader
- Posts: 89
- Joined: Wed Nov 16, 2011 7:27 am
Re: Fratelli EA by Dragos and magft
hahaha, well then i hope the negative pips in case of a loss go to him too

DragosDanescu wrote:Hahahahaha!tex wrote:Dragos, Mike,
i think theres a bug in the new 2.5 EA. Look at screenshots. In my EU trade i set the TP=20 and SL=25 acording to the rules. The EA opened a trade but the TP was set to about 14,9P only. Same in the recent EJ trade.
I set the EA to Tp=20, SL = 20. But the EA opened the trade with TP = 15,6p, SL = 32,4p ??
Can u check this please.
thanks
Hi, Tex, obviously, Mike had stolen your pips! There's a hidden code somewhere, so the pips difference goes to him![]()
We gonna have a look...