NexusFi: Find Your Edge


Home Menu

 





TS Shading Session Different Colors


Discussion in TradeStation

Updated
      Top Posters
    1. looks_one hectormas with 2 posts (0 thanks)
    2. looks_two Albnd with 1 posts (0 thanks)
    3. looks_3 ABCTG with 1 posts (0 thanks)
    4. looks_4 dougrkyle with 1 posts (0 thanks)
    1. trending_up 6,342 views
    2. thumb_up 0 thanks given
    3. group 4 followers
    1. forum 4 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
 hectormas 
Charlotte, NC
 
Experience: Intermediate
Platform: Tradestation, Ninja Trader
Trading: Forex
Posts: 32 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


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
No book, only a stair: journaling fills where price move …
Cryptocurrency
Datafeed for Atas
Platforms and Indicators
EA
Platforms and Indicators
requesting .nrd replay files from 2026 spy and qqq
The Elite Circle
My Rant with AMP Futures
Trading Reviews and Vendors
 
  #2 (permalink)
Albnd
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);


Reply With Quote
  #3 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,448 since Apr 2013
Thanks Given: 494
Thanks Received: 1,643


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


Follow me on X Reply With Quote
  #4 (permalink)
 hectormas 
Charlotte, NC
 
Experience: Intermediate
Platform: Tradestation, Ninja Trader
Trading: Forex
Posts: 32 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.


Started this thread Reply With Quote
  #5 (permalink)
dougrkyle
indianapolis in usa
 
Posts: 16 since Aug 2013
Thanks Given: 0
Thanks Received: 3

Did you ever put together this indicator?


Reply With Quote




Last Updated on March 3, 2014


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts