forexpirate

Trading Time

Code put blue bars during times you input. I put it to show times I am asleep and not alert to trade. I also put code into strategy to control when trades can open or close. FXCM             and IDC             exchanges have different time zones, as well as AMEX, etc. You will have to change it for each zone.
Remove from Favorite Scripts Add to Favorite Scripts
study(title="Trading Time",shorttitle="Trading Time", overlay=true)
nt = input('0230-0915', type=session, title="Not Trading")
nttime =  nt
bgPlot2 = (time(period, nttime))
bgcolor(bgPlot2 and isintraday? navy : na,transp=30,title="Time")
Bonjour Monsieur! Nice to see you with a another good job.
Reply
United States
United Kingdom
India
Deutschland
France
España
Italia
Polska
Türkiye
Россия
Brasil
Indonesia
Malaysia
ประเทศไทย
Việt Nam
日本
한국
简体
繁體
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