NexusFi: Find Your Edge


Home Menu

 





Add previous close line to thinkorswim charts intraday


Discussion in ThinkOrSwim

Updated
      Top Posters
    1. looks_one phamta with 4 posts (0 thanks)
    2. looks_two Nube with 3 posts (4 thanks)
    3. looks_3 Depiero with 2 posts (0 thanks)
    4. looks_4 Thatsoundgye with 2 posts (0 thanks)
    1. trending_up 15,601 views
    2. thumb_up 5 thanks given
    3. group 9 followers
    1. forum 13 posts
    2. attach_file 0 attachments




 
Search this Thread
  #11 (permalink)
phamta
Monroe
 
Posts: 3 since Dec 2019
Thanks Given: 0
Thanks Received: 0

Thanks
I like it to show on my 1 minuet chart

TOS has the open level

Can you make the 5th minute close line please

Reply With Quote
  #12 (permalink)
Thatsoundgye
Detroit, MI/USA
 
Posts: 2 since Mar 2021
Thanks Given: 1
Thanks Received: 0


Nube View Post
def RTHClose = if GetTime() crosses above RegularTradingEnd(GetYYYYMMDD()) then
close[1] else RTHClose[1];

plot RegularTradingClose = RTHClose;

This is the only code that works with the iPad version of ThinkorSwim. How do I modify this to include extended hours closing price instead of Regular hours closing price??

Thank you in advance!

Reply With Quote
  #13 (permalink)
Nube
Minneapolis Minnesota
 
Posts: 24 since Jul 2019
Thanks Given: 0
Thanks Received: 13


Thatsoundgye View Post
This is the only code that works with the iPad version of ThinkorSwim. How do I modify this to include extended hours closing price instead of Regular hours closing price??

Thank you in advance!

 
Code
def AHClose = if GetTime() crosses below RegularTradingEnd(GetYYYYMMDD()) then
close[1] else AHClose[1];

plot AfterHoursClose = AHClose;

Reply With Quote
Thanked by:
  #14 (permalink)
Thatsoundgye
Detroit, MI/USA
 
Posts: 2 since Mar 2021
Thanks Given: 1
Thanks Received: 0


Nube View Post
 
Code
def AHClose = if GetTime() crosses below RegularTradingEnd(GetYYYYMMDD()) then
close[1] else AHClose[1];

plot AfterHoursClose = AHClose;

This worked great. Thank you!!

Reply With Quote




Last Updated on March 12, 2021


© 2024 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 - Privacy Policy - Downloads - Top
no new posts