A free Copy and paste TradingView Script to see when patterns repeat

in #bitcoin7 years ago

I made this for all of my crypto friends. enjoy

Copy and paste the code in the Pine Editor of your trading view to see time patters. you can change the time periods. (the defaults are 14 hours with the pick at 30 minutes, and the long ranger minutes at 15 minutes). I hope this helps. please remember to buy me a drink if this works out for you and I will continue to work and share awesome code with all of you.

(All donations and gratuities go towards helping my dad keep his house):

buycryptopig timing when things are happening pine script example.png

Edit the time frame to see what happens every hour and every minute of your choice (default 14 hours with a 30 min and single 5 minutes smaller pics.

edit the time frame to see what happens every hour and every minute of your choice.GIF

THIS IS THE CODE BELLOW (copy and paste):
//@version=3
study("buybuypig timming when things are happening")
showmetime(hours,minutes)=>
hset=hour==hours
mset=minute==minutes
[hset,mset]

//default is 14 hours and 30 minutes but it can be adjusted
hourtoadd1 = input(14, title="Hour A")
minutetoadd1 = input(30, title="Minute A")

[hset,mset]=showmetime(hourtoadd1,minutetoadd1)
plot(hset?.5:0)
plotchar(hset?minute==minutetoadd1?1:0:0, text='H A', location=location.belowbar, char='A')
//plot(hset?mset?1:0:0)

plot(hset?minute==minutetoadd1?1:0:0)
//plotchar(hset?minute==minutetoadd1?1:0:0,text='a', location=location.belowbar, char='ma')
//plot(mset?1:0)
//plotchar(minute==minutetoadd1?hset?0:1:0, text='a', location=location.belowbar, char='ma')

//default for the minutes
minutetoadd2 = input(15, title="Minute B")
msetb=minute==minutetoadd2

plot(msetb?0.1:0)

//END of the code


XLM no tag:
GBKPCIDA3AKQLBPNEGAB6XHSGMHPIDLAHTYASCKFNYBXUZHWECSRSPKT

XRP (Xrappid) no tag:
rLTiKXWgiBTGowH4JwAYM9nXoSi7Qd1zCb

NEO
AH9G9WRGTvUCHqbviLzjUpxmpVhj9TMXkT

ETH and all ETH tokens too.
0x9c8dC700473D5E8Ad8A00b347424D139DA103587

BTC
1BnnaxgFSCZChHHJnkyhVLQPaMpVzNvrgE

LTC
LKUxWvVZUshMBUkHrKbSVuBJCzzqTBd5tV

BCH
bitcoincash: qpm95pmt7dqtw4py6fkvqzw24xvmaxcte5ml2uagrc

Sort:  

Hey guys place a tab in line 4,5 and 6 when you past the code as it will give you an error if not. take care, if any of you has any questions. let me know

Hi, thank you for contributing to Steemit!

I upvoted and followed you; follow back and we can help each other succeed :)

P.S.: My Recent Post

Loading...