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 »

Panamamike wrote:
magft wrote:
Panamamike wrote:Can someone share their template for version 2?
This is the my current setup using latest indicators from the Fratelli thread. You don't need all the indicators per se but i find it easier to see what should be happening if trading manually. EA still uses SuperTrend not the SuperTrendmod version, this will be in next release.

Can you guys check it for trading the system correctly as i haven't time today to watch trades.

Mike

Now that I have the template, I will certainly monitor the trades. Of course, today being US thanksgiving I will have to do so via my iPad while eating turkey, ham, ribs, and drinking beer and vino. :)
Now that sounds like a plan :D I have a fun day of troubleshooting process simulations!

Happy Thanksgiving

Mike
Panamamike
Trader
Posts: 104
Joined: Tue Nov 15, 2011 11:45 pm

Re: Fratelli EA by Dragos and magft

Post by Panamamike »

Quick question. Is this a London session only setup or London + NY?
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 »

Panamamike wrote:Quick question. Is this a London session only setup or London + NY?
Just checked and it is meant to be Frankfurt to London Close and times should be in GMT but i think i have Dragos settings as it is showing start time of 5am and it should be 6am GMT for Frankfurt. They talk about it in the Fratelli thread and time is a good filter for bad trades so i think there is room to adapt. Obviously today best not to trade after London close.

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 »

magft wrote:
Panamamike wrote:Quick question. Is this a London session only setup or London + NY?
Just checked and it is meant to be Frankfurt to London Close and times should be in GMT but i think i have Dragos settings as it is showing start time of 5am and it should be 6am GMT for Frankfurt. They talk about it in the Fratelli thread and time is a good filter for bad trades so i think there is room to adapt. Obviously today best not to trade after London close.

Mike
Mike, there's a copy/paste error into the EarlySL Adjust section. You can take all BE section from mine and paste it into this one, it works like a charm now.
Image
chaveznqoos
Trader
Posts: 15
Joined: Wed Nov 16, 2011 1:25 am

Re: Fratelli EA by Dragos and magft

Post by chaveznqoos »

DragosDanescu wrote:
magft wrote:
Panamamike wrote:Quick question. Is this a London session only setup or London + NY?
Just checked and it is meant to be Frankfurt to London Close and times should be in GMT but i think i have Dragos settings as it is showing start time of 5am and it should be 6am GMT for Frankfurt. They talk about it in the Fratelli thread and time is a good filter for bad trades so i think there is room to adapt. Obviously today best not to trade after London close.

Mike
Mike, there's a copy/paste error into the EarlySL Adjust section. You can take all BE section from mine and paste it into this one, it works like a charm now.
Hi;
Dragos/Magft;
Is it possible to add this module to calculate the number of lots, with % of risk?.
I think it can be very useful.
Thanks .
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 »

DragosDanescu wrote:
magft wrote:
Panamamike wrote:Quick question. Is this a London session only setup or London + NY?
Just checked and it is meant to be Frankfurt to London Close and times should be in GMT but i think i have Dragos settings as it is showing start time of 5am and it should be 6am GMT for Frankfurt. They talk about it in the Fratelli thread and time is a good filter for bad trades so i think there is room to adapt. Obviously today best not to trade after London close.

Mike
Mike, there's a copy/paste error into the EarlySL Adjust section. You can take all BE section from mine and paste it into this one, it works like a charm now.
In yours:

Code: Select all

if (EarlySLAdjust)
         {
            if (Bid == NormalizeDouble(OrderOpenPrice () + (Point*EarlySLValue), Digits) && 
                (OrderStopLoss()<OrderOpenPrice()|| OrderStopLoss()==0) && (OrderOpenPrice() - OrderStopLoss() > NormalizeDouble(Point*1.1*EarlySLValue, Digits)))
In mine:

Code: Select all

if (EarlySLAdjust)
     {
         if (Bid >= NormalizeDouble(OrderOpenPrice () + (Point*EarlySLValue), Digits) && 
                   (OrderStopLoss()<OrderOpenPrice()|| OrderStopLoss()==0) && (OrderOpenPrice() - OrderStopLoss() > NormalizeDouble(Point*EarlySLValue, Digits)))
I changed the == to a >= to try and stop the TS issue you mentioned but i am probably wrong. What is the 10% difference used for?
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 »

No, that's not an error.
Still I like to use that value to be sure EA doesn't try to move the SL again. Logically, after the move, SL will never have a value bigger than Buffer+10%(can be 1% or whatever, but if I use

Code: Select all

OrderOpenPrice() - OrderStopLoss() > NormalizeDouble(Point*EarlySLValue, Digits)
,

then comes the error too). That's why I used Buffer+ a value, whatever is that, in my case 10%.

About the error is here:

Code: Select all

   if (OrderType()==OP_SELL)
   {
      if (Ask <= OrderOpenPrice() - (Point*BreakEvenPips) &&
              (OrderStopLoss()>OrderOpenPrice()|| OrderStopLoss()==0) && 
--->>>> HERE (OrderStopLoss() - OrderOpenPrice() > NormalizeDouble(Point*EarlySLValue, Digits)))

............ 
   
      if (EarlySLAdjust)
      { 
         if (Ask <= NormalizeDouble(OrderOpenPrice() - (Point*EarlySLValue), Digits) &&
                    (OrderStopLoss()>OrderOpenPrice()|| OrderStopLoss()==0)) 

Damn colors or bold stuff is not working here...
Image
Xfinity
Trader
Posts: 19
Joined: Thu Nov 17, 2011 4:43 pm
Location: Sweden

Re: Fratelli EA by Dragos and magft

Post by Xfinity »

Anyway to remove the alerts when the EA modifies an order?

"Fratelli EA v2 EURUSD,M10: EURUSD order modify failed with error(1): no error"

I suggest adding something like the following:

if (stop == 0 && take == 0) return; //nothing to do

Thanks for an excellent job so far! Keep it up!
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 »

Xfinity wrote:Anyway to remove the alerts when the EA modifies an order?

"Fratelli EA v2 EURUSD,M10: EURUSD order modify failed with error(1): no error"

I suggest adding something like the following:

if (stop == 0 && take == 0) return; //nothing to do

Thanks for an excellent job so far! Keep it up!
There are no more alerts on this one, you still keep getting them? The only error can result from this last bloop that Mike is correcting atm.
Image
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:
Xfinity wrote:Anyway to remove the alerts when the EA modifies an order?

"Fratelli EA v2 EURUSD,M10: EURUSD order modify failed with error(1): no error"

I suggest adding something like the following:

if (stop == 0 && take == 0) return; //nothing to do

Thanks for an excellent job so far! Keep it up!
There are no more alerts on this one, you still keep getting them? The only error can result from this last bloop that Mike is correcting atm.
:? Cant believe i missed that typo!!! I am just updating at the mo, work can wait :lol:

Do you think we need the == or >= in the EarlySLAdjust, i thought that the TS issue was related to this? Also i have changed the send order code to Steve's latest rev which is more reliable at sending orders. I have added risk based lot sizing and a news filter, they were next to each other in the Invictus EA :lol:

Mike
Post Reply

Return to “Automated trading systems”