Need help ATR stop loss
-
Hi so I want my stop losses to be like this
Buys: Stop loss 3x the atr below the candle low
Sells: Stop loss 3x the atr above the candle highKey: I want the source based on the High/Low not the Close.
For example like this indicator here on Tradingview
!
How do I do this? -
Use the candle price, then in adjust put: + or - iATR(NULL,0,14,0);
-
@jstap Hi thanks for the reply but this hasn't worked for me, as you can see by where the stop loss is

This is the settings I put

-
Candle price custom level, not fraction
-
@jstap Hi thanks for the response again, so it has fixed it but the Stop loss is not being accurate for some reason.
In this real example the ATR value = 0.00228
1.27712 (Candle High) + 0.00228 (ATR value) should = 1.27940
But as you can see here in this image

My stop loss is 8 points below what it should be mathematically.This is my current settings

-
It is not my instructions that were wrong, it is not understanding how meta trader works. What I said is perfect as other posts you made have said.
-
@jstap There's the response that I wanted and you easily could've said instead of me having to make a whole new post and have to wait an extra 3 days just for a answer, so my question is how do I fix this from happening with Metatrader to have my values at the correct place?
-
This depends on whether this is the spread difference, then for example, you want to maybe stop if the spread is too high, adjust your position, or use a higher TF where the spread has less of an impact. The truth is what you want to do is whatever your situation requires.
-
@jstap Im on ICmarkets where the spreads is basically 0 so surely this shouldn't be happening, by the way all my testing is on the 1 Hour so not any low timeframes where spread affects the positions more
-
@jstap https://fxdreema.com/shared/oVr97FjPb test it and you will see
-
I can't in as much as this is exactly what I would do.
Your BE wants to be more like this: (basically eliminating ethe time filter and once per bar)

-
@jstap Its made the BE work but now its entering trades outside of my trading hours and even missing trades
-
Placing trades should only happen within the hours set by the block. Move the once per bar under the check positions, so it only activates once the condition is true.
-
@jstap Hi so its still entering outside my session as shown here a entry at 6 am when my hours is 10-23

-
Sells? connect both to orange
-
@jstap Damn now my EA is fully working thank you! Even helped my breakeven work now
-
You are welcome