TradingView
wildnguyen140819
27 sie 2019 08:56

Hoang_dep_trai 

British Pound/U.S. DollarFXCM

Opis

//Created by user Hoang Dep Trai
//Forex Session Templates Based on EST-New York Time Zone
//Special Thanks to TheLark AKA The Coding Genius for helping me with the "On - Off" CheckBoxes in the inputs tab

study(title="Hoang_dep_trai",shorttitle="Hoang_dep_trai", overlay=true)
timeinrange(res, sess) => time(res, sess) != 0

//Change true to false = You have to turn on, won't show up by default
//****Always use lowercase letters
doEurOpen = input(defval=true, type = bool, title="Euro Open On")
doEurSession = input(defval=true, type = bool, title="Euro Session On")
doEurClose = input(defval=true, type = bool, title="Euro Close On")

//You can copy and paste these colors. white - silver - gray - maroon - red - purple - fuchsia - green - lime
// olive - yellow - navy - blue - teal - aqua - orange

europeSession = #1E90FF

//****Note ---- Use Military Times --- So 3:00PM = 1500

bgcolor(doEurSession and timeinrange(period, "0815-1215") ? europeSession : na, transp=75)
Więcej