NexusFi: Find Your Edge


Home Menu

 





ADR?


Discussion in ThinkOrSwim

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




 
Search this Thread
  #1 (permalink)
pharmacist25
Charlottesville
 
Posts: 4 since Dec 2016
Thanks Given: 0
Thanks Received: 0

Not sure if this is the right place to ask this but I use tos so thought I could start here.
I am wanting to use ADR to trade with and was looking for it as a study but cannot find it.
I would settle for an excel spreadsheet and a place I can get the data to plug in. ANyone have any ideas?
Or a stuy where I could tailor it to the number of day sI want to average. Thanks fro any help.


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Sundays Verdict: Lebanon Locked at 99.85% as Iran June 7 …
Prediction Markets & Event Contracts
CFTC Workforce Shrinks 24% to 15-Year Low While Predicti …
Traders Hideout
Iran Forward Curve: June 30 at 56% vs June 15 at 28% -- …
Prediction Markets & Event Contracts
More Than Capable: Hegseths War Warning Validates $114M …
Prediction Markets & Event Contracts
Post-Summit Market Verdict: ES -1%, NQ -1.5%, 10-Year Yi …
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Big Mike in Ecuador
205 thanks
30 Sessions
21 thanks
Sober Journey With S&P
21 thanks
Volume Indicators
8 thanks
Thanks Mike. Godspeed.
7 thanks
  #2 (permalink)
 Paddy 
florida
 
Experience: Beginner
Platform: TOS
Broker: TOS
Trading: ES, cl, options, gold, grains,nq,
Posts: 297 since Jul 2016
Thanks Given: 46
Thanks Received: 176


pharmacist25 View Post
Not sure if this is the right place to ask this but I use tos so thought I could start here.
I am wanting to use ADR to trade with and was looking for it as a study but cannot find it.
I would settle for an excel spreadsheet and a place I can get the data to plug in. ANyone have any ideas?
Or a stuy where I could tailor it to the number of day sI want to average. Thanks fro any help.

TOS doesnot have one. I have a file but doesnt work well. I am having the same issue the scripting language is not as user friendly either
input aggregationPeriod = AggregationPeriod.DAY;
input ADRLength = 14;

def H = high(period = aggregationPeriod)[1];
def L = low(period = aggregationPeriod)[1];
def C = close(period = aggregationPeriod)[1];

def dayRange = (high(period = AggregationPeriod.DAY)[0] - low(period = AggregationPeriod.DAY)[0]);
def ADR = round((Average((high(period = AggregationPeriod.DAY)[1] - low(period = AggregationPeriod.DAY)[1]), ADRLength)),2);
def pctADR = round((dayRange/ADR)*100,0);

plot ADR_H = round((low(period="day") + ADR),2);
plot ADR_L = round((high(period="day") - ADR),2);

ADR_H.SetDefaultColor(Color.RED);
ADR_H.setpaintingstrategy(paintingstrategy.points);

ADR_L.SetDefaultColor(Color.GREEN);
ADR_L.setpaintingstrategy(paintingstrategy.points);

AddLabel(yes, "ADR " + ADR);
AddLabel(yes, "Day Range " + dayRange);
AddLabel(yes, "Day Range Pct " + pctADR);
AddLabel(yes, "ADR_H=" + ADR_H + " ADR_L=" + ADR_L);



Feel free to play with it. Also, I am evaluating NT or Sierra charts as a solution to TOS platform


Follow me on X Visit my NexusFi Trade Journal Reply With Quote




Last Updated on December 18, 2016


© 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