How do I change historical data in a series? - futures io
futures io



How do I change historical data in a series?


Discussion in MultiCharts

Updated
    1. trending_up 1,547 views
    2. thumb_up 2 thanks given
    3. group 3 followers
    1. forum 4 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 do I change historical data in a series?

(login for full post details)
  #1 (permalink)
Rusti
Russia
 
 
Posts: 4 since Dec 2020
Thanks: 1 given, 0 received

Hi all!
I am writing an indicator in MultiCharts and ran into such a problem.
I declare the series "private VariableSeries <Double> v1;".
I write the data "v1.Value = 100;"
I want to change the history data "v1 [10] = 50;"
The program swears. He says that you can only read.
How do I change historical data in a series?
Thanks!

Reply With Quote

Can you help answer these questions
from other members on futures io?
NT8 - Footprint Chart adding on code
NinjaTrader
Learning Day Trading, need some advice on approach advice
Traders Hideout
 
 
(login for full post details)
  #2 (permalink)
 kevinkdog   is a Vendor
 
 
Posts: 3,328 since Jul 2012
Thanks: 1,759 given, 6,720 received


Rusti View Post
Hi all!
I am writing an indicator in MultiCharts and ran into such a problem.
I declare the series "private VariableSeries <Double> v1;".
I write the data "v1.Value = 100;"
I want to change the history data "v1 [10] = 50;"
The program swears. He says that you can only read.
How do I change historical data in a series?
Thanks!

If on the current bar you say v1=50 then 10 bars from now, if you reference v1[10] it will equal 50.

The history is created as each bar passes, and you cannot go back and change that.

Or maybe I misunderstood your question.

Follow me on Twitter Reply With Quote
The following user says Thank You to kevinkdog for this post:
 
(login for full post details)
  #3 (permalink)
 ABCTG   is a Vendor
 
 
Posts: 2,332 since Apr 2013
Thanks: 425 given, 1,551 received


Rusti,

you could for example use a List instead of VariableSeries. This would allow you to change values at an index.

Regards,

ABCTG


Rusti View Post
Hi all!
I am writing an indicator in MultiCharts and ran into such a problem.
I declare the series "private VariableSeries <Double> v1;".
I write the data "v1.Value = 100;"
I want to change the history data "v1 [10] = 50;"
The program swears. He says that you can only read.
How do I change historical data in a series?
Thanks!


Follow me on Twitter Reply With Quote
The following user says Thank You to ABCTG for this post:
 
(login for full post details)
  #4 (permalink)
Rusti
Russia
 
 
Posts: 4 since Dec 2020
Thanks: 1 given, 0 received


ABCTG View Post
Rusti,

you could for example use a List instead of VariableSeries. This would allow you to change values at an index.

Regards,

ABCTG

Thanks for the tip.
Can't find List. Can you tell us in more detail? What is this variable? What is her name in the MCH? And then I myself.
Thanks in advance!!!

Reply With Quote
 
(login for full post details)
  #5 (permalink)
 ABCTG   is a Vendor
 
 
Posts: 2,332 since Apr 2013
Thanks: 425 given, 1,551 received

Rusti,

this should get you started: https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/concepts/collections

Regards,

ABCTG


Rusti View Post
Thanks for the tip.
Can't find List. Can you tell us in more detail? What is this variable? What is her name in the MCH? And then I myself.
Thanks in advance!!!


Follow me on Twitter Reply With Quote


futures io Trading Community Platforms and Indicators MultiCharts > How do I change historical data in a series?


Last Updated on October 27, 2021


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
     



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