NexusFi: Find Your Edge


Home Menu

 





Think or swim earnings move calculation


Discussion in Brokers

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




 
Search this Thread

Think or swim earnings move calculation

  #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:	286
Size:	136.5 KB
ID:	302368  
Reply With Quote

Can you help answer these questions
from other members on NexusFi?
REcommedations for programming help
Sierra Chart
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Quantum physics & Trading dynamics
The Elite Circle
Trade idea based off three indicators.
Traders Hideout
Better Renko Gaps
The Elite Circle
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
24 thanks
What is Markets Chat (markets.chat) real-time trading ro …
17 thanks
ApexTraderFunding.com experience and review
15 thanks
GFIs1 1 DAX trade per day journal
13 thanks
EG Indicators
11 thanks
  #2 (permalink)
 huracan 
Gahanna, OH
 
Experience: Intermediate
Platform: Ninja Trader
Broker: AMP/CQG
Trading: ES, ZB, ZN
Posts: 26 since Oct 2009
Thanks Given: 34
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


© 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