Stochy Bob

EA's inspired by nanningbob's work here, especially those based on his 240 Moving Average trend detection filter.
Post Reply
spotdespot
Trader
Posts: 768
Joined: Sun Jan 22, 2012 11:38 pm

Stochy Bob

Post by spotdespot »

Can you guys confirm that you are using Market orders as that is the OOTB setting, as I remember reading that pending orders were doing well? I assume market orders are just doing better!

Thanks,
Dave.
art
Trader
Posts: 588
Joined: Fri Mar 02, 2012 3:51 pm

Stochy Bob

Post by art »

i'm gettin very few trades, using ootb on 4 hour
AGT
Trader
Posts: 889
Joined: Thu Nov 17, 2011 7:20 pm
Location: Germany

Stochy Bob

Post by AGT »

I use it with pending orders - results: see below link in the bottom.

:hi:
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.

Stochy Bob

Post by SteveHopwood »

spotdespot » Wed Nov 19, 2014 8:48 am wrote:Can you guys confirm that you are using Market orders as that is the OOTB setting, as I remember reading that pending orders were doing well? I assume market orders are just doing better!

Thanks,
Dave.
That is accidental. Use pending orders.

:xm:
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.
Vlokkies
Trader
Posts: 41
Joined: Fri Oct 17, 2014 12:55 pm

Stochy Bob

Post by Vlokkies »

SteveHopwood » Wed Nov 19, 2014 11:31 am wrote:
spotdespot » Wed Nov 19, 2014 8:48 am wrote:Can you guys confirm that you are using Market orders as that is the OOTB setting, as I remember reading that pending orders were doing well? I assume market orders are just doing better!

Thanks,
Dave.
That is accidental. Use pending orders.

:xm:
I'm with Steve on this one.
I left it on market orders because I was curious to see how it performs, and so far it's doing really well, but it's starting to run into drawdown. I went from a max drawdown of 61 pips this morning to around 230 pips half an hour ago. Let's see how it turns out.

Art, I'm running it on H4, OOTB on 26 pairs (all the Global Prime demo pairs, except EURGBP & EURCHF) and I've had 28 trades so far.
User avatar
Gertje
Trader
Posts: 1936
Joined: Mon Dec 12, 2011 1:17 pm
Location: Middle of the Netherlands

Stochy Bob

Post by Gertje »

Vlokkies » Wed Nov 19, 2014 10:02 am wrote:
I'm with Steve on this one.
I left it on market orders because I was curious to see how it performs, and so far it's doing really well, but it's starting to run into drawdown. I went from a max drawdown of 61 pips this morning to around 230 pips half an hour ago. Let's see how it turns out.

Art, I'm running it on H4, OOTB on 26 pairs (all the Global Prime demo pairs, except EURGBP & EURCHF) and I've had 28 trades so far.
Also the pendingorder demo went into some DD today, I've had 642 pips in the red today. Have had some full-SL [100pips] as well, but still up 330 pips this week.

From last wednesday till now 74 trades, of which 9 are still running.
kwchau
Trader
Posts: 305
Joined: Tue Jan 03, 2012 3:37 pm

Stochy Bob

Post by kwchau »

Hi Steve, I need your help to change the Exits based on Stoch reaching 90/10. I have worked out the following codes, for example, to close a buy trade only when Stoch rises above threshold 90 from below and falls below it.

I also like to use multiple Stoch thresholds for exit. For this purpose, I've added the user input UseMultipleStochClose and cross and re-cross of Stoch levels 80 and 70 for exit.

However, these codes do not seems to work properly, could you kindly help me to identity where I have gone wrong ?
Thanks !

Code: Select all

---------------------------------------------

//Stoch ob
      if ((StochVal[1] > CloseBuysAt) && (StochVal[0] <= CloseBuysAt)) // to exit only when threshold 90 is re-hit 
         CloseThisTrade = true;
         
      if (UseMultipleStochClose=true)
       if ((StochVal[1] > (CloseBuysAt-10)) && (StochVal[0] <= (CloseBuysAt-10))) // to exit only when threshold 80 is re-hit
         CloseThisTrade = true;  
         
      if (UseMultipleStochClose=true)
       if ((StochVal[1] > (CloseBuysAt-20)) && (StochVal[0] <= (CloseBuysAt-20))) // to exit only when threshold 70 is re-hit 
         CloseThisTrade = true; 
-----------------------------------------------
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.

Stochy Bob

Post by SteveHopwood »

kwchau » Wed Nov 19, 2014 10:27 am wrote:Hi Steve, I need your help to change the Exits based on Stoch reaching 90/10. I have worked out the following codes, for example, to close a buy trade only when Stoch rises above threshold 90 from below and falls below it.

I also like to use multiple Stoch thresholds for exit. For this purpose, I've added the user input UseMultipleStochClose and cross and re-cross of Stoch levels 80 and 70 for exit.

However, these codes do not seems to work properly, could you kindly help me to identity where I have gone wrong ?
Thanks !

Code: Select all

---------------------------------------------

//Stoch ob
      if ((StochVal[1] > CloseBuysAt) && (StochVal[0] <= CloseBuysAt)) // to exit only when threshold 90 is re-hit 
         CloseThisTrade = true;
         
      if (UseMultipleStochClose=true)
       if ((StochVal[1] > (CloseBuysAt-10)) && (StochVal[0] <= (CloseBuysAt-10))) // to exit only when threshold 80 is re-hit
         CloseThisTrade = true;  
         
      if (UseMultipleStochClose=true)
       if ((StochVal[1] > (CloseBuysAt-20)) && (StochVal[0] <= (CloseBuysAt-20))) // to exit only when threshold 70 is re-hit 
         CloseThisTrade = true; 
-----------------------------------------------
Send me the file by pm and I will fix it.

:xm:
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.
nicolkoekoek
Trader
Posts: 72
Joined: Tue Mar 11, 2014 4:27 pm
Location: De Bilt

Stochy Bob

Post by nicolkoekoek »

Thanks Steve for the really great EA! Love it, I had within a day 5% on my first Demo.

I saw that with the default settings, I only got two entries when the trade went from 0 to 100 on the Stoch.
As an example : EURCAD 17Nov ~0700Am it went from 0 to ~100 Stoch (5,3,3)
jlcgarcia

Stochy Bob

Post by jlcgarcia »

Hello friends,

I think there is a little bug in the OnInit() section of the code referred to the followiong lines:

Code: Select all

   if (TradeComment == "") TradeComment = " ";
   if (Buy30Comment == "") Buy30Comment = "Buy30";
   if (Buy20Comment == "") Buy20Comment = "Buy20";
   if (Buy10Comment == "") Buy10Comment = "Buy10";
   if (Sell90Comment == "") Sell90Comment = "Sell90";
   if (Sell80Comment == "") Sell90Comment = "Sell80";
   if (Sell70Comment == "") Sell90Comment = "Sell70";

They must be as follows:

Code: Select all

  if (TradeComment == "") TradeComment = " ";
   if (Buy30Comment == "") Buy30Comment = "Buy30";
   if (Buy20Comment == "") Buy20Comment = "Buy20";
   if (Buy10Comment == "") Buy10Comment = "Buy10";
   if (Sell90Comment == "") Sell90Comment = "Sell90";
   if (Sell80Comment == "") Sell80Comment = "Sell80";
   if (Sell70Comment == "") Sell70Comment = "Sell70";

Also, tell you that I have developed a simple multipair version of this EA, that I am trading live at the moment. Also the EA allows you to introduce two stochastics inputs (two stochastics with different parameters) and trade both at the same time. This multipair version (codenamed Zodiaco) is still a work in progress and I will not post it in this forum without the permission of SH.

Regards


José Luis
Post Reply

Return to “Thingy Bob EA's”