Reset transactions
-
Reset transactions
Hello friends, good time
I have a strategy based on, for example, the Bollinger band, and that is, if the close price is below the low band, it will be a buy for me, and my profit limit is 1/5 times my loss limit.
But the problem is that this condition may be fulfilled in 10 candles in a row and all 10 candles in a row are below the band.
And this bye is done for all 10 candles
But I want to bid only on the first candle that has my bet so that my bet is repeated again laterI worked a lot with variable and modify but I didn't manage to set up the transactions
Thank you for your guidance -
Add the logic of the condition for the last candle being not true.
-
i dont understand the question
-
@behnnod_rp Use a 'no trade' block for buys and another one for sells to avoid that.
-
@sktsec said in Reset transactions:
Add the logic of the condition for the last candle being not true
please expline more
-
-
@behnnod_rp
Conditon for buying is true for the current candle but false for the previous candle.That is all you need
-
@behnnod_rp No. I mean you can use a 'no trade' block before your 'buy now' block and then specify there that no buys are to be open. Same for the 'no trade' block above the 'sell now' block.