StopLevel is a value in integer pips.
If the current execution price (Ask for Buy, or Bid for Sell) is within StopLevel pips of your new limit, stop, stoploss or takeprofit, the order will be rejected.
example:
Stoplevel = 10
Price = 1.5000 bid 1.5005 ask
Setting a new TakeProfit on long must be 1.5011 or greater, or a new StopLoss must be 1.4994 or less.
Setting a new TakeProfit on short must be 1.4994 or less, or a new StopLoss must be 1.5011 or greater.
This is a method available for the Dealer to prevent you from setting orders close to current price.
( I may be slightly confused on the exact values, but this is the basic idea. Test for your own satisfaction ).
Solution: Choose a dealer that does not implement this function, ie: Stoplevel == 0.
thank you very much
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
dear every one,
In don`t understand sur function:
MarketInfo(symbol():Mode_stoplevel))
what does it do?
thanks in advance