How It Works Chart Features House Rules Moderators For the WEB Widgets Stock Charting Library Feature Request FAQ Help & Wiki Twitter

# Vdub Renko Sniper VX1 v1

11293 32
Modified Vdub FX SniperVX2 Color v2 for use with Renko Bars

Sniper series

```//╭╮╱╱╭╮╭╮╱╱╭╮
//┃╰╮╭╯┃┃┃╱╱┃┃
//╰╮┃┃╭┻╯┣╮╭┫╰━┳╮╭┳━━╮
//╱┃╰╯┃╭╮┃┃┃┃╭╮┃┃┃┃━━┫
//╱╰╮╭┫╰╯┃╰╯┃╰╯┃╰╯┣━━┃
//╱╱╰╯╰━━┻━━┻━━┻━━┻━━╯
//╭━━━┳╮╱╱╱╱╱╱╱╭╮
//┃╭━╮┃┃╱╱╱╱╱╱╱┃┃
//┃┃╱╰┫╰━┳━━┳━╮╭━╮╭━━┫┃
//┃┃╱╭┫╭╮┃╭╮┃╭╮┫╭╮┫┃━┫┃
//┃╰━╯┃┃┃┃╭╮┃┃┃┃┃┃┃┃━┫╰╮
//╰━━━┻╯╰┻╯╰┻╯╰┻╯╰┻━━┻━╯
//━╯
//Vdub Renko SniperVX1 v1 // ATR Setting = 1
study("Vdub Renko SniperVX1 v1", overlay=true, shorttitle="Vdub_Renko_SniperVX1_v1")
//===================Candle body resistance Channel==================//
len = 34
src = input(close, title="Renko Channel")
out = sma(src, len)
last8h = highest(close, 13)
lastl8 = lowest(close, 13)
bearish = cross(close,out) == 1 and falling(close, 1)
bullish = cross(close,out) == 1 and rising(close, 1)
channel2=input(true, title="Renko Channel On/Off")
ul2=plot(channel2?last8h:last8h==nz(last8h[1])?last8h:na, color=black, linewidth=1, style=linebr, title="Renko Channel top", offset=0)
ll2=plot(channel2?lastl8:lastl8==nz(lastl8[1])?lastl8:na, color=black, linewidth=1, style=linebr, title="Renko Channel bottom", offset=0)
fill(ul2, ll2, color=fuchsia, transp=90, title="Renko Channel")
//=============================================================//

// Moddified [RS]Support and Resistance V0
RST = input(title='Renko Channel length', type=integer, defval=1)     // color zone length
RSTT = valuewhen(high >= highest(high, RST), high, 0)
RSTB = valuewhen(low <= lowest(low, RST), low, 0)
RT2 = plot(RSTT, color=RSTT != RSTT[1] ? na : red, linewidth=1, offset=+0)
RB2 = plot(RSTB, color=RSTB != RSTB[1] ? na : green, linewidth=1, offset=0)

//--------------------Trend colour ema------------------------------------------------//
src0 = close, len0 = input(5, minval=1, title="EMA 1")
ema0 = ema(src0, len0)
direction = rising(ema0, 2) ? +1 : falling(ema0, 2) ? -1 : 0
plot_color = direction > 0  ? lime: direction < 0 ? red : na
plot(ema0, title="EMA", style=line, linewidth=1, color = plot_color)
//--------------------Trend colour ema 2------------------------------------------------//
src02 = close, len02 = input(8, minval=1, title="EMA 2")
ema02 = ema(src02, len02)
direction2 = rising(ema02, 2) ? +1 : falling(ema02, 2) ? -1 : 0
plot_color2 = direction2 > 0  ? lime: direction2 < 0 ? red : na
plot(ema02, title="EMA Signal 2", style=line, linewidth=1, color = plot_color2)
//
//--Modified vyacheslav.shindin-------------------------------------------------//           Signal 1
//Configured ema signal output
fast = input(5, minval=1, title="Short Signal Generator")
slow = input(8, minval=1)
vh1 = ema(highest(avg(low, close), fast), 5)
vl1 = ema(lowest(avg(high, close), slow), 8)
//
e_ema1 = ema(close, 1)
e_ema2 = ema(e_ema1, 1)
e_ema3 = ema(e_ema2, 1)
tema = 1 * (e_ema1 - e_ema2) + e_ema3
//
e_e1 = ema(close, 8)
e_e2 = ema(e_e1, 5)
dema = 2 * e_e1 - e_e2
signal = tema > dema ? max(vh1, vl1) : min(vh1, vl1)
is_call = tema > dema and signal > low and (signal-signal[1] > signal[1]-signal[2])
is_put = tema < dema and signal < high and (signal[1]-signal > signal[2]-signal[1])
plotshape(is_call and direction > 0 ? 1 : na, title="BUY ARROW", color=green, text="*BUY*", style=shape.arrowup, location=location.belowbar)
plotshape(is_put and direction < 0 ? -1 : na, title="SELL ARROW", color=red, text="*SELL*", style=shape.arrowdown)
//
//Modified - Rajandran R Supertrend----------------------------------------------------- //       Signal 2
Factor=input(1, minval=1,maxval = 1000, title="Trend Transition Signal")
Pd=input(1, minval=1,maxval = 1000, title="Period")
Up=hl2-(Factor*atr(Pd))
Dn=hl2+(Factor*atr(Pd))
TrendUp=close[1]>TrendUp[1]? max(Up,TrendUp[1]) : Up
TrendDown=close[1]<TrendDown[1]? min(Dn,TrendDown[1]) : Dn
Trend = close > TrendDown[1] ? 1: close< TrendUp[1]? -1: nz(Trend[1],0)
plotarrow(Trend == 1 and Trend[1] == -1 ? Trend : na, title="Up Entry Arrow", colorup=lime, maxheight=1000, minheight=50, transp=85)
plotarrow(Trend == -1 and Trend[1] == 1 ? Trend : na, title="Down Entry Arrow", colordown=red, maxheight=1000, minheight=50, transp=85)
//
//===============================Directional Projection=======================================//
//=============Hull MA//
show_hma = input(true, title="Display Hull MA Set:")
hma_src = input(close, title="Hull MA's Source:")
hma_base_length = input(8, minval=1, title="Hull MA's Base Length:")
hma_length_scalar = input(5, minval=0, title="Hull MA's Length Scalar:")
hullma(src, length)=>wma(2*wma(src, length/2)-wma(src, length), round(sqrt(length)))
plot(not show_hma ? na : hullma(hma_src, hma_base_length+hma_length_scalar*6), color=black, linewidth=3, title="Hull MA")
//===============================================
//
fill(ul2, RT2, color=red, transp=75, title="Fill")
fill(ll2, RB2, color=green, transp=75, title="Fill")
////////////////////////////////////////////////////////////////////////////////////////////```
Another great addition! I wonder if it is possible to code an alert when then Renko color changes then we are on the alert to watch for the Buy / Sell?
Alphaoptions
Thank you :) Alerts aren't available for it as yet. Something i'd have to look in to
It simplifies the Bitcoin monthly chart since the year 2011 ... a lot :)

ChartArt
haha well you got an arrow at least
really interested in using this! Just started researching Renko bars 2 weeks ago, bit of a noob question, do i just copy and paste this script in the pine editor and save?

kind regards

practiceforex
click the star on the right hand side of the code and it'll be save in your indicator favourites
What Renko settings do you like to use - and if different ones for different instruments please advise so we can follow along.
Alphaoptions
I don't trade Renko on here it's not available for pro user on short tf's Think you need to be a Pro Pro user lol I have to use in MT4 where I use Mean Renko bars which is what my strategy is based around
http://www.vdubus.co.uk/strategies.html
vdubus
Hello - I am asking if this can be written for Ninja Trader? Can you translate the MT4 to Ninja Trader code? Thanks.
JRG
Something I maybe looking into doing in the near future
vdubus
It would be fantastic to have on Ninja as well as TradingView!
Sorry for a possibly stupid question, but how can i use this in my charts and is it possible to use it in MT4 platform ?
MrTDragonov
click the 'Add to favourites' star at the top of the code, then go to indicators on your chart - Favourites.
vdubus
Hello, can you tell when entering please
qw1est
sorry I thought that the arrows go after
how to run this chart sir ?
hullma(src, length)=>wma(2*wma(src, length/2)-wma(src, length), round(sqrt(length))) Hi, what the symbol => means on this code? Thanks.
Do you have a thinkscript version of this? Thanks.
good one vd
GcNaif
first full day of trading with renko sniper, 12 wins, only 3 losses. One question, I set the ATR to 1 on my charts, to double check my charts I had 2 open at 1 minute time frames one chart said the other chart said I have spent the past month studying renko, and I noticed in your example for pound/yen you have I do not see where I can make the adjustment unless the .31 is strictly relative to pound yen, but I don't understand why I would have .001 on one usd/jpy chart and .006 on another with the exact same setup.

Thanks for your work on the script and making it available in the public library. This was one of my best win loss trading days. I am not new to fx, but I am completely new to renko charts.
beaubeau
guess chart just needed to be refreshed
beaubeau
ave to be honest I've never traded this indicator so I can't really help. If you like Renko you may also be interested in this one I use on MT4 http://www.vdubus.co.uk/strategies.html
vdubus
Thanks, I will have a look at it, appreciate the response.
beaubeau
NP. :) Just open a chart, load up the vdubus_channel template and everything should load up fine.
vdubus
Can you provide a link to the mean renko trial verson chart for mt4
beaubeau
indicators here are for Tradingview chart only
vdubus
I know, I have renko bars loaded up in mt4, for some reason, I have a very limited time frame, i thought you might have a link to a better renko trial version, but I guess they are all the same really. I have your indicator loaded into mt4 as well.
beaubeau
Change the brick size. Your better of asking the author of the Mean Renko https://ovo.cz/products/offline-charts-for-mt4/mean-renko-bars/
vdubus
got it all together now. cheers!
vdubus
@vdubus,
Can u share a new link?
This one does not work anymore
hi,

I used VDUB RENKO SNIPER VX1 V1 for Binary Option 60 Sec Trading, Following is the strategy I used with result

I conduct a test for 1 hour using VDUB RENKO SNIPER VX1 V1

|||| STRATEGY:

Whole concept of this strategy is following Trend,

1) On 1 min Chart

Look for a Trend following with a large arrow, Lets take example of a down trend

2) Look for Down Trend
3) Wait for SELL signal

In this stage do not SELL until you see a SELL signal even though you will see continues down trend still don't SELL until you see a SELL signal whole concept of this strategy is to be on Safe side and follow trend.

While checking for SELL signal you might see some BUY signal even though the TREND is DOWN, just ignore them as you are currently looking for DOWN TREND / SELL SIGNALS.

4) PUT once you see a SELL signal ( Idol time for placing Trade would be 20-10 prior to PURCHASE TIME)

So yeah this is the whole strategy I use to check this indicator for BINARY OPTION 60 SEC TRADING.

||| RESULTS:
=> Wins: 14
=> Loss: 8

85% Was the Winning profit

=> Consecutive Loss: 1

This strategy is still in profit but not as much as it should be But the thing that should be noticed is the Consecutive loss figure, which is just 1 so maybe if we double up the amount when we lose the trade there is possibility of getting higher payout.

I haven't tried it yet, Maybe by tomorrow, ill test and post it here. the other thing is I couldnt calculate the profit, lol not really good in math, each trade was of \$10 and winning amount per winning trade was 85% then according to my above winning ratio can any body demonstrate the profit?
Looks pretty good to me. Thank you. Quick question, does this repaint?
United States
United Kingdom
India
España
France
Italia
Polska
Brasil
Россия
Türkiye
Indonesia

한국
Home Stock Screener Forex Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators For the WEB Widgets Stock Charting Library Priority Support Feature Request Blog & News FAQ Help & Wiki Twitter