NexusFi: Find Your Edge


Home Menu

 





ADR?


Discussion in ThinkOrSwim

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




 
Search this Thread

ADR?

  #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?
Trade idea based off three indicators.
Traders Hideout
MC PL editor upgrade
MultiCharts
ZombieSqueeze
Platforms and Indicators
How to apply profiles
Traders Hideout
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
33 thanks
Just another trading journal: PA, Wyckoff & Trends
28 thanks
Bigger Wins or Fewer Losses?
23 thanks
Tao te Trade: way of the WLD
23 thanks
GFIs1 1 DAX trade per day journal
21 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 Twitter Visit my NexusFi Trade Journal Reply With Quote




Last Updated on December 18, 2016


© 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