Nanningbob 10.2 auto-trading EA

Share your 10.x automated traders here.
Locked
Panamamike
Trader
Posts: 104
Joined: Tue Nov 15, 2011 11:45 pm

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

Post by Panamamike »

patman wrote:Seems like BE 25 + 10 is 25 points not pips (5digit Alpari NZ)
It did partial close at 25 points then couldn't move the SL
(.01 partial close .01 retained)
I agree on it being points not pips, that is why I have added the 0s to the OOTB settings. I have the partials shut off. it has moved 50 points and stopped moving. I am unsure as to why.

My settings are BE 250 +100; JS 500
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 gary,
garyfritz wrote:All tf's you care about. It only fills the tf you actually have on the chart when you sit there holding HOME.
Maybe your fight with the homekey is soon over... I am working on a script that will do this for us.... ;)
the homekeypart already works...now I look to implement some more features...I try to do something like matt's script but this isn't that easy since the chartwindow must be open to utilize the homekey...still working on it...if you want to have any features, now would be the time.. ;)

happy trading,

NeoTrader

-
patman
Trader
Posts: 68
Joined: Sat Dec 10, 2011 1:48 am

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

Post by patman »

patman wrote:Hi all,

I've been reading and trying for a while - this is my first post.
Absolutely fantastic work going on here - where you all get the time is beyond me.

Anyway thanks

I've loaded NB10.2 EA V2b onto EURNZD H1 chart (demo). Lot 0.02 other ootb.

It has placed 6 sell trades for EURNZD

Lets see what happens

Pat


Seems like BE 25 + 10 is 25 points not pips (5digit Alpari NZ)
It did partial close at 25 points then couldn't move the SL
(.01 partial close .01 retained)
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
jjasper7
Trader
Posts: 87
Joined: Mon Mar 19, 2012 11:44 pm
Location: Mesa,AZ (near Phoenix)

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

Post by jjasper7 »

i noticed that in about the middle of the 'Naningbob 10.2 autotrading ea', in the LookForTradingOpportunities routine, there is a 'gotya' line...

if (!EnforcePricePivotIntegrity) bias = up;//In case user has turned this filter off
which i think should read...
if (!EnforcePricePivotIntegrity) bias == up;//In case user has turned this filter off
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 »

jjasper7 wrote:i noticed that in about the middle of the 'Naningbob 10.2 autotrading ea', in the LookForTradingOpportunities routine, there is a 'gotya' line...

if (!EnforcePricePivotIntegrity) bias = up;//In case user has turned this filter off
which i think should read...
if (!EnforcePricePivotIntegrity) bias == up;//In case user has turned this filter off
Fantastic to see you getting deep down and dirty in the code. I cannot encourage you enough to carry on doing so - you will gain much.

On this occasion you are wrong and your suggested amendment will generate an error when you try to compile the code.

bias = up sets bias to the constant 'up'.
Checking bias for a value requires two thingies as in
if (bias == up)
or
if (bias != up)
etc

Keep at it, tiger. My code has reached the level of sophistication it has achieved (if 'sophistication' is the correct word) because people kept on pointing out the bloops. I look forward to one of the corrections I include in my code being yours.

: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.
jjasper7
Trader
Posts: 87
Joined: Mon Mar 19, 2012 11:44 pm
Location: Mesa,AZ (near Phoenix)

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

Post by jjasper7 »

shucks, though i might have found something of value/use, but now i see i just did not understand. you can clean up and delete the post because it will not help anything. sorry for wasting your time.
User avatar
Zypip
Trader
Posts: 148
Joined: Thu Apr 26, 2012 9:44 am

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

Post by Zypip »

patman wrote:
patman wrote:Hi all,

I've been reading and trying for a while - this is my first post.
Absolutely fantastic work going on here - where you all get the time is beyond me.

Anyway thanks

I've loaded NB10.2 EA V2b onto EURNZD H1 chart (demo). Lot 0.02 other ootb.

It has placed 6 sell trades for EURNZD

Lets see what happens

Pat


Seems like BE 25 + 10 is 25 points not pips (5digit Alpari NZ)
It did partial close at 25 points then couldn't move the SL
(.01 partial close .01 retained)
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
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 Zypip

Thanks for the reply. It seemed ok now but when I ticked Ask Manual Confirmation it keeps popping up asking to modify SL & TP to the values that are already there.
harrie
Posts: 5
Joined: Wed Jun 27, 2012 3:05 am

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

Post by harrie »

Hi all,

I encounter the same 6 sell eur/aud order tonight. I've disabled both BE and JS and close all trades. However, it comes again. Seem not the problem of BE and JS.....
patman
Trader
Posts: 68
Joined: Sat Dec 10, 2011 1:48 am

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

Post by patman »

Zypip wrote:
patman wrote:
patman wrote:Hi all,

I've been reading and trying for a while - this is my first post.
Absolutely fantastic work going on here - where you all get the time is beyond me.

Anyway thanks

I've loaded NB10.2 EA V2b onto EURNZD H1 chart (demo). Lot 0.02 other ootb.

It has placed 6 sell trades for EURNZD

Lets see what happens

Pat


Seems like BE 25 + 10 is 25 points not pips (5digit Alpari NZ)
It did partial close at 25 points then couldn't move the SL
(.01 partial close .01 retained)
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
Hi ZyPip and maybe Steve

The continuous orders are caused by the TP Line.
Here are the lines form AdjustTakeProfit

if (!CloseEnough(take, OrderTakeProfit()) )
{
MessageBox("Line "+LineName+"\ntake "+DoubleToStr(take, 5)+"\nOTP "+DoubleToStr(OrderTakeProfit(), 5), "TP Line", MB_YESNO|MB_ICONQUESTION);
OrderModify(TicketNo, OrderOpenPrice(), OrderStopLoss(), take, OrderExpiration(), CLR_NONE);

I added in the message box for debug.
take is = to the TP Line which =the TP of the ticket
OrderTakeProfit() =TP of the previous ticket for some reason (ticket above the one being evaluated)

OrderTakeProfit() is for the order selected by OrderSelect() function.
I can find !OrderSelect in CountOpenTrades but I can't get any further.

Hopefully this helps.

P
Locked

Return to “10.x EA forum”