TradingView
Hitman007
18 nov. 2016 06:37

DayOfWeek_Crypto 

Monero / BitcoinPoloniex

Description

BTC $$$ Profit: Strategy-Highlights Days Of The Week
Commentaires
cryptowelt
hi.. thank you for your work.. i am trying to make the same but for each hour.. i mean.. for instance - i want to see only the candle of 2 pm can you help me.. how i have to do this?
Hitman007
STILL TRACKING...Comments welcome
Hitman007
Also - Copy and paste the day of week indicator script to identify trend reversals on "X" days (within your target market)
bobescoBAR
@Hitman007, how can i copy the script? i cannot find it
Hitman007
@Bobras,

//Created By Hitman007 (Reference ChrisMoody) on 18NOV2016
//Colors Bars for CryptoCurrencies Monday-Sunday
study("DayOfWeek_Crypto", overlay=true)
disMon = input(false, title="Highlight Monday?")
disTue = input(false, title="Highlight Tuesday?")
disWed = input(false, title="Highlight Wednesday?")
disThur = input(false, title="Highlight Thursday?")
disFri = input(false, title="Highlight Friday?")
disSat = input(false, title="Highlight Saturday?")
disSun = input(false, title="Highlight Sunday?")


isMon() => dayofweek == sunday and close ? 1 : 0
isTue() => dayofweek == monday and close ? 1 : 0
isWed() => dayofweek == tuesday and close ? 1 : 0
isThu() => dayofweek == wednesday and close ? 1 : 0
isFri() => dayofweek == thursday and close ? 1 : 0
isSat() => dayofweek == friday and close ? 1 : 0
isSun() => dayofweek == saturday and close ? 1 : 0


barcolor(disMon and isMon() ? (isMon() ? yellow : na) : na)
barcolor(disTue and isTue() ? (isTue() ? fuchsia : na) : na)
barcolor(disWed and isWed() ? (isWed() ? gray : na) : na)
barcolor(disThur and isThu() ? (isThu() ? orange : na) : na)
barcolor(disFri and isFri() ? (isFri() ? aqua : na) : na)
barcolor(disSat and isSat() ? (isSat() ? blue : na) : na)
barcolor(disSun and isSun() ? (isSun() ? white : na) : na)

Plus