oscarvs

Kill Zones

******* UPDATED VERSION *******
Use this one:
****************************************

>> OLD STUFF, please use the UPDATED version!!! <<

COPY & PASTE the code and change manually hours to reflect reality regardless selected TimeZone:
doNYOpen "1300-1310"
doNYSession "1300-0000"
doTokyoOpen "0030-0040"
doTokyoSession "0030-0930"
doLondonOpen "0800-0810"
doLondonSession "0800-1700"
Remove from Favorite Scripts Add to Favorite Scripts
//Created by user oscarvs 10-01-2014
//based on ChrisMoody script

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

doNYOpen = input(defval=true, type = bool, title="NY Kill Zone On")
doNYSession = input(defval=true, type = bool, title="NY Session On")

doTokyoOpen = input(defval=true, type = bool, title="Tokyo Kill Zone On")
doTokyoSession = input(defval=true, type = bool, title="Tokyo Session On")

doLondonOpen = input(defval=true, type = bool, title="London Kill Zone On")
doLondonSession = input(defval=true, type = bool, title="London Session On")


bgcolor(doNYOpen and timeinrange(period, "0800-0810") ? white : na, transp=20)
bgcolor(doNYSession and timeinrange(period, "0800-1700") ? white : na, transp=85)

bgcolor(doTokyoOpen and timeinrange(period, "1900-1910") ? maroon : na, transp=20)
bgcolor(doTokyoSession and timeinrange(period, "1900-0400") ? maroon : na, transp=85)

bgcolor(doLondonOpen and timeinrange(period, "0300-0310") ? olive : na, transp=20)
bgcolor(doLondonSession and timeinrange(period, "0300-1200") ? olive : na, transp=85)
what a guy !
thank you
Reply
EN English
EN English (UK)
EN English (IN)
DE Deutsch
FR Français
ES Español
IT Italiano
PL Polski
TR Türkçe
RU Русский
PT Português
ID Bahasa Indonesia
MS Bahasa Melayu
TH ภาษาไทย
VI Tiếng Việt
JA 日本語
KO 한국어
ZH 简体中文
ZH 繁體中文
Home Stock Screener Forex Signal Finder Cryptocurrency Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators Website & Broker Solutions Widgets Stock Charting Library Feature Request Blog & News FAQ Help & Wiki Twitter
Profile Profile Settings Account and Billing My Support Tickets Contact Support Ideas Published Followers Following Private Messages Chat Sign Out