Help with EA, won't buy?

Post Reply
User avatar
remix919
Trader
Posts: 91
Joined: Wed Jan 23, 2013 2:42 am
Location: Some Road in the USA

Help with EA, won't buy?

Post by remix919 »

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.
You do not have the required permissions to view the files attached to this post.
EA's are the best way to trade. Why? Because they take the emotion out of trading.
User avatar
fxdaytrader
Trader
Posts: 190
Joined: Sun Jun 10, 2012 7:03 am
Location: Poon-Town (germany, se-asia, se-europe) ...

Re: Help with EA, won't buy?

Post by fxdaytrader »

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
dietcoke
Trader
Posts: 162
Joined: Tue Nov 15, 2011 9:59 pm

Re: Help with EA, won't buy?

Post by dietcoke »

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?
User avatar
remix919
Trader
Posts: 91
Joined: Wed Jan 23, 2013 2:42 am
Location: Some Road in the USA

Re: Help with EA, won't buy?

Post by remix919 »

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).
EA's are the best way to trade. Why? Because they take the emotion out of trading.
User avatar
remix919
Trader
Posts: 91
Joined: Wed Jan 23, 2013 2:42 am
Location: Some Road in the USA

Re: Help with EA, won't buy?

Post by remix919 »

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?
EA's are the best way to trade. Why? Because they take the emotion out of trading.
Post Reply

Return to “Coders Hangout”