vdubus

Vdub_Tetris_V0

6981 views
1217
6981 23
Still in test mode
**UPDATE to include colour background BUY / SELL SIGNAL *** -
Double channel with double conformation of pivot / trend reversal
I have a similar concept to this running on MT4 which works quite well together.
Both channels can be customised by changing minutes, D , W , M
I haven't been able to test this out so feel free to do so yourself

Plz not that Im not a coder, But Im learning :)
The base of this code came from @RicardoSantos fib monthly ranges which I stripped out & modified and incorporated zigzag

Clean chart

Remove from Favorite Scripts Add to Favorite Scripts
study("Vdub_Tetris_V0", overlay=true)
Sml_Channel_TF_mins_D_W_M = input("D")
Range = input(1)

SELL = security(tickerid, Sml_Channel_TF_mins_D_W_M, highest(Range))
BUY = security(tickerid, Sml_Channel_TF_mins_D_W_M, lowest(Range))

HI = plot(SELL, color=SELL!=SELL[1]?na:red,linewidth=4 )
LO = plot(BUY, color=BUY!=BUY[1]?na:green,linewidth=4 )
fill(HI, LO, color=aqua, transp=75)
Hcon = high >= SELL
Lcon = low <= BUY

plotshape(Hcon, style=shape.triangledown, color=maroon, location=location.abovebar, text='SELL')
plotshape(Lcon, style=shape.triangleup, color=green, location=location.belowbar, text='BUY')
range = SELL-BUY
//--------------------------------------------------
Lrg_Channel_TF_mins_D_W_M = input('W')
M_HIGH = security(tickerid, Lrg_Channel_TF_mins_D_W_M, high)
M_LOW = security(tickerid, Lrg_Channel_TF_mins_D_W_M, low)
plot(M_HIGH, color=M_HIGH != M_HIGH[1] ?na:fuchsia, style=line, linewidth=2)
plot(M_LOW, color=M_LOW != M_LOW[1] ?na:fuchsia, style=line, linewidth=2)
//--------------------------------------------------
length = input(2)
hls = rma(hl2, length)
isRising = hls >= hls[1]

zigzag1 = isRising and not isRising[1] ? lowest(length) :  not isRising and isRising[1] ? highest(length) : na
plot(zigzag1, color=black)

Zigzag2 = input(true)
zigzag = Hcon ? high : Lcon ? low : na
plot(not Zigzag2 ? na : zigzag, color=red, style=line, linewidth=3) 

//-----------------------------------------------
//-----------------------------------------------



Related Ideas

Hello, tell me how exactly is the name of your indicator in MT4
Reply
it s just amazing for short period trade but guess t s not suitable higher time frame. Have you ever noticed that and worked on it?
Thanks million times
Reply
vdubus fatih_er
@fatih_er, Thank you. I have evolved slightly on this concept lol I wrote a post over on forex factory describing the fundamental basis & rule set of my strategy. The rules can be applied to any time frame or market https://www.forexfactory.com/showthread.php?t=612642

For smaller times frames I prefur to switch to stoch
Same rule set using 1 min chart
https://drive.google.com/open?id=0BxZa2n8Rjge4cjRpYU5JRkZIcTQ
Reply
fatih_er vdubus
@vdubus, thx alot. I am a big fan of RSI and I guess, RSI and BB% have almost same result. Regarding Periods, I got a solution to change smallest and largest time frame. Just last question, is there any way to use minutes? Because when I try to write mins, Mins or Minutes, it gets an error.

Best. BTW, do u use tweeter?
Reply
vdubus fatih_er
@fatih_er, just enter number of minutes ie. 5, 30 , 60 etc I am on twitter but don't really use it. I tend to use facebook more. RSI, bb%, cci stc are basically all the same https://www.forexfactory.com/attachment.php?attachmentid=2050663&%3Bd=1477625248
Reply
fatih_er vdubus
@vdubus, u re just great! thx one more times
Reply
fatih_er fatih_er
@fatih_er, btw, I use Vdub_Tetris_V0 and I couldn't find a newest version with numbers? Which one of your indicators do you suggest to use for pivots? If Vdub_Tetris_V0 is the better ones, is it possible to adding that code parts on it , please?

Reply
Lyiness fatih_er
@fatih_er, Hello. Enter it for minutes in numbers. For a minute (1) for 30 minutes (30) then it works;)
best regards
Reply
Lyiness vdubus
@vdubus, Here is my setup. it works brilliantly.
thank you for your indicators.
You are a brilliant person ;)

Reply
lhw21232 fatih_er
@fatih_er,

Hi, fatih_er

I read your comment on the script, vdub_Tetris_V0

You said Tetris is amazing for short time frame trade.

I want to ask you how to use Tetris.

I mean the condition (parameter setting, time frame and which trade (stock, crude oil, gold, etc.)).

Please answer me. I want to also use Tetris rightly.

Thank you.
Reply
Home Stock Screener Forex Screener Crypto Screener Economic Calendar Shows How It Works Chart Features Pricing House Rules Moderators Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Help Center Refer a friend Feature Request Blog & News Twitter
Profile Profile Settings Account and Billing Refer a friend My Support Tickets Help Center Ideas Published Followers Following Private Messages Chat Sign Out