Nanningbob 10.2 auto-trading EA

Share your 10.x automated traders here.
Locked
patman
Trader
Posts: 68
Joined: Sat Dec 10, 2011 1:48 am

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

Post by patman »

Hi Steve

Version 2c still has this code in one place

//Down histo buffer
v = iCustom(NULL, tf, "10.2 WOH 2x1 5.22", barsToProcess, 1, shift);
if (v < 0) return(v);

needs to be

//Down histo buffer
v = iCustom(NULL, tf, "10.2 WeeklyOpenHistogram 2x1 4.29", barsToProcess, 1, shift);
if (v < 0) return(v);

I think

Pat
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 »

patman wrote:Hi Steve

Version 2c still has this code in one place

//Down histo buffer
v = iCustom(NULL, tf, "10.2 WOH 2x1 5.22", barsToProcess, 1, shift);
if (v < 0) return(v);

needs to be

//Down histo buffer
v = iCustom(NULL, tf, "10.2 WeeklyOpenHistogram 2x1 4.29", barsToProcess, 1, shift);
if (v < 0) return(v);

I think

Pat
Nice one Pat. Cheers.

V 2c in post 1. Doesn't really matter so long as you have the other Woh in your indi folder.

: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.
User avatar
mobthehop
Trader
Posts: 362
Joined: Wed Nov 16, 2011 12:16 am

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

Post by mobthehop »

Steve, I thought you wanted to bring the GetWOH in-house (see my PM a week or two ago) and Bob updated the WOH to version 6.26 recently (though I have not yet looked at the changes)

Cheers
User avatar
NeoTrader
Trader
Posts: 436
Joined: Wed Apr 04, 2012 2:52 pm
Location: small Village at Lake Chiemsee, Bavaria, Germany

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

Post by NeoTrader »

hi mobthehop,
mobthehop wrote:Steve, I thought you wanted to bring the GetWOH in-house (see my PM a week or two ago) and Bob updated the WOH to version 6.26 recently (though I have not yet looked at the changes)
If I remind correct I don't think that there are great changes...I think he only put the adapted WOH from gary in.

happy trading,

NeoTrader

-
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 »

mobthehop wrote:Steve, I thought you wanted to bring the GetWOH in-house (see my PM a week or two ago) and Bob updated the WOH to version 6.26 recently (though I have not yet looked at the changes)

Cheers
I thought I had until I found I hadn't.

: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.
Yoi
Posts: 3
Joined: Wed Nov 16, 2011 1:32 pm

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

Post by Yoi »

Hi guys, first time I post here however I'm here since the first days.

I think there is a bloop in the code of the H1 trades.

Line 1728 a bias is up if bid > monthlypivot and weeklypivot (reverse for down)

Code: Select all

      if (Bid > MonthlyPivot && Bid > WeeklyPivot) bias = up;
      if (Bid < MonthlyPivot && Bid < WeeklyPivot) bias = down;
However when the ea looks for H1 long trade (line 1574) we check if bias = up and if the bid < to the weekly pivot which can't be possible if bias == up

Code: Select all

   if (type == OP_BUY)
   {
      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)
   }//if (type == OP_BUY)
I hope I'm not wrong :oops:
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 »

Yoi wrote:Hi guys, first time I post here however I'm here since the first days.

I think there is a bloop in the code of the H1 trades.

Line 1728 a bias is up if bid > monthlypivot and weeklypivot (reverse for down)

Code: Select all

      if (Bid > MonthlyPivot && Bid > WeeklyPivot) bias = up;
      if (Bid < MonthlyPivot && Bid < WeeklyPivot) bias = down;
However when the ea looks for H1 long trade (line 1574) we check if bias = up and if the bid < to the weekly pivot which can't be possible if bias == up

Code: Select all

   if (type == OP_BUY)
   {
      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)
   }//if (type == OP_BUY)
I hope I'm not wrong :oops:
Not a clue Yoi. Just because I coded the EA doesn't mean I now understand the code or what it does. I cannot see where the bias comes into the BB H1 trend trading stuff.

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

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

Post by al3xx »

Yoi wrote: I hope I'm not wrong :oops:
No you are not. I pointed that out and fixed it a few posts ago. I believe it is in the Page 1 version now since Steve said he put it there.
SteveHopwood wrote: Not a clue Yoi. Just because I coded the EA doesn't mean I now understand the code or what it does. I cannot see where the bias comes into the BB H1 trend trading stuff.
:D
I still haven't seen any BB trades yet. Dunno if it's the markets, the EA or just Steve. ;)
Panamamike
Trader
Posts: 104
Joined: Tue Nov 15, 2011 11:45 pm

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

Post by Panamamike »

Just an update. I have been running 10.2A for two weeks now. I have manually taken profits near session closings , Asia, Europe, and USA when trades are well into profit. Have not had any large floating negatives or draw downs. The 5k demo account is just under 6.5 k with 8 open positions and -$36 floating loss. I am basically using the EA to enter trades and then making decisions when to manually close. Going live next week on an small test account.
patman
Trader
Posts: 68
Joined: Sat Dec 10, 2011 1:48 am

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

Post by patman »

Hi Panamamike,

Sounds like a great result - well done & good luck on live

Which EA is for 10.2A? I didn't think that was done yet
Locked

Return to “10.x EA forum”