here is in mt5, with indicator, test looks like dream, somehow I don't think so. Try it on gold, 2 Min, demo,ecn or raw account, use defeault settings, low spread is mandatory, high spread is no,no.Please don't ask me for mt4 file, I've stopped using mt4 while back. EA has no restrictions, no expiry,no demo lock, if one finds good settings please post.TMA CG FAST indicator is option, rest are just convinience.Pls don't ask non-sense questions, use ea at your own risk.
Pending orders fail on live account (10015 invalid price / 10016 invalid stops) but work on demo — need a minimum-distance buffer
Hi,
I'm using FadeScalper on XAUUSD M2. I run it on two accounts at the same broker (one live, one demo), same terminal, same symbol spec: 2 digits, point 0.01, stops level 0, freeze level 0, market execution, spread around 8 points.
On demo everything is fine. On live I keep getting:
- retcode 10015 invalid price when placing SELL STOP pending orders
- retcode 10016 invalid stops when the trailing stop tries to modify SL/TP
I captured the raw ticks around one failure. The order was sent at 4157.78 while the bid was 4157.79 (only 1 point away). About 90 ms later the bid had dropped to 4157.45, so by the time the server checked it the SELL STOP was around 33 points above the market — which is illegal for a sell stop, hence 10015. The trailing 10016 has the same cause: the SL/TP end up too close to, or across, the moved price.
It looks like the entry offset (EntryOffsetPips, default 1 = 0.01) and the trailing distance (TrailDistPips, default 10 = 0.10) are too tight for a live, fast XAUUSD feed. Demo is smoother, so a 1-point offset just barely survives.
Could you please:
1. enforce a minimum distance when placing and modifying orders, e.g. max(stops level, freeze level, spread) plus a buffer, and
2. re-read a fresh price right before sending instead of using a cached/bar value, and
3. retry once on 10015/10016 instead of dropping the signal.
As a workaround I had to raise EntryOffsetPips to about 25 and TrailDistPips to about 30 to make it usable on live.
Thanks.