
05-06-2008, 06:47 AM
|
|
Senior Member
|
|
Join Date: Feb 2007
Posts: 716
|
|
Quote:
Originally Posted by daet
I have not yet managed to test the amended EA but i do often come across the "order 130) error on other EA's and not sure what it is. It appears that the EA cannot trade at a given price, perhaps something to do with the spread etc, but i have no clue.
Any explanations, experts...?
|
Here's the explanation of the error 130:
Stops are too close, or prices are ill-calculated or unnormalized (or in the open price of a pending order). The attempt can be repeated only if the error occurred due to the price obsolescense. After 5-second (or more) delay, it is necessary to refresh data using the RefreshRates function and make a retry. If the error does not disappear, all attempts to trade must be stopped, the program logic must be changed.
Hope that helps.
FerruFx
__________________
THE HEART of FOREX & THE PROBABILITY METER - Trade with 100% confidence and ... Stress Less!!!
Coding services: Experts Advisors, indicators, alerts, etc ... more info by PM
NEW: video presentation of the Probability Meter ... 24hrs action on the website
|