NexusFi: Find Your Edge


Home Menu

 





Daily ATR Label on intraday Chart?


Discussion in ThinkOrSwim

Updated
    1. trending_up 3,866 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?
June 15 Peace Odds Surge From 3.6% to 12.25% After Trump …
Prediction Markets & Event Contracts
UCL Final Kicks Off at Noon ET: PSG at 56.5% as Iran May …
Prediction Markets & Event Contracts
Strike Pause Holds, Oil Erases Monday Spike -- May CPI W …
Traders Hideout
Rubios Good News Within Hours and the 30-Day Math: Why H …
Prediction Markets & Event Contracts
Irans Dual Probability: Guns Quiet at 99.95% While Forma …
Prediction Markets & Event Contracts
 
  #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