White Box Slope

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: White Box Slope

Post by SteveHopwood »

cuzgeorge wrote:Went back to OOTB settings and all normal again, position still in profit.
Thanks George. It makes a pleasant change when someone reports a fault helpfully, rather than with the more common, "It dunt wurk". :lol:

This is a strange one. void InsertTakeProfit(int ticket) is only called from within CounOpenTrades(),via this code:

if (OrderTakeProfit() == 0) InsertTakeProfit(TicketNo);

Hard to see how this could be wrong, especially as it is the same code in all my recent bots. I see the trade was taken at 10.03, ModifyOrder() clearly succeeded in changing the TP field and addinh the tp, and yet WBT appears to think it had not got one.

I write appears because I wonder if it is one of those latency thingies again. We all know that a newly-opened trade often appears to be in our order history, but in fact is not until it has been returned by the crim's server. Matt has provided us with industrial-strength checking code to deal with this.

I wonder if the cause could be something similar following an OrderModify() call. Hard to see how. Anybody here able to answer this definitively? Or maybe some strange concatenation of events caused the code to loop endlessly round calling InsertTakeProfit()? Again, hard to see how, but just because I cannot do so does not necessarily mean it cannot happen.

I have added some extra code to V 1h in post 1 to abort the function if the trade returned from the crim's server does actually have a tp - also added something similar to InsertStopLoss().

: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
cuzgeorge
Trader
Posts: 674
Joined: Mon Mar 05, 2012 10:10 am
Location: Johannesburg, South Africa.

Re: White Box Slope

Post by cuzgeorge »

Hi Steve, all,
thank you for the very helpfull reply.
i have turned off all trade management by the EA and started up MPTM do exactly the same.

will let you know if the error occurs again and that should help narrow down the cause.

regards and take care all,
cuz
10.X, BMac,Xmeter,Marylin,and CaptsNakedTrading thread coupled with Slowkeys Intraday setup for manual trades.
http://www.stevehopwoodforex.com/phpBB3 ... f=36&t=848
User avatar
slowkey
Trader
Posts: 791
Joined: Sun Dec 04, 2011 1:27 pm
Location: Maryland USA

Re: White Box Slope

Post by slowkey »

I have not had but one trade this week but that is really a result of volatility. There are only eight pairs at the present .4 or over and none over .8 with many of these not in the range of the box. All of them are commodity pairs. That could change as we get more into the NY session after the stock market opens presently. Anyway my GBPAUD trade is positive. Still optimistic about the bot. I have tried to understand the the slope angle thing reading various threads but have not been able to generate any trades with it. For now I am sticking with slope values. George if you have been able to find a way to get some slope angle trades I would like to know what settings you are using.
The Gann Ribbons ... A new tool for looking at Time Periods, Price and Dynamic S/R in any system.

Now using HGI on 60 minutes and up & 10.7 with Hurst Targets intraday.
Bob's HGI Fourm
http://www.stevehopwoodforex.com/phpBB3 ... =38&t=3524


"No problem can be solved from the same level of consciousness that created it."

Albert Einstein
User avatar
cuzgeorge
Trader
Posts: 674
Joined: Mon Mar 05, 2012 10:10 am
Location: Johannesburg, South Africa.

Re: White Box Slope

Post by cuzgeorge »

slowkey wrote:I have not had but one trade this week but that is really a result of volatility. There are only eight pairs at the present .4 or over and none over .8 with many of these not in the range of the box. All of them are commodity pairs. That could change as we get more into the NY session after the stock market opens presently. Anyway my GBPAUD trade is positive. Still optimistic about the bot. I have tried to understand the the slope angle thing reading various threads but have not been able to generate any trades with it. For now I am sticking with slope values. George if you have been able to find a way to get some slope angle trades I would like to know what settings you are using.
Hi Doug,
I am changing the slope values, i dont use the angle as i have'nt got a good understanding of the angle yet. i understand it, just not comfy with the idea yet. Entries, exits , probablilties etc etc.

i use 'SlopeValue' to true in the settings and then i drop the entry levels very low, like 0.1 for a buy and 0.3 for a buy and hold,. zelko false, swap false, etc.
i also changed the TF's to 5 and 15.
i'm using the box filter settings but all trade management is now on MPTM as mentioned before.
No trades yet.
I've done the same to Pivoty Slope.

I'm also using your 4hr set file for white box slope. Havent played around with it yet, but also no trades and one or two funny errors i cant recall right now, but Empty4 disables the ea from trading, strange huh!
will let you know.
regards and stay well.
cuz
10.X, BMac,Xmeter,Marylin,and CaptsNakedTrading thread coupled with Slowkeys Intraday setup for manual trades.
http://www.stevehopwoodforex.com/phpBB3 ... f=36&t=848
User avatar
cuzgeorge
Trader
Posts: 674
Joined: Mon Mar 05, 2012 10:10 am
Location: Johannesburg, South Africa.

Re: White Box Slope

Post by cuzgeorge »

SteveHopwood wrote:I write appears because I wonder if it is one of those latency thingies again. We all know that a newly-opened trade often appears to be in our order history, but in fact is not until it has been returned by the crim's server. Matt has provided us with industrial-strength checking code to deal with this. :D
Hi Steve,
thanks for the follow up, it helps alot and reminds me of seeing a situation where the red lines would flicker on and off the screen for a very pro-longed period. I use Matts "LibOrderReliable4.mqh."
Usually i set up my charts to show ask line and the TP and SL lines are in red. Here's my dunce moment; :oops:
I cant remember which ea it was, but the SL' line was flickering continuously and Empty4 was not coming up with an error. i ignored it for that reason.

I'm testing a lot of the slope EA's and will probably find it now that i'm looking for it. will post as soon as i get some info on it.
thanks for your brilliance again.
regards
George
10.X, BMac,Xmeter,Marylin,and CaptsNakedTrading thread coupled with Slowkeys Intraday setup for manual trades.
http://www.stevehopwoodforex.com/phpBB3 ... f=36&t=848
patman
Trader
Posts: 68
Joined: Sat Dec 10, 2011 1:48 am

Re: White Box Slope

Post by patman »

George,
was it "Nanningbob 10.2 auto-trading EA".
It's got TP and SL lines
Pat
User avatar
cuzgeorge
Trader
Posts: 674
Joined: Mon Mar 05, 2012 10:10 am
Location: Johannesburg, South Africa.

Re: White Box Slope

Post by cuzgeorge »

patman wrote:George,
was it "Nanningbob 10.2 auto-trading EA".
It's got TP and SL lines
Pat
Hi Pat,
Its quite possible, as i only let up on this EA recently,
although the red lines i'm referring to are the standard ones you get off Empty4.

I use MPTM (almost always), and i use the 'add missing SL and TP' funtion MPTM has. I usually set up my ea's with-out SL and TP's , and let MPTM do this and the hedging should things go bad.
have you had something similar?
George
10.X, BMac,Xmeter,Marylin,and CaptsNakedTrading thread coupled with Slowkeys Intraday setup for manual trades.
http://www.stevehopwoodforex.com/phpBB3 ... f=36&t=848
User avatar
cuzgeorge
Trader
Posts: 674
Joined: Mon Mar 05, 2012 10:10 am
Location: Johannesburg, South Africa.

Re: White Box Slope

Post by cuzgeorge »

here's a pic of what the RED line looks like, this is what was flickering for the SL at the time, but as i said, dont know what ea it was. :oops: and this pic is just one that is in place for a pic right now.
The line can be a SL or a TP line.
regards
You do not have the required permissions to view the files attached to this post.
10.X, BMac,Xmeter,Marylin,and CaptsNakedTrading thread coupled with Slowkeys Intraday setup for manual trades.
http://www.stevehopwoodforex.com/phpBB3 ... f=36&t=848
User avatar
cuzgeorge
Trader
Posts: 674
Joined: Mon Mar 05, 2012 10:10 am
Location: Johannesburg, South Africa.

Re: White Box Slope

Post by cuzgeorge »

Hey Steve,
She's not warking!!!

Did'nt get a chance to update to v1h yet.

changed all settings so allow MPTM to do all TP's Sl's and Hedging.

Included set file showing white box use. The EA might be clashing with the use of close winner at gold line set to 'true', and loser close set true at opposite white. Using Scite editor i cant see why, but you would know better.

3 pics are showing;
.. open positions,
.. journal tab with screen error
.. and something new, .. 'object is not exist' i doubt you programmed that, cos your english spelin is deliscious. leads us to believe Empty4 and luc are the culprits all over again.

hope this helps.
regards
cuz
You do not have the required permissions to view the files attached to this post.
10.X, BMac,Xmeter,Marylin,and CaptsNakedTrading thread coupled with Slowkeys Intraday setup for manual trades.
http://www.stevehopwoodforex.com/phpBB3 ... f=36&t=848
carolco
Trader
Posts: 37
Joined: Tue Nov 15, 2011 9:50 pm

Re: White Box Slope

Post by carolco »

im glad that here is working on WB with slope. The first thing I thought about when I red fantastic Nannigbobs material about 10.2 how great would be to have slope indi in Beast to fire the trades.
But slope´s best TF are 4h and Daily and sixths works on 1H. This disproportion kills the fun with Beast.

So what If we leave beast as is and add slope indi to fire the hedge trade when you are deep in 3 level recorvery..? Im not thinking it will solve death trades but it can help a lot.

Im not give it up with Beast and thanks Steve and all the contributors here for valuable and friendly forum.

Im so glad Im here..
Image
Post Reply

Return to “Automated trading systems”