NexusFi: Find Your Edge


Home Menu

 





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


Discussion in ThinkOrSwim

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




 
Search this Thread

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

  #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?
Online prop firm The Funded Trader (TFT) going under?
Traders Hideout
Exit Strategy
NinjaTrader
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
My NT8 Volume Profile Split by Asian/Euro/Open
NinjaTrader
The space time continuum and the dynamics of a financial …
Emini and Emicro Index
 
  #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


© 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