NexusFi: Find Your Edge


Home Menu

 





average daily price movement- important but didn't found anywhere


Discussion in ThinkOrSwim

Updated
    1. trending_up 2,141 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)
netanel99
Tel-Aviv + Israel
 
Posts: 4 since Sep 2014
Thanks Given: 1
Thanks Received: 0

hello fellow traders,
I'm newbie in this site, but will probably stick around and hopefully contribute a lot,
I'm trading 11 years, everything mostly the futures and stocks.

I'm completely new at thinkscript, and wanted to ask for an easy thinkscript I hope you savy programmers could help with:
If we want for example find out what is the average daily price movement for the last 300 days so we can tell what we might expect this way , and I think this way is better than SMA or ATR, because what if price doubled . or in case we checks on last 14 days instead of 300 days, what if this stock been calm and chilled this last 14 days but in the past it had it's 20-30% change on a day, and you guess this stock isn't vol based on the SMA/ATR of last 14 days - then it goes volatile out of the blue.

Actually I'm amazed I didn't found this code in the platform already - I really hope you could help me with it pls.

THANKS FOR ANY HELP!!!!


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Iran Deal "In Review" at 87% on Deadline Day - …
Prediction Markets & Event Contracts
Fed Hike Odds at 57% After Warsh: England Surges 12.9%, …
Prediction Markets & Event Contracts
Khamenei Vetoes Uranium Transfer as Peace Odds Surge to …
Prediction Markets & Event Contracts
UCL Final Kicks Off at Noon ET: PSG at 56.5% as Iran May …
Prediction Markets & Event Contracts
Beijing Summit Closes: Xi Pledges Hormuz Help -- $1.14B …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
13 thanks
Darmok and Jalad at Tanagra
3 thanks
Big Mike in Ecuador
1 thanks
30 Sessions
1 thanks
  #2 (permalink)
kosnarf
Long Beach CA
 
Posts: 4 since Mar 2014
Thanks Given: 0
Thanks Received: 1


netanel99 View Post
hello fellow traders,
I'm newbie in this site, but will probably stick around and hopefully contribute a lot,
I'm trading 11 years, everything mostly the futures and stocks.

I'm completely new at thinkscript, and wanted to ask for an easy thinkscript I hope you savy programmers could help with:
If we want for example find out what is the average daily price movement for the last 300 days so we can tell what we might expect this way , and I think this way is better than SMA or ATR, because what if price doubled . or in case we checks on last 14 days instead of 300 days, what if this stock been calm and chilled this last 14 days but in the past it had it's 20-30% change on a day, and you guess this stock isn't vol based on the SMA/ATR of last 14 days - then it goes volatile out of the blue.

Actually I'm amazed I didn't found this code in the platform already - I really hope you could help me with it pls.

THANKS FOR ANY HELP!!!!

An easy way to do this is to use the average(data, length) function. So, for example if you want the average ATR(10) for the past 20 days...you would use average(ATR(10), 20).

Feel free to use the average function for any type of data, not just price.


Reply With Quote




Last Updated on November 3, 2014


© 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