NexusFi: Find Your Edge


Home Menu

 





Think or swim earnings move calculation


Discussion in Brokers

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




 
Search this Thread
  #1 (permalink)
Rustic
Bucharest
 
Posts: 26 since Mar 2020
Thanks Given: 9
Thanks Received: 15

Hi, I could use some help in calculation the max, min and avg. move after the last N earning reports.
I managed to write an indicator to display the moves but I don't know how to store these numbers in an array.

Thank you!


Attached Thumbnails
Click image for larger version

Name:	LEN.JPG
Views:	396
Size:	136.5 KB
ID:	302368  
Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Wood Mackenzie Drops $200 Oil Forecast -- Airspace Expir …
Prediction Markets & Event Contracts
CME Launches Bitcoin Volatility Futures June 1 -- First …
Cryptocurrency
Warsh Opens Today, Hormuz June 19 -- WTI Below $80, Fran …
Prediction Markets & Event Contracts
April 2026 Jobs Report: +115k vs +65k Expected
Traders Hideout
Trump Media to sell instant access to market-moving soci …
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
8 thanks
Darmok and Jalad at Tanagra
1 thanks
  #2 (permalink)
 huracan 
Gahanna, OH
 
Experience: Intermediate
Platform: Ninja Trader
Broker: AMP/CQG
Trading: ES, ZB, ZN
Posts: 27 since Oct 2009
Thanks Given: 36
Thanks Received: 28


Rustic View Post
Hi, I could use some help in calculation the max, min and avg. move after the last N earning reports.
I managed to write an indicator to display the moves but I don't know how to store these numbers in an array.

Thank you!

Have you tried using the Average function in thinkscript? It is in the TOS Learning Center, under Technical Analysis.
It says:

"Average ( IDataHolder data, int length);

Default values:

length: 12
Description
Returns the average value of a set of data for the last length bars. If the length of the data set is not specified, the default value is used. "

It has a couple of exmaples....

Hope that helps!


Reply With Quote




Last Updated on July 5, 2020


© 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