Balls to the Wall, a 1 minute 1 trade EA

Locked
User avatar
wolfeman
Trader
Posts: 143
Joined: Thu Nov 17, 2011 6:15 am
Location: Slumming it in sunny California

Re: Balls to the Wall, a 1 minute 1 trade EA

Post by wolfeman »

winsteadglenn wrote:If anyone is using the slope feature, please let us know what works for you.

Hi Glen, I'm on board with the London line disabled and a 5M slope OOTB. Will keep you posted.
vivaldi
Trader
Posts: 58
Joined: Thu Feb 02, 2012 12:08 am
Location: Netherlands

Re: Balls to the Wall, a 1 minute 1 trade EA

Post by vivaldi »

winsteadglenn wrote:If anyone is using the slope feature, please let us know what works for you.
Hi Glen,

i will have to study this feature more in depth, but I am almost sure that it will be a better indication than the rough line of the original system.
HiArt99
Posts: 7
Joined: Thu Jul 12, 2012 8:50 am

Re: Balls to the Wall, a 1 minute 1 trade EA

Post by HiArt99 »

Hi Steve,

still struggling to get this EA to work for me on my Alpari UK demo account. I noticed in the comment that Fractal high is 0.00000 so I added this line to GetFractals just after v is calculated:

if(Symbol()=="EURGBP" && v > 0)Print("v = ",DoubleToStr(v, Digits),"; v - Ask = ",DoubleToStr(v - Ask, Digits),"; StopLevel = ",DoubleToStr(StopLevel, Digits));

This has returned the following data:

07:40:05 Balls to the Wall EURGBP,M1: v = 0.78996; v - Ask = -0.00016; StopLevel = 20.00000

It appears that FracHigh will never be set as "v - Ask > StopLevel" can not become TRUE. Should StopLevel be converted in to pips?. Easy enough to do and happy to make the adjustment locally; I'll just have to remember to make that amendment on each update.

Why this should be an issue for me and not for other folks, I am unsure. But thanks for any advice.

P.S.
Adjusting the StopLevel calculation to:

double StopLevel = MarketInfo(Symbol(), MODE_STOPLEVEL) / factor;

has caused a Fractal High comment to be displayed, as well as lot size, stop loss and take profit calculations.

So it appears that the answer to my question is YES!
vivaldi
Trader
Posts: 58
Joined: Thu Feb 02, 2012 12:08 am
Location: Netherlands

Re: Balls to the Wall, a 1 minute 1 trade EA

Post by vivaldi »

HiArt99 wrote:Hi Steve,

still struggling to get this EA to work for me on my Alpari UK demo account. I noticed in the comment that Fractal high is 0.00000 so I added this line to GetFractals just after v is calculated:

if(Symbol()=="EURGBP" && v > 0)Print("v = ",DoubleToStr(v, Digits),"; v - Ask = ",DoubleToStr(v - Ask, Digits),"; StopLevel = ",DoubleToStr(StopLevel, Digits));

This has returned the following data:

07:40:05 Balls to the Wall EURGBP,M1: v = 0.78996; v - Ask = -0.00016; StopLevel = 20.00000

It appears that FracHigh will never be set as "v - Ask > StopLevel" can not become TRUE. Should StopLevel be converted in to pips?. Easy enough to do and happy to make the adjustment locally; I'll just have to remember to make that amendment on each update.

Why this should be an issue for me and not for other folks, I am unsure. But thanks for any advice.

P.S.
Adjusting the StopLevel calculation to:

double StopLevel = MarketInfo(Symbol(), MODE_STOPLEVEL) / factor;

has caused a Fractal High comment to be displayed, as well as lot size, stop loss and take profit calculations.

So it appears that the answer to my question is YES!
Read my previous post of yesterday where I referred to the Point value. YOu have to adapt the value of 'stoplevel' in order to be able to make comparisons with values of 'Bid' and 'Ask'. Empty4 has the internal routine 'Point', but for a 5digit criminal you have to go to 10^-4. That is what you do here with the variable 'factor'.
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: Balls to the Wall, a 1 minute 1 trade EA

Post by SteveHopwood »

HiArt99 wrote:Hi Steve,

still struggling to get this EA to work for me on my Alpari UK demo account. I noticed in the comment that Fractal high is 0.00000 so I added this line to GetFractals just after v is calculated:

if(Symbol()=="EURGBP" && v > 0)Print("v = ",DoubleToStr(v, Digits),"; v - Ask = ",DoubleToStr(v - Ask, Digits),"; StopLevel = ",DoubleToStr(StopLevel, Digits));

This has returned the following data:

07:40:05 Balls to the Wall EURGBP,M1: v = 0.78996; v - Ask = -0.00016; StopLevel = 20.00000

It appears that FracHigh will never be set as "v - Ask > StopLevel" can not become TRUE. Should StopLevel be converted in to pips?. Easy enough to do and happy to make the adjustment locally; I'll just have to remember to make that amendment on each update.

Why this should be an issue for me and not for other folks, I am unsure. But thanks for any advice.

P.S.
Adjusting the StopLevel calculation to:

double StopLevel = MarketInfo(Symbol(), MODE_STOPLEVEL) / factor;

has caused a Fractal High comment to be displayed, as well as lot size, stop loss and take profit calculations.

So it appears that the answer to my question is YES!
Nice one. Thanks.

I did not pick up on this because I code on an Cowboy IBFX demo, which returns zero as the stop level - which is why I use the spread if stop level = zero.

Anyone making this change manually needs to add the second line of code to GetFractals():

Code: Select all

   double StopLevel = MarketInfo(Symbol(), MODE_STOPLEVEL);
   if (!CloseEnough(StopLevel, 0) ) StopLevel/= factor;
For everyone else, V 1f is in post 1.

: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.
HiArt99
Posts: 7
Joined: Thu Jul 12, 2012 8:50 am

Re: Balls to the Wall, a 1 minute 1 trade EA

Post by HiArt99 »

Thanks Steve.

Thank goodness this is demo!

GU trade opened @1.58567, stop 1.58133! 430 pips or thereabouts. I will look at the points post Steve I think my s/l and TP are 10 times too big!

At least it opened a trade, which is a step in the right direction :)
vivaldi
Trader
Posts: 58
Joined: Thu Feb 02, 2012 12:08 am
Location: Netherlands

Re: Balls to the Wall, a 1 minute 1 trade EA

Post by vivaldi »

Just a few minutes ago, this order started.
As you can see, the EA did not take the first fractal as SL. Therefore, the SL it took, is rather big : 22 pips (see the red line) and the Target = 66 pips.
I don't think this was the intention of Paulus. Paulus would almost certainly have taken the SL at 1.2515, which leads to a target of around 16 pips. Much more realistical in a TFM1.

This is version 1f. I started it about half an hour ago. I am not sure as to how the Bias calculation works when you start the EA after the official morningopeninghour .But anyways, here we got a Bias = short and because of that, this resulted in the current order.
You do not have the required permissions to view the files attached to this post.
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: Balls to the Wall, a 1 minute 1 trade EA

Post by SteveHopwood »

vivaldi wrote:Just a few minutes ago, this order started.
As you can see, the EA did not take the first fractal as SL. Therefore, the SL it took, is rather big : 22 pips (see the red line) and the Target = 66 pips.
I don't think this was the intention of Paulus. Paulus would almost certainly have taken the SL at 1.2515, which leads to a target of around 16 pips. Much more realistical in a TFM1.

This is version 1f. I started it about half an hour ago. I am not sure as to how the Bias calculation works when you start the EA after the official morningopeninghour .But anyways, here we got a Bias = short and because of that, this resulted in the current order.
Bias calculation:
  • < horizontal line: bias is down.
    > horizontal line: bias is up.
If a fractal is too close to the market for the stop loss to pass the stop level test, it looks for the next most recent fractal, and so on until it finds one that is close enough.

I am away for two days now, without internet access (only just found out about the Dongle and not bought one yet). Whilst I am away, you guys give some thought about what to do about too-distant stops and I will make the adjustment when I return - or one of the coders can do it.

: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
slipshod
Trader
Posts: 404
Joined: Tue Dec 27, 2011 9:14 am
Location: Australia

Re: Balls to the Wall, a 1 minute 1 trade EA

Post by slipshod »

Today's trading illustrates why I have little confidence in the concept behind this EA/trading strategy. Take EU or GU - the Asian sessions leading into the London open were clearly sloping down, and Frankfurt was flat.

London opens, and promptly dives down to set a new low for the day (which would have made the EA look for shorts if it wasn't already) then reverses upwards 60 pips on GU and 50 on EU at the time of writing. London does its own thing, I see no evidence at all to prove that it takes its lead from preceding sessions.
patman
Trader
Posts: 68
Joined: Sat Dec 10, 2011 1:48 am

Re: Balls to the Wall, a 1 minute 1 trade EA

Post by patman »

SteveHopwood wrote: If a fractal is too close to the market for the stop loss to pass the stop level test, it looks for the next most recent fractal, and so on until it finds one that is close enough.

I am away for two days now, without internet access (only just found out about the Dongle and not bought one yet). Whilst I am away, you guys give some thought about what to do about too-distant stops and I will make the adjustment when I return - or one of the coders can do it.
:D

what about
StopLoss = closest fractal
or
StopLoss = StopLevel + or - spread (depend if buy or sell)

whichever is furthest from price

Pat
Locked

Return to “Automated trading systems”