How to determine a chart is refreshing instead of plotting in real time ? - futures io
futures io



How to determine a chart is refreshing instead of plotting in real time ?


Discussion in EasyLanguage Programming

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




Welcome to futures io: the largest futures trading community on the planet, with well over 150,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

 
Search this Thread
 

How to determine a chart is refreshing instead of plotting in real time ?

(login for full post details)
  #1 (permalink)
 syswizard 
Philadelphia PA
 
Experience: Advanced
Platform: Multicharts
Broker: Ironbeam, Rithmic
Trading: Emini ES / NQ / CL / RTY / YM / BTC
 
syswizard's Avatar
 
Posts: 344 since Jan 2019
Thanks: 20 given, 138 received

I need to perform some functions and calculations when I first open a chart and it is refreshing based on the lookback setting. Or do I have to wait for the LastBarOnChart and then go back in time to do the calculations ? For instance, I need to get the avg daily profit for the last 10 days.

Started this thread Reply With Quote

Can you help answer these questions
from other members on futures io?
Book for fundamental analysis
Stocks and ETFs
NT8 Order Management Strategy
The Elite Circle
Market on Close data within IB
Platforms and Indicators
Demo accounts order fill
Emini and Emicro Index
Tradovate + Jigsaw issues
Tradovate
 
Best Threads (Most Thanked)
in the last 7 days on futures io
Is anyone actually making money?
52 thanks
An embarrassing, honest confession
37 thanks
Sierra vs. Ninja : why I chose .....
8 thanks
Machine Learning Journal
5 thanks
Institutional Grade Massive Data Dump for Quant Research …
5 thanks
 
(login for full post details)
  #2 (permalink)
 ABCTG   is a Vendor
 
 
Posts: 2,363 since Apr 2013
Thanks: 426 given, 1,579 received

syswizard,

one approach could be to calculate the values bar by bar as the chart progresses if this is possible. For your example you could track the avg daily profit for every day and keep a running total of the last 10 days within an array.

Regards,

ABCTG


syswizard View Post
I need to perform some functions and calculations when I first open a chart and it is refreshing based on the lookback setting. Or do I have to wait for the LastBarOnChart and then go back in time to do the calculations ? For instance, I need to get the avg daily profit for the last 10 days.


Follow me on Twitter Reply With Quote


futures io Trading Community Platforms and Indicators EasyLanguage Programming > How to determine a chart is refreshing instead of plotting in real time ?


Last Updated on April 21, 2021


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
     



Copyright © 2023 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada), info@futures.io
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.
no new posts