Hi guys, Ive been trying a lot to come up with a strategy to get candles in renko style, however, i have failed so far and it seems like a humongous task to derive the candles on my own. Is there an easier way to get them as is on Kite Web ?
This is the psuedo code I've come up with (to help others): If price goes up by 5 points from open , GREEN BRICK. { Now, from here, if price goes up by 5 points from the highest point, GREEN BRICK, Else, down by 10 points from lowest point, RED BRICK, Else do nothing. }
If price goes down by 5 points from open, RED BRICK { Now, from here, if price goes up by 10 points from the lowest point, GREEN BRICK, Else, down by 5 points from lowest point, RED BRICK, Else do nothing. } And continue
I know ( @sujith@Kailash@tonystark ) that this isnt the right question to ask you guys, but if you could point me to the right direction, it will be very helpful since you've been great and extremely helpful with other errors in the past. Need help. Read up on over 200+ links online, still not able to come up with a formula for the candles like Heiken Ashi [ Close = (Open Price + High + Low +Close) / 4 ]and so on.
Also, tried using Selenium + CasperJS or Ocular (as mentioned on the link mentioned here: Selenium Automation - Charts ) so that I can just pick the bricks from the Kite Web Renko charts itself, but it doesnt seem like an appropriate idea, hence I thought it would be better to ask our Kite Dev community. Please help
Please help
You can check out this blogpost for more information about Renko.