stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

Nanningbob 10.2 auto-trading EA
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=552
Page 47 of 54
Author:  trader689 [ Thu Jun 28, 2012 12:59 pm ]
Post subject:  Re: 10.2; the auto-trading EA is born.

hey jemook have you got any more details about the new 10.2 ea, like what are the main changes and where we can read more about it? thanks
Author:  al3xx [ Thu Jun 28, 2012 8:41 pm ]
Post subject:  Re: 10.2; the auto-trading EA is born.


I adjusted BE to 250 +100 and Jump to 500

I just noticed that the most recent trade (6th) is continuously sending modify orders
changing the TP from 1.03105 to 1.56428 and back also SL from 1.65744 to 1.73682 and back

These orders are now closed. It opened 6 new orders.
It seems all pip settings are point settings. I need 500 between stacked orders not 50

Moving the TP green line (there are 6). This has no effect on 5 of the trades. Only the TP line for the last (most recent) order causes the TP for that order to change. (feature or bug?)

These trades are not sending the continuous modify orders.

Pat
Hy Pat,

Have the same issues with TP and the constant sending of modify orders. Currently trying to sort it out.

Cheers

Hello Everobody,

I am new here and to fx in general. I have to say kudos for all the good work and am hoping to learn alot from here.

I encountered a similar problem with weird stop loss behaviour and 6 trades opening in quick succession. I am on a 5 digits demo.

I think I have seen the problem with opening many trades quickly even when MinStackTradePipsDistance is set reasonably, say to 50 and also the weird moving of the JumpingStop.

The thing is the code that sets the pips multiplier based on Digits from your broker is commented out in the init function.

The intention was probably to use 'factor' (a different way to achieve the same thing) but this is not done in all parts of the code and many calculations still use Point.

The solution would now be to use factor in all the Pips calculation. I am going to try this modification and see what happens.

Regards.
Author:  fxozgirl [ Thu Jun 28, 2012 8:56 pm ]
Post subject:  Re: 10.2; the auto-trading EA is born.

trader689 wrote:fxozgirl are you still using the settings you posted a few pages back? if so how are they faring as you were having some really good trades. i am demoing that setfile and currently in drawdown, hope to recover

Yes, same settings, currently in drawdown but I started a new demo with the new version, so not much history there yet
Author:  Panamamike [ Fri Jun 29, 2012 2:02 pm ]
Post subject:  Re: 10.2; the auto-trading EA is born.

al3xx wrote:

I adjusted BE to 250 +100 and Jump to 500

I just noticed that the most recent trade (6th) is continuously sending modify orders
changing the TP from 1.03105 to 1.56428 and back also SL from 1.65744 to 1.73682 and back

These orders are now closed. It opened 6 new orders.
It seems all pip settings are point settings. I need 500 between stacked orders not 50

Moving the TP green line (there are 6). This has no effect on 5 of the trades. Only the TP line for the last (most recent) order causes the TP for that order to change. (feature or bug?)

These trades are not sending the continuous modify orders.

Pat[/
Hy Pat,

Have the same issues with TP and the constant sending of modify orders. Currently trying to sort it out.

Cheers

Hello Everobody,

I am new here and to fx in general. I have to say kudos for all the good work and am hoping to learn alot from here.

I encountered a similar problem with weird stop loss behaviour and 6 trades opening in quick succession. I am on a 5 digits demo.

I think I have seen the problem with opening many trades quickly even when MinStackTradePipsDistance is set reasonably, say to 50 and also the weird moving of the JumpingStop.

The thing is the code that sets the pips multiplier based on Digits from your criminal is commented out in the init function.

The intention was probably to use 'factor' (a different way to achieve the same thing) but this is not done in all parts of the code and many calculations still use Point.

The solution would now be to use factor in all the Pips calculation. I am going to try this modification and see what happens.

Regards.
If you get the management functions sorted, can you post it? the bot is great for allowing me to sleep and not miss trades. It would be awesome to have the management functions working correctly.
Author:  Panamamike [ Fri Jun 29, 2012 2:04 pm ]
Post subject:  Re: 10.2; the auto-trading EA is born.

Jemook wrote:I'm surprised people are still trying to trade this EA with it's lack of support. Steve is working on a new 10.2 EA and I believe focus will shift to maintaining the new one. Hang in there guys.
Cool. Although this bot is great for initiating the trades. Up 11% since Monday. Current floating PnL is just north of 0.
Author:  The_Snowman [ Fri Jun 29, 2012 10:00 pm ]
Post subject:  Re: 10.2; the auto-trading EA is born.

trader689 wrote:hey jemook have you got any more details about the new 10.2 ea, like what are the main changes and where we can read more about it? thanks
I think read & catch up on happening in these 2 excellent threads for a start, both right here under the Nanningbob 10.2 banner

ShelleyJemNOW autotrader

http://www.stevehopwoodforex.com/phpBB3 ... 8&start=30

Jem's Uber Basket Trading 10.2 Thread

http://www.stevehopwoodforex.com/phpBB3 ... 832#p16832
Author:  trader689 [ Fri Jun 29, 2012 11:18 pm ]
Post subject:  Re: 10.2; the auto-trading EA is born.

thanks snowman will check them out
Author:  al3xx [ Sat Jun 30, 2012 8:54 pm ]
Post subject:  Re: 10.2; the auto-trading EA is born.


If you get the management functions sorted, can you post it? the bot is great for allowing me to sleep and not miss trades. It would be awesome to have the management functions working correctly.
Here you have it. I changed all the places using Point to use factor instead. Will see in the coming week how it goes.

I also fixed the function LookForD1TrendTrade to check if it is okay to stack trades if a trade already exists just like it is done in LookForD1H4TrendTrade. I added this...

Code: Select all


if (OpenTrades > 0)
   {
      if (!OkToStack(type)) return;
   }//if (OpenTrades > 0)

Yes, this EA is great for not missing entries. Thanks Steve!

I think there is a bug in the LookForBbRangeTrade function that prevents the EA from entering any BB range trades when EnforcePivotIntegrity is enabled. Has anyone had such an entry from this EA?

I mean, for a Buy, it checks if bias is 'up'. That would mean price is above both monthly and weekly pivots. Then to enter, it will check if Bid is less than Weekly pivot and also check distance between lower B band and Weekly Pivot. That will never be true. The code ...

Code: Select all

if (bias == up)
      {
         if (Bid > BbLower)
         {
            if (iLow(NULL, BbTimeFrame, 0) < BbLower || iLow(NULL, BbTimeFrame, 1) < BbLower)
            {
               if (Bid < WeeklyPivot && WeeklyPivot - Bid >= (MinimumRangeTakeProfit * Point))
               {
                  SendLong = true;
                  TradeOrigin = BbRangeTrade;//TradeOrigin is used by CalculateTakeProfit()
                  magic = BbRangeTradeMN;
                  comment = BbRangeTradeComment;
               }//if (Bid < WeeklyPivot && WeeklyPivot - Bid >= (MinimumRangeTakeProfit * Point))                  
            }//if (iLow(NULL, BbTimeFrame, 0) < BbLower || iLow(NULL, BbTimeFrame, 1) < BbLower)
         }//if (Bid > BbLower)    
      }//if (bias == up)
Not in the attached EA, but I have changed it to ...

Code: Select all

if (Bid > BbLower)
         {
            if (iLow(NULL, BbTimeFrame, 0) < BbLower || iLow(NULL, BbTimeFrame, 1) < BbLower)
            {
               if (Bid < WeeklyPivot && WeeklyPivot - Bid >= (MinimumRangeTakeProfit / factor))
               {
                  SendLong = true;
                  TradeOrigin = BbRangeTrade;//TradeOrigin is used by CalculateTakeProfit()
                  magic = BbRangeTradeMN;
                  comment = BbRangeTradeComment;
               }//if (Bid < WeeklyPivot && WeeklyPivot - Bid >= (MinimumRangeTakeProfit / factor))                  
            }//if (iLow(NULL, BbTimeFrame, 0) < BbLower || iLow(NULL, BbTimeFrame, 1) < BbLower)
         }//if (Bid > BbLower)    
Will see if I get some BB trades in the coming week. Looking forward to see how the BB trades perform.

Kind Regards,

Alex
Author:  phil_trade [ Sun Jul 01, 2012 8:55 am ]
Post subject:  Re: 10.2; the auto-trading EA is born.

al3xx wrote:

If you get the management functions sorted, can you post it? the bot is great for allowing me to sleep and not miss trades. It would be awesome to have the management functions working correctly.
Here you have it. I changed all the places using Point to use factor instead. Will see in the coming week how it goes.

I also fixed the function LookForD1TrendTrade to check if it is okay to stack trades if a trade already exists just like it is done in LookForD1H4TrendTrade. I added this...

Code: Select all


if (OpenTrades > 0)
   {
      if (!OkToStack(type)) return;
   }//if (OpenTrades > 0)

Yes, this EA is great for not missing entries. Thanks Steve!

I think there is a bug in the LookForBbRangeTrade function that prevents the EA from entering any BB range trades when EnforcePivotIntegrity is enabled. Has anyone had such an entry from this EA?

I mean, for a Buy, it checks if bias is 'up'. That would mean price is above both monthly and weekly pivots. Then to enter, it will check if Bid is less than Weekly pivot and also check distance between lower B band and Weekly Pivot. That will never be true. The code ...

Code: Select all

if (bias == up)
      {
         if (Bid > BbLower)
         {
            if (iLow(NULL, BbTimeFrame, 0) < BbLower || iLow(NULL, BbTimeFrame, 1) < BbLower)
            {
               if (Bid < WeeklyPivot && WeeklyPivot - Bid >= (MinimumRangeTakeProfit * Point))
               {
                  SendLong = true;
                  TradeOrigin = BbRangeTrade;//TradeOrigin is used by CalculateTakeProfit()
                  magic = BbRangeTradeMN;
                  comment = BbRangeTradeComment;
               }//if (Bid < WeeklyPivot && WeeklyPivot - Bid >= (MinimumRangeTakeProfit * Point))                  
            }//if (iLow(NULL, BbTimeFrame, 0) < BbLower || iLow(NULL, BbTimeFrame, 1) < BbLower)
         }//if (Bid > BbLower)    
      }//if (bias == up)
Not in the attached EA, but I have changed it to ...

Code: Select all

if (Bid > BbLower)
         {
            if (iLow(NULL, BbTimeFrame, 0) < BbLower || iLow(NULL, BbTimeFrame, 1) < BbLower)
            {
               if (Bid < WeeklyPivot && WeeklyPivot - Bid >= (MinimumRangeTakeProfit / factor))
               {
                  SendLong = true;
                  TradeOrigin = BbRangeTrade;//TradeOrigin is used by CalculateTakeProfit()
                  magic = BbRangeTradeMN;
                  comment = BbRangeTradeComment;
               }//if (Bid < WeeklyPivot && WeeklyPivot - Bid >= (MinimumRangeTakeProfit / factor))                  
            }//if (iLow(NULL, BbTimeFrame, 0) < BbLower || iLow(NULL, BbTimeFrame, 1) < BbLower)
         }//if (Bid > BbLower)    
Will see if I get some BB trades in the coming week. Looking forward to see how the BB trades perform.

Kind Regards,

Alex

Good job Alex

please, share mq4 file, so we can do backtest to verify if BB trade is ok
Author:  SteveHopwood [ Sun Jul 01, 2012 9:36 am ]
Post subject:  Re: 10.2; the auto-trading EA is born.

phil_trade wrote:Good job Alex

please, share mq4 file, so we can do backtest to verify if BB trade is ok
Yes, thanks Alex. That is great bloop-spotting.

If you could upload the mq4 it will save me making the edits manually.

:D
All times are UTC Page 47 of 54