Nanningbob 10.2 auto-trading EA

Share your 10.x automated traders here.
Locked
trader689
Trader
Posts: 674
Joined: Thu Nov 17, 2011 12:53 am

Re: 10.2; the auto-trading EA is born.

Post by trader689 »

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
al3xx
Trader
Posts: 59
Joined: Tue Jun 19, 2012 9:33 pm

Re: 10.2; the auto-trading EA is born.

Post by al3xx »


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.
User avatar
fxozgirl
Trader
Posts: 1176
Joined: Wed Nov 16, 2011 9:16 am
Location: Melbourne, Australia

Re: 10.2; the auto-trading EA is born.

Post by fxozgirl »

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
Panamamike
Trader
Posts: 104
Joined: Tue Nov 15, 2011 11:45 pm

Re: 10.2; the auto-trading EA is born.

Post by Panamamike »

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.
Panamamike
Trader
Posts: 104
Joined: Tue Nov 15, 2011 11:45 pm

Re: 10.2; the auto-trading EA is born.

Post by Panamamike »

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.
The_Snowman
Trader
Posts: 395
Joined: Sun Nov 27, 2011 8:24 am
Location: Australia

Re: 10.2; the auto-trading EA is born.

Post by The_Snowman »

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
trader689
Trader
Posts: 674
Joined: Thu Nov 17, 2011 12:53 am

Re: 10.2; the auto-trading EA is born.

Post by trader689 »

thanks snowman will check them out
al3xx
Trader
Posts: 59
Joined: Tue Jun 19, 2012 9:33 pm

Re: 10.2; the auto-trading EA is born.

Post by al3xx »


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
You do not have the required permissions to view the files attached to this post.
phil_trade

Re: 10.2; the auto-trading EA is born.

Post by phil_trade »

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
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: 10.2; the auto-trading EA is born.

Post by SteveHopwood »

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
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.
Locked

Return to “10.x EA forum”