[WARNING CLOSED!] Any newbie question, so as not to clutter up the forum. Professionals, don't go by. Can't go anywhere without you. - page 580
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
А я в форексе не силён.....как учитывается спред?
The difference between the best buy (bid) and sell (ask) prices at the same moment in time - i.e. supply and demand. If you make a Buy trade on forex, you buy at the Bid price, and when you close the order, you sell at the Ask price, the difference between the Bid and Ask and will be the value of the spread, usually from 2 to 6 pips for different currencies and in different brokerage companies
I think this is accounted for in the code, in OrderSend the bid with the ask is prescribed:
А я в форексе не силён.
Futures is not forex.
How is the spread taken into account?
It is usually deducted.
Фьючерсы -- это не Форекс.
OK mates - help. Here is the specification of the contract:
What/how do I need to consider?
The cost of the tick and the size of the tick -- that's where the problem lies.
I mean, what you get is: A "pip" is five ticks. Five ticks (one "pip" in forex terms) cost 3, roughly speaking, rubles.
That is, the discretization (right?) is not 1:1, but 1:5 for one minimal change of price.
In general, it is better to wait for the older comrades.
Good afternoon. Problem with Trailing Stop.
Not quite correctly modified orders. It turns out that the stop loss level follows the price regardless of price movement.
Let's say we open a buy order. The price grows, trailing stop triggers and stop loss is pulled up. Then the price moves in the opposite direction and the order is not closed,
The order is not closed and is modified and the stop loss level is lowered. As the result the deal becomes unprofitable, although it was opened in the right direction.
I supposed that this is prevented by check if( Bid-OrderOpenPrice()>Point*TrailingStop) but it seems to be wrong. What do you advise?
Доброго времени суток. Проблема с Trailing Stop'ом.
Не совсем корректно модифицируются ордера. Получается так,что уровень Stop Loss следует за ценой независимо от движения цены.
Допустим открывается ордер на покупку. Цена растет,срабатывает trailing stop и стоп лосс подтягивается. Потом цена пошла в обратном направлении,ордер не закрывается,
ордер не закрывается, а модифицируется и понидается уровень stop loss'a. В итоге сделка становится убыточной, хотя открылась она в правильном направлении.
Предполагал, что от этого предохраняет проверка if( Bid-OrderOpenPrice()>Point*TrailingStop ), но видимо это не так. Что посоветуете?