View the S/L value of an oscillator on the price chart
-
Hello everyone.
I'm creating a basic Expert Advisor (EA) where, for example, I open a buy position when the previous momentum indicator candle crosses above 100. I've set the condition that if the momentum indicator value is less than 99.5, the position should be closed (it acts as the stop-loss). My question is: Is there a way to have this value, which I'm using as the stop-loss/limit, appear on the chart with the corresponding price? In other words, is the stop-loss line updating in real time?
I hope that's clear. Thank you very much.
-
let me tell you what i understood from you,
momentum indicator candle crosses above 100 the previous candle => buy now
momentum indicator candle value is 99.49 => close positionif that is the only closing condition there will not be a SL based on a price level because the actual SL level is 99.49 of the indicator
-
Hi KLG. That's right. It turns out that some brokers with funded accounts increase a trader's score if they can see the stop-loss (S/L) position on the chart. As you know, the way I do it, that level (the dynamic S/L line) isn't visible.
-
if you want to place a SL to show to the broker but you don't want it to be the main condition of closing the trade you can use the modify SL blocks to keep distance between the price line and the SL level ( there is 2 SL modify blocks in FXdreema)
1- you place a SL when the position is placed in a specified distance
if the buy position goes up the SL should stay on the original level until the trade is closed by the indicator "no SL modify is applied"2- if the price level is going down toward the SL line the SL modify block will keep a distance between the Price line and the SL level until the trade is closed by the indicator
-
Okay, I understand what you're saying, thank you very much (and it's a good, functional solution so the broker can see the stop-loss level).
But do you know of any way to translate the oscillator value (any oscillator) to the equivalent price level and display it on the chart? Thanks again.
-
@REALMENTORING I know there is a way to convert ATR score to a price value but i haven't work on it before
you can check the post below maybe you will come up with an idea from it
https://fxdreema.com/forum/topic/12802/atr-pips