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?
Six Days to Kickoff: World Cup Prediction Markets Hit $1 …
Prediction Markets & Event Contracts
I Have a Thing Called Iran -- Trump Stays in DC as Airsp …
Prediction Markets & Event Contracts
Warsh Drops Easing Bias, December Hike Now Above 50% -- …
Prediction Markets & Event Contracts
More Than Capable: Hegseths War Warning Validates $114M …
Prediction Markets & Event Contracts
Iran Lebanon Problem Kills Switzerland Talks, Brent at $ …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
6 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