HOW TO SET SL BASED ON INDICATOR?
-
I am using supertrend for my entry and exit strategy. I want to set my SL to buffer 1, which is the line but after several days of figuring how to do it, I still cant get it work. I have already trade custom price level on Buy Now block and even getting the value of buffer 1, storing it on a variable and assigning the variable to sl but still now working. I'm tired now. Please help.
-
What do you mean to set your SL at buffer1 between;
- buffer 1 of Candle ID 0 at your Buy Now Block
- buffer 1 of Candle ID 1 at your Buy Now Block
- buffer 1 of Candle ID 0 after your Buy Now Candle
- buffer 1 of Candle ID 0 at your Buy Now Block then always move it to buffer 1 of next Candle ID0 for every new Candle
or...... etc.
and to make other people understand you better, please also share your project here.
-
Here's what I am trying to do sir.

I want my SL to be set on the line given by the indicator.
Here's what I have tried doing so far.
- Using Custom price level on the Buy/Sell block. I have selected "My indicator" then set the SL value to Buffer 1 of candle 1.
- Using modify variables. I have tried storing the value of Buffer 1 Candle 1 to a variable and assign it to SL.
-
I too have face the same issue can you please help me out with more insights.
-
@aaronjohn0530 it would be useful if you shared your project, or at least the interested part
-
@aaronjohn0530 as @ambrogio said and my explanation in the first reply, please cut and paste your project to be small on show only the discussing part here.
Else I could only guess that you may connect your block in the wrong order or store the variable in the wrong sequence.
-
Try this, put the buffer value into a comment, then when you can visually check that the returned value matches, create SL using indicator buffer
-
@Xeta50 hello sir this is what I have so far. https://fxdreema.com/shared/loKhlm7qd
-
@ambrogio hello sir here's my project https://fxdreema.com/shared/loKhlm7qd
-
@jstap will do. thank you!
-
@aaronjohn0530 said in HOW TO SET SL BASED ON INDICATOR?:
@ambrogio hello sir here's my project https://fxdreema.com/shared/loKhlm7qd
see my previous answer and find the difference

https://fxdreema.com/forum/topic/20294/how-to-set-sl-on-supertrends-buffer-1/5?_=1716226570775
