NexusFi: Find Your Edge


Home Menu

 





Daily ATR Label on intraday Chart?


Discussion in ThinkOrSwim

Updated
    1. trending_up 3,750 views
    2. thumb_up 0 thanks given
    3. group 1 followers
    1. forum 2 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
 robt1975 
honolulu, HI
 
Experience: Beginner
Platform: Sierra chart
Trading: es
Posts: 4 since Aug 2018
Thanks Given: 0
Thanks Received: 0

Hello,
Could someone provide the Thinkscript that would put a label on my 5 minute chart that shows the Daily ATR? I haven't been able to figure it out.

Thanks!


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
GDP Day: The First Economic Reckoning -- Pahlavi at 6.55 …
Prediction Markets & Event Contracts
Day 97: Israel-Lebanon Ceasefire Struck Overnight -- WTI …
Traders Hideout
CME Cuts Precious Metals Margins Up to 21% Starting Toda …
Commodities
SEC and CFTC Unlock Customer Cross-Margining for Treasur …
Treasury Notes and Bonds
Day 96 Missiles Hit Kuwait and Bahrain: June 15 Peace at …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
21 thanks
2026 Jlab journal
10 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Lady Vols Primer: Trading Volatility Journal
6 thanks
2026 Fire Horse
5 thanks
  #2 (permalink)
 kjhosken 
Seattle, WA/USA
 
Experience: Intermediate
Platform: TOS, TS
Trading: Forex, crude
Posts: 96 since Sep 2016
Thanks Given: 7
Thanks Received: 35


robt1975 View Post
Hello,
Could someone provide the Thinkscript that would put a label on my 5 minute chart that shows the Daily ATR? I haven't been able to figure it out.

Thanks!

This in't mine, but I found it through the google, see if this can be modified for your needs
 
Code
##### TS ATR 
##### Made By Leonard 
##### Version 1
##### 4/23/2015
##### Copyright Leonard Tulko 2014 - 2015 All rights reserved
##### This software is licensed for individual use only.


declare upper;

input ATRLength = 14;
input averagetype = AverageType.WILDERS;
input BasePeriod = AggregationPeriod.DAY;
input showlabel = yes;

def ATR = MovingAverage (averagetype, TrueRange(high(period = BasePeriod)[1], close(period = BasePeriod)[1], low(period = BasePeriod)[1]), ATRLength);

def Today_High = Highest(high(period = baseperiod)[0], 1);
def Today_Low = Lowest(low(period =baseperiod)[0], 1);

def DR = Today_High - Today_Low;

AddLabel(showlabel, "DayRange: " + Round(DR , 2) + " vs. ATR:" +round(ATR,2));


Follow me on X Reply With Quote
  #3 (permalink)
 robt1975 
honolulu, HI
 
Experience: Beginner
Platform: Sierra chart
Trading: es
Posts: 4 since Aug 2018
Thanks Given: 0
Thanks Received: 0


Thank you! I need to try that Google thing out sometime!


Started this thread Reply With Quote




Last Updated on September 28, 2019


© 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