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
Baffle,
I can't figure out the reason.
Min stop on server 18 pips
message in the logbook:
trade open price = 1.07415
Stop Loss = 1.07389 = 26 pips
TakeProfit = 1.07441 = 26 pips
And still writes wrong stops.
Baffle,
I can't figure out the reason.
Min stop on server 18 pips
message in the logbook:
trade open price = 1.07415
Stop Loss = 1.07389 = 26 pips
Take Profit = 1.07441 = 26 pips
And still writes wrong stops.
Slipage= 2 spreads
that works out to 20 pips, more yes.
Slipage= 2 spreads
that works out to 20 pips, more yes.
So calculate - the slippage is more than the SL, TP set level.
To avoid this, I first open SL; TP=0 and then modify SL; TP= Ask-26*_Point
If not, min stop level should be calculated from the price +- Slipage.
Thank you. I'll ponder on the slippage - but I've never had such problems. the code has always worked, but after the penultimate build (since December) if you set the server min level to stops - it doesn't open and that's it.
Min stop on server 18 pips
Deal open price = 1.07415
Stop Loss = 1.07389 = 26 pips
TakeProfit = 1.07441 = 26 pips
But it still writes wrong stops.
Stop for buy should be counted from Bid price (at which it will trigger).
And you have only 16 pips from the SL to the Bid.
So what prevents you from pushing back the TP/SL when an error occurs? Catch an error - move the spread, catch it again - move it again...
So what prevents you from pushing back the TP/SL when an error occurs? Catch an error - move the spread, catch it again - move it again...
Nah, you have to guess it right the first time. The code should work without errors.)
Exactly
Stop for buy should be based on the Bid price (at which it will trigger).
And you have only 16 pips from the SL to the Bid.
The spread is counted there, the spread was 8 pips. + min stop 18=26 pips.
here at 27 everything is ok.
And further, if a person needs to put a stoploss for 100 pips, it means he will lose 100 pips, so for a BAY from the ASC price, you have to count 100 pips.
And for sell from Bid.
No, you have to guess right from the first time. The code should work without errors )
So how can you not guess? if the broker gives an unreasonable stop level? %)
...it's clear that after all the checks, you have to guess to know the minimum indentation.