Dark Theme
Light Theme
Trading Articles
Article Categories
Article Tools
Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to
register in order to view the content of the threads and start contributing to our community.
It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
TS Shading Session Different Colors
Updated March 4, 2014
Top Posters
looks_one
hectormas
with 2 posts (0 thanks)
looks_two
dougrkyle
with 1 posts (0 thanks)
looks_3
Albnd
with 1 posts (0 thanks)
looks_4
ABCTG
with 1 posts (0 thanks)
trending_up
5,319 views
thumb_up
0 thanks given
group
4 followers
forum
4 posts
attach_file
0 attachments
TS Shading Session Different Colors
June 6th, 2013, 10:56 AM
Charlotte, NC
Experience: Intermediate
Platform: Tradestation, Ninja Trader
Trading: Forex
Posts: 34 since Sep 2012
Thanks Given: 25
Thanks Received: 54
Hello,
Does anyone know how can I make certain hrs of the day a different color from the other. EI Cash hours different to Globex hrs.
TradeStation doesnt seem to have setting for it. Maybe there is an indicator ?
Thanks
Hector
Can you help answer these questions from other members on NexusFi?
Best Threads (Most Thanked) in the last 7 days on NexusFi
June 9th, 2013, 04:33 PM
Rome, Italy
Posts: 62 since Feb 2012
Thanks Given: 27
Thanks Received: 28
You may want to use a paintbar:
Code
inputs: opentime(1535), closetime(2200);
If Time < opentime or Time > closetime then
PlotPB(High, Low, Open, Close, "OutOfSession", darkgray);
June 10th, 2013, 09:58 AM
Posts: 2,433 since Apr 2013
Thanks Given: 481
Thanks Received: 1,627
Like Albnd mentioned, paintbars will do the trick. Either color the price bars or the chart background.
For the latter you can slightly modify the posted code to:
Code
inputs: opentime(1535), closetime(2200), BgrdColor(yellow);
Variables:
HighVal(0),
LowVal(0);
once
begin
HighVal = Close * 3;
LowVal = Close * .33;
end;
If Time < opentime or Time > closetime then
begin
Plot1(HighVal, "OutOfSession", BgrdColor);
Plot2(LowVal, "OutOfSession", BgrdColor);
end;
Make sure to format Plot1 as Bar High and Plot as Bar Low in TS.
Regards,
ABCTG
June 10th, 2013, 11:28 AM
Charlotte, NC
Experience: Intermediate
Platform: Tradestation, Ninja Trader
Trading: Forex
Posts: 34 since Sep 2012
Thanks Given: 25
Thanks Received: 54
That is what I was looking for. I am working the indicator, when I have it ready I will post it here for anyone that may want to use it.
March 3rd, 2014, 09:47 PM
indianapolis in usa
Posts: 16 since Aug 2013
Thanks Given: 0
Thanks Received: 3
Did you ever put together this indicator?
Last Updated on March 3, 2014