NexusFi: Find Your Edge


Home Menu

 





Daily ATR Label on intraday Chart?


Discussion in ThinkOrSwim

Updated
    1. trending_up 3,781 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?
Trump Lands in Beijing on CPI Day: Iran Peace Expires To …
Prediction Markets & Event Contracts
Sundays Verdict: Lebanon Locked at 99.85% as Iran June 7 …
Prediction Markets & Event Contracts
Friday Update: Markets Now Pricing Fed Rate HIKES as Sta …
Traders Hideout
Thanks Mike. Godspeed.
The Elite Circle
El Clasico Draws $9.2M in Prediction Market Action -- Bi …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Big Mike in Ecuador
205 thanks
Sober Journey With S&P
21 thanks
30 Sessions
20 thanks
Volume Indicators
8 thanks
Thanks Mike. Godspeed.
7 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