Alberto_jazz:
Placing of orders is governed by your StopLevel . . . see here: Requirements and Limitations in Making Trades
Hi all, is there the possibility that the broker does not accept a pending order if the price indicated is too
For instance, the ask price is 125.41 and I want to place a pending buystop @ 125.421, is this a valid request or not?
I don't see warnings or messages in the diary and in the expersts tab.
I noticed that when the price retrace, for instance @ 125.37 the order is placed, otherwise the order is not placed.
if((BuyStopEntryPrice-MarketInfo(Symbol(),MODE_ASK))/Point < MarketInfo(Symbol(),MODE_STOPLEVEL))
BuyStopEntryPrice+=MarketInfo(Symbol(),MODE_STOPLEVEL)*Point;
If you add something like this in your code you shouldn't have to worry about errors or the brokers stop level which may fluctuate.
BuyStopEntryPrice+=MarketInfo(Symbol(),MODE_STOPLEVEL)*Point;

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi all, is there the possibility that the broker does not accept a pending order if the price indicated is too
For instance, the ask price is 125.41 and I want to place a pending buystop @ 125.421, is this a valid request or not?
I don't see warnings or messages in the diary and in the expersts tab.
I noticed that when the price retrace, for instance @ 125.37 the order is placed, otherwise the order is not placed.
Thank you!