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

Balls to the Wall, a 1 minute 1 trade EA
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=792
Page 12 of 36
Author:  wolfeman [ Thu Sep 06, 2012 4:09 pm ]
Post subject:  Re: Balls to the Wall, a 1 minute 1 trade EA

cuzgeorge wrote:Balss, just closed a eurusd as the euro peaked, perfect timing for a huge Tp win. I have two losses from before at SL. no interference from me and OOTB settings except i'm ECN.

HiArt , Vivaldi, great spot on the ecn part of the code. It did the job for me.

I have'nt tried the Slope yet on this, petrified of the lot sizes (even on demo), waiting to see winsteadglenn and wolfemans results here.

I have set up a second demo with Steves opening times and pairs, will post both the myfxbook links shortly.
cuzgeorge
Well, my setup is acting like a politician--sitting there looking buzy, but nothing gets done! No trades, no errors, nuthin....I have another EA on the same plat that is working, so it's nothing like that.

The slope values are reporting correctly, it just won't do anything. I did notice that the stoch readings in the chart comments don't match the data window. The data window reports slightly lower readings; I don't know that it's enough to make a difference though. Frustrating this is...IF it were trading as it should, I would have had four wins in the last two days. A 60% increase in two days would feel good right about now. I think tonight I will set it up with the line just to make sure I'm not overlooking anything.

George, would you mind posting you set file for comparison?
Author:  gaheitman [ Thu Sep 06, 2012 4:20 pm ]
Post subject:  Re: Balls to the Wall, a 1 minute 1 trade EA

cuzgeorge wrote:jth,
please post a screenshot of your Empty4 platform, the whole thing, you can edit out anything you dont want anyone to see, leave the 'journal' or 'experts tab' on and try to allow for the ea's settings to show.
Check that the pic is not just of the chart, we need to see the whole enchilada Empty4 showing
this is really bugging me why u cant get this going.
cuzgeorge
Could also run this script on any of your charts and take a screen shot? It will give you something like this:
IMG_25.gif
Author:  winsteadglenn [ Thu Sep 06, 2012 4:30 pm ]
Post subject:  Re: Balls to the Wall, a 1 minute 1 trade EA

I had the same results as Wolfemann. Zip/nada/zilch. Using slope. Might be an ECN thingy error on my part.
Author:  wolfeman [ Thu Sep 06, 2012 4:58 pm ]
Post subject:  Re: Balls to the Wall, a 1 minute 1 trade EA

winsteadglenn wrote:I had the same results as Wolfemann. Zip/nada/zilch. Using slope.
It occurred to me that slopey fractal might do what I want. I had a series of 13 great winners there and no losing trades, using Harry's settings with J.S. of only eight. Big lot sizes and higher TFs there might produce gains similar to the goal here. Just thinking outloud.
I too, noticed the similarities with slopey fractal. But if I remember correctly (I don't have SloFrac up ATM) it enters somewhat later. I don't ever recall seeing an entry as precise as paulus stoch & macd setup...anywhere! Critical for this method. I am convinced that slope will be the key element to this EA. Look at this mornings entry...the preceeding hours were down, down.- waiting for slope looks fooking brilliant! With a 6 pip stop. Dang, I just hate missing those!

P.S. When I say morning, I mean morning for me. I 'm in California.
Author:  jth [ Thu Sep 06, 2012 6:04 pm ]
Post subject:  Re: Balls to the Wall, a 1 minute 1 trade EA

cuzgeorge wrote:jth,
please post a screenshot of your Empty4 platform, the whole thing, you can edit out anything you dont want anyone to see, leave the 'journal' or 'experts tab' on and try to allow for the ea's settings to show.
Check that the pic is not just of the chart, we need to see the whole enchilada Empty4 showing
this is really bugging me why u cant get this going.
cuzgeorge
ok
here you go i hope it helps.
Few at least i am not the only one with ea trading problems. I am very familiar with Empty4 and the platform, other ea's work fine it just seems to be this one.
JTH
Author:  vivaldi [ Thu Sep 06, 2012 6:39 pm ]
Post subject:  Re: Balls to the Wall, a 1 minute 1 trade EA

jth wrote:
cuzgeorge wrote:jth,
please post a screenshot of your Empty4 platform, the whole thing, you can edit out anything you dont want anyone to see, leave the 'journal' or 'experts tab' on and try to allow for the ea's settings to show.
Check that the pic is not just of the chart, we need to see the whole enchilada Empty4 showing
this is really bugging me why u cant get this going.
cuzgeorge
ok
here you go i hope it helps.
Few at least i am not the only one with ea trading problems. I am very familiar with Empty4 and the platform, other ea's work fine it just seems to be this one.
JTH

Hallo Jth,
Very strange problem. I propose, you run the EA on a real live account. Only , do it in such a way that the Lotsize will be as small as possible in order not to hurt your equity. Interfere with the lotsize calculating routine if you can. There is probably something really wrong with your demo account, but I can't see what it is. I am experiencing also from time to time strange things with the demo account which do not happen in real life accounts.

Here is the Lotsize calculation :

Insert a line like : ( if your smallest possible lotsize is indeed 0.01 )

LotSize = 0.01;

Just before the line

return(LotSize);


double CalculateLotSize(double price1, double price2)
{
//Calculate the lot size by risk. Code kindly supplied by jmw1970. Nice one jmw.

if (price1 == 0 || price2 == 0) return(Lot);//Just in case

//double FreeMargin = AccountFreeMargin();
double FreeMargin = AccountBalance();
double TickValue = MarketInfo(Symbol(),MODE_TICKVALUE) ;
double LotStep = MarketInfo(Symbol(),MODE_LOTSTEP);


double SLPts = MathAbs(price1 - price2);
//SLPts*= factor;
SLPts/= Point;

double Exposure = SLPts * TickValue; // Exposure based on 1 full lot

double AllowedExposure = (FreeMargin * RiskPercent) / 100;

int TotalSteps = ((AllowedExposure / Exposure) / LotStep);
double LotSize = TotalSteps * LotStep;

double MinLots = MarketInfo(Symbol(), MODE_MINLOT);
double MaxLots = MarketInfo(Symbol(), MODE_MAXLOT);

if (LotSize < MinLots) LotSize = MinLots;
if (LotSize > MaxLots) LotSize = MaxLots;

INSERT HERE

return(LotSize);

}//double CalculateLotSize(double price1, double price1)


Then recompile (f5) and try again but now on a real account and see what happens.
Author:  jth [ Thu Sep 06, 2012 6:43 pm ]
Post subject:  Re: Balls to the Wall, a 1 minute 1 trade EA

vivaldi wrote:
jth wrote:
cuzgeorge wrote:jth,
please post a screenshot of your Empty4 platform, the whole thing, you can edit out anything you dont want anyone to see, leave the 'journal' or 'experts tab' on and try to allow for the ea's settings to show.
Check that the pic is not just of the chart, we need to see the whole enchilada Empty4 showing
this is really bugging me why u cant get this going.
cuzgeorge
ok
here you go i hope it helps.
Few at least i am not the only one with ea trading problems. I am very familiar with Empty4 and the platform, other ea's work fine it just seems to be this one.
JTH

Hallo Jth,
Very strange problem. I propose, you run the EA on a real live account. Only , do it in such a way that the Lotsize will be as small as possible in order not to hurt your equity. Interfere with the lotsize calculating routine if you can. There is probably something really wrong with your demo account, but I can't see what it is. I am experiencing also from time to time strange things with the demo account which do not happen in real life accounts.
What i will try, is another broker and see if that problem continues or not.
JTH
Author:  cuzgeorge [ Thu Sep 06, 2012 6:53 pm ]
Post subject:  Re: Balls to the Wall, a 1 minute 1 trade EA

Hey jth, guys,
on a demo account, anything should be able to run.
On a live account, you have to contact your account manager and request that they allow ea's on your account. It should work on the demo as far as i can see.
I just got back and will try to see whats wrong. Give me a little while and i'll pm you so as not to take over the thread. We'll post just the solution, hows that?
cuzgeorge
Author:  jth [ Thu Sep 06, 2012 7:14 pm ]
Post subject:  Re: Balls to the Wall, a 1 minute 1 trade EA

Vivaldi,
I am sorry but i haven't got a clue where to place the code you placed,
if you could place it in there and just load the ea with a different name in the thread so we don't confuse anybody.
i will give it a try.
JTH
Author:  jth [ Thu Sep 06, 2012 7:25 pm ]
Post subject:  Re: Balls to the Wall, a 1 minute 1 trade EA

cuzgeorge wrote:Hey jth, guys,
on a demo account, anything should be able to run.
On a live account, you have to contact your account manager and request that they allow ea's on your account. It should work on the demo as far as i can see.
I just got back and will try to see whats wrong. Give me a little while and i'll pm you so as not to take over the thread. We'll post just the solution, hows that?
cuzgeorge
That would really be great thanks.
I'l be doing my knitting waiting patiently. lol
(I have no idea how to knit)
JTH
All times are UTC Page 12 of 36