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

Help with EA, won't buy?
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=1437
Page 1 of 1
Author:  remix919 [ Mon Jan 28, 2013 2:17 am ]
Post subject:  Help with EA, won't buy?

I've been trying to find out what's wrong with this EA this whole weekend, it seems to work fine when it comes to selling, but just won't buy :( Maybe a kind soul could take a look and see if they can figure out what's wrong? :D

The Scalp.mp4 is a required indicator for the EA.
Author:  fxdaytrader [ Mon Jan 28, 2013 5:40 am ]
Post subject:  Re: Help with EA, won't buy?

What is written in the tabs?
On ordersend error the ea will print out "Error opening SELL order LASTERROR" (same for buy).

Maybe you have to disable tp/sl if you are using ecn broker
Author:  dietcoke [ Mon Jan 28, 2013 10:30 am ]
Post subject:  Re: Help with EA, won't buy?

remix919 wrote:I've been trying to find out what's wrong with this EA this whole weekend, it seems to work fine when it comes to selling, but just won't buy :( Maybe a kind soul could take a look and see if they can figure out what's wrong? :D

The Scalp.mp4 is a required indicator for the EA.


Are there ordersend errors? or is it not even getting as far as trying to buy?
Author:  remix919 [ Mon Jan 28, 2013 1:45 pm ]
Post subject:  Re: Help with EA, won't buy?

No ordersend errors, forgot to mention, you need to lower the "risk" from 1 to something like .95, risk may be the wrong term to describe what that variable is for, it calculates the max amount of lots you can buy (I'm using Oanda so we have custom lots), so a risk of 1 would be your entire equity, but it doesn't seem to work right, but if you put .99 or less it'll work fine. The SL/TL both work on an ECN (Oanda is ECN aren't they? They have 5 digits).
Author:  remix919 [ Mon Jan 28, 2013 1:49 pm ]
Post subject:  Re: Help with EA, won't buy?

After removing some stuff from the buy clause, it seems the reason it's not buying is because it doesn't detect the negative variable from the iCustom scalp indi, it only detects positive numbers?
All times are UTC Page 1 of 1