Binary Bot - Bollinger Band question
I am new here, and been playing with binary bot for the last few days. I am currently checking if the recent candle's close is greater than the upper band like below and it works correctly. I believe the bollinger band block gives only the value for the latest tick.
I would like to know how to check if 'nth' recent candle was greater than the upper band at that time of its close. Say I want to check if 3rd recent candle close was greater than the upper band at that time. Any help would be appreciated.
Comments
@charmx Hi, Sorry for late answer, you'll need to use "Bollinger Bands Array" block available under Binary -> Tools -> Indicators -> Advanced
You'll also need to use a "in list get" block available under Advanced -> List to read nth value returned from "Bollinger Bands Array".
If you can create a github issue, we'll discuss this further.
E.g.
Thanks for the reply @Amin Marashi , I thought I have tried the "Bollinger Bands Array" and it didn't seem to have worked for me the way I want. Anyway, I ended up creating a bot using C# which does the job now.