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

Nanningbob 10.1 The EA is here
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=128
Page 20 of 25
Author:  fxozgirl [ Wed Feb 29, 2012 8:02 pm ]
Post subject:  Re: Nanningbob 10.1 The EA is here

Panamamike wrote: How many pairs are you running this on?

All available pairs
Author:  gustav213 [ Tue Mar 06, 2012 5:05 am ]
Post subject:  Re: Nanningbob 10.1 The EA is here

Just started running it on one of my mini live accounts, using TrendyBob trading 0.01 lots. I will keep posted on what pairs and how it goes soon.
Author:  gustav213 [ Tue Mar 06, 2012 8:02 am ]
Post subject:  Re: Nanningbob 10.1 The EA is here

fxozgirl wrote:
Panamamike wrote: How many pairs are you running this on?

All available pairs
What SL/TP are you using? Or are you doing it all manually?
Author:  fxozgirl [ Tue Mar 06, 2012 8:11 am ]
Post subject:  Re: Nanningbob 10.1 The EA is here

gustav213 wrote:
fxozgirl wrote:
Panamamike wrote: How many pairs are you running this on?

All available pairs
What SL/TP are you using? Or are you doing it all manually?
For SL UseRed is True
TP is Breakeven True
BreakevenPips 20
Breakeven Profit 5
Jumping Stop True
Jumping Stop Pips 20
Author:  gustav213 [ Tue Mar 06, 2012 3:43 pm ]
Post subject:  Re: Nanningbob 10.1 The EA is here

What SL/TP are you using? Or are you doing it all manually?[/quote]

For SL UseRed is True
TP is Breakeven True
BreakevenPips 20
Breakeven Profit 5
Jumping Stop True
Jumping Stop Pips 20[/quote]

Great thanks, will see how it goes. Just comparing settings, I have it running now on a small penny account to see how it goes. I had a wrong setting placed so it took two buy trades on NZDJPY both for a loss. Then went for a sell on AUDUSD for a profit. So lets see how it keeps going.
Author:  Gamma_gallus [ Tue Mar 06, 2012 10:10 pm ]
Post subject:  Re: Nanningbob 10.1 The EA is here

fxozgirl wrote: For SL UseRed is True
TP is Breakeven True
BreakevenPips 20
Breakeven Profit 5
Jumping Stop True
Jumping Stop Pips 20

Do you check quite often the charts to make sure the lines are drawn (or at least correctly**)? and if not, then adjust the S&R indi ?
On a couple of currencies I had to do it some times.

** by "correctly" I mean, to change the "days back look" because depending upon the value, we have sometimes a support just 10 pips below the resistance ..etc..

thx
Olivier
Author:  zkucera [ Thu Mar 08, 2012 3:42 pm ]
Post subject:  Re: Nanningbob 10.1 The EA is here

Hi Steve,

I know you don't care about INVALID_STOPS error, but I will risk your wrath writing about it. It is regarding TIB EA...

When UseRed=true, stop loss is set to SlowNbTrendMaVal which changes once a day.

Today NZD/JPY shot up and dived triggering the OrderSend which kept failing due to the INVALID_STOPS error. In the attached screenshot, I can see that OP_SELL order was trying to set the stop to "Slow MA 66.639" when the Bid was 67.091.

My guess is that:
1. When buying, Slow MA should be below (Ask - STOPLEVEL)
2. When selling, Slow MA should be above (Bid + STOPLEVEL)

The question is what to do when the above is NOT the case: do you move the stop, set it to zero or don't send the order at all? Unfortunately, I don't know :-(

The code below is just an example that sets the SL to zero.

In HasBuyFilled

Code: Select all

      //if (UseRed) stop = SlowNbTrendMaVal;
      if (UseRed)
      {
         stop = SlowNbTrendMaVal;
         if (SlowNbTrendMaVal > NormalizeDouble(price - (MarketInfo(Symbol(), MODE_STOPLEVEL) * Point), Digits)) stop = 0;
      }
In HasSellFilled

Code: Select all

      //if (UseRed) stop = SlowNbTrendMaVal;
      if (UseRed)
      {
         stop = SlowNbTrendMaVal;
         if (SlowNbTrendMaVal < NormalizeDouble(price + (MarketInfo(Symbol(), MODE_STOPLEVEL) * Point), Digits)) stop = 0;
      }
It is one of those issues where I can't think of the best solution right away. With your approval, I could always post this in the forum and see what others think.

Cheers,
Zeljko
Author:  grimweasel [ Fri Mar 09, 2012 3:47 pm ]
Post subject:  Re: Nanningbob 10.1 The EA is here

I continue to be impressed with this EA. Running on demo it works very well and I can leave it unmonitored for days and days. I adjust my stops based on the weekly levels and just let it run. So far the Dow trade is up £330 - not bad at 0.01 per pip!

It also made light work of the recent Yen weakness and picked up those trades perfectly. Another month or two of testing for stability and I will move to a mico-lot live account with FXCM]
Thanks Steve for a great EA code based on NaningBobs excellent work; this combined with James16 (once complete) is all a trader could want in my view!
Author:  traderduke [ Fri Mar 09, 2012 4:03 pm ]
Post subject:  Re: Nanningbob 10.1 The EA is here

GW
Any chance you can share the set file? What pairs are you trading?
grimweasel wrote:I continue to be impressed with this EA. Running on demo it works very well and I can leave it unmonitored for days and days. I adjust my stops based on the weekly levels and just let it run. So far the Dow trade is up £330 - not bad at 0.01 per pip!

It also made light work of the recent Yen weakness and picked up those trades perfectly. Another month or two of testing for stability and I will move to a mico-lot live account with FXCM]
Thanks Steve for a great EA code based on NaningBobs excellent work; this combined with James16 (once complete) is all a trader could want in my view!
Author:  jb68 [ Fri Mar 09, 2012 9:08 pm ]
Post subject:  Re: Nanningbob 10.1 The EA is here

zkucera wrote:Hi Steve,

I know you don't care about INVALID_STOPS error, but I will risk your wrath writing about it. It is regarding TIB EA...

When UseRed=true, stop loss is set to SlowNbTrendMaVal which changes once a day.

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

Cheers,
Zeljko
Hi,

For a daily EA is not recommended to have an SL that small to trigger freeze level issues because chances are to be blown by noise.

Now.. you have a small error.. When you buy you need to use Bid - STOPLEVEL - this will be the tightest SL accepted by the CrAP system without an 130. However using Bid when Sl is taken will not give you fixed amount as with Ask as Steve coded.

I think is better to use a fix amount if computed Sl is smaller then 5 pips.
All times are UTC Page 20 of 25