kashinme

Renko on Candlesticks

166 просмотров
11
This script drowse renkoboxes on top of candlesticks . This script does not repaint and can be used for alerts generation. If you add Renko to the same chart using security function it won't be the same (which seems to be a bug in TV). To check if my implementation is correct you can open Renko in a separate window and check timestamps.
Unlike standard implementation, when you use ATR based Renko bars, every box can have different size! The current ATR is applied after every bar. The standard implementation takes the current ATR value and applies it to the whole chart, so the chart may look totally different when you reload the page.
Информация о релизе: This update introduces multiplier for every Renko box. Since candlesticks is a timebased chart and Renko is not, it is possible that one candlestick generates more than one box. If you build a Renko based strategy, you definitely want to know when there''s just a new box and when there's a movement across multiple boxes
Информация о релизе: bug fix: Renko box created by rapid movement was multiplier times size which is not correct.
Информация о релизе: Another milestone achieved, the script can now optionally calculate Renko MA (for the time being it's a simple moving average of box waists). Other MA options (both types and sources) are yet to come. The first task right now is to make it volume weighted. And yes, I trade crude oil on FORTS, so it should be possible to get volume data from other tickers as well!
Удалить из избранных скриптов Добавить в избранные скрипты

Комментарии

I realised that the MA is slightly different in compare with what would have been drawn on the standard TV Renko chart. The difference is that when a strong price action occurs within the chart timeframe that covers multiple boxes, the standard chart would draw all these boxes and consider all of them during calculation. I can implement the same behaviour using the multiplier value introduced on Dec 6 but I need sometime now to consider if it is better. The main culprit now is that for volume weighted line it won't be possible to apply an adequate weight to such rapid movements.
Ответить
The next step is to calculate the moving average (and vwma is of a special interest since Renko ignores volumes). Either I'm yet bad at pine script or there's no simple solution since the rvwma (Renko volume weighed moving average) must not be updated on every candle but only when a new box appears. Stay tuned!
Ответить
Домой Скринер акций Скринер форекс Скринер криптовалют Экономический календарь О проекте Особенности Цены Приведи друга Правила поведения Справочный центр Решения для сайтов и брокеров Виджеты Графики TradingView для сайтов Легкая версия графиков Блог и новости Твиттер
Профиль Настройка профиля Счёт и оплата Ваши друзья Монеты Мои запросы в поддержку Справочный центр Опубликовано идей Подписчики Подписки Личные сообщения Чат Выйти