Bollinger bands problem for cross band(solved)
-
Hello everybody
I closed buy positions when candle crosses the upper band but I want open position again after candles have space from the upper band.
I use more option as (open, close, high, low, total size, body size ) for condition and check when candle 1 below the upper band.but I have a bad loop for open and close position til call margin :))
how can help me?
sorry my English isn't goodthank you

-
It depends on your current conditions. Can you please share your project to take a look at it?
-
@l-andorrà
finally, I fixed it.
my first position with another block had a problem with this condition, I should use 0 for candle id for the current condition.thank you.
-
You're welcome.
-
@l-andorrà can you say me please how should set options for just touching a band for" true" dont need crossing?
I hope you understand me
-
Not sure I fully understand you but I guess you're asking for this:

If you specify candle ID 0 as soon as Ask hits the upper band (for a buy) the condition will be true. Replicate it for a sell.
-
@l-andorrà that is a very good idea. check by price is very better.
thank you so much -
You're welcome.
-
I have tried this but with no success. It will not take profit at Upper band or lower band level
-
@drewliedadeuce What do you exactly need?