Download MetaTrader 5

Help, trying to make my ea

To add comments, please log in or register
LanceHardwood
36
LanceHardwood  

ive been trying to make this expert advisor for quite a while now and i keep on getting errors(error 130, 129) and  the program doesnt save the values of the price.

Biantoro Kunarto
16142
Biantoro Kunarto  
Hi, please show me your code.
Roberto Jacobs
47996
Roberto Jacobs  
LanceHardwood:

ive been trying to make this expert advisor for quite a while now and i keep on getting errors(error 130, 129) and  the program doesnt save the values of the price.

Error Invalid Price and Invalid Stop, usually occurs because of the open price (Ask or Bid) has expired, and the distance between the open price and the stop loss is less than StopLevel.
Try to read "MetaEditor Reference" about the Symbol Properties, Market information identifiers, used with MarketInfo() function.
Stuart Browne
6038
Stuart Browne  
Roberto Jacobs:
Error Invalid Price and Invalid Stop, usually occurs because of the open price (Ask or Bid) has expired, and the distance between the open price and the stop loss is less than StopLevel.
Try to read "MetaEditor Reference" about the Symbol Properties, Market information identifiers, used with MarketInfo() function.
Can also be because some of the variables haven't been Normalized
Roberto Jacobs
47996
Roberto Jacobs  
Stuart Browne:
Can also be because some of the variables haven't been Normalized
Yes, you are very right mate.. ^_^
I think he already knew about normalized.
To add comments, please log in or register