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 611 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 125,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
 
syswizard's Avatar
 
Posts: 101 since Jan 2019
Thanks: 11 given, 67 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?
1-min Intrabar indicator
MultiCharts
NT8 connectivity by FXI API to unsupported brokers?
NinjaTrader
Is there a way to rename an existing trade?
MultiCharts
Multichart NET set signal parameters different than the …
MultiCharts
Indicator from a HTF on a LTF chart
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on futures io
How much do you know about Bitcoin?
97 thanks
FIO Journal Challenge - April 2021 w/Jigsaw Trading
38 thanks
I finally blew up an account
38 thanks
EdgeProX from Edge Clear
22 thanks
The tiyfTradePlanFactory indicator
19 thanks
 
(login for full post details)
  #2 (permalink)
 ABCTG   is a Vendor
 
 
Posts: 2,244 since Apr 2013
Thanks: 417 given, 1,495 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

NEW BlackBird Features + FOREX Support w/Jeremy Tang @ SharkIndicators

Elite only
 

Our 12-year anniversary w/ $$,$$$ prizes (check soon)

June
     



Copyright © 2021 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