TradingView
dman103
Jan 5, 2021 3:13 PM

Renko Strategy V2 

Bitcoin / U.S. dollarBitstamp

描述

Version 2.0 of my previous renko strategy using Renko calculations, this time without using Tilson T3 and without using security for renko calculations to remove repaint!
Seems to work nicely on cryptocurrencies on higher time frames.

== Description ==
Strategy gets Renko values and uses renko close and open to trigger signals.
Base on these results the strategy triggers a long and short orders, where green is uptrending and red is downtrending.
This Renko version is based on ATR, you can Set ATR (in settings) to adjust it.

== Notes ==
Supports alerts.
Supports backtesting time ranges.
Shorts are disabled by default (can be enabled in settings).
Link to previous Renko strategy V1: tradingview.com/script/KeWBWLGT-Renko-Strategy-T3-V1/

Stay tuned for version V3 in the future as i have an in progress prototype, Follow to get updated:
tradingview.com/u/dman103/

版本注释

Added working alerts.
Some title settings rearrangement.

版本注释

Simplified Time range selection in Settings (Thanks @spdoinkal)

版本注释

Converted to Pinescript 5.0
Minor code optimization.
评论
Terekidz
I like this! Thank bro 🤝
dman103
@Terekidz, Thanks, Appreciate it.
Shubh_aroma
can this be used for trading stocks and if yes what time frame for intra day trades
spdoinkal
Hey nice strategy, thought I'd mention that TV has now simplified the code needed for adding a backtesting date range:

tradingview.com/blog/en/new-parameter-for-date-input-added-to-pine-21812/

Simplifies 9 lines of code into 3:

i_startTime = input(defval = timestamp("01 Jan 2020 00:00 +0000"), title = "Start Time", type = input.time, group = "Date Range")
i_endTime = input(defval = timestamp("31 Dec 2021 23:59 +0000"), title = "End Time", type = input.time, group = "Date Range")

time_cond = time >= i_startTime and time <= i_endTime
dman103
@spdoinkal, Hey, thanks, I appreciate coding mentions :) I am aware of this date range simplification (used in one of my latest indicators), will do so on next update.
wuchen5580
Will this version be repainted?
bugsbunny110
Alerts is not working, can you help me?
bugsbunny110
Great Work. waiting for V3, please publish it as soon as possible. kindly consider brick size instead of ATR, you can make it as an option.
GytisMVP
I'm just curious how long have you been coding for?
coinspec
@dman103 Looks great. I just tried it on with renko chart and it seems to show better results. Anything to watch out with that method?
Looking forward to v3. Thanks
更多