Trading Articles
Article Categories
Article Tools
How do I change historical data in a series?
Updated October 27, 2021
trending_up
1,547 views
thumb_up
2 thanks given
group
3 followers
forum
4 posts
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)
How do I change historical data in a series?
(login for full post details)
#1 (permalink )
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!
Can you help answer these questions from other members on futures io?
Best Threads (Most Thanked) in the last 7 days on futures io
(login for full post details)
#2 (permalink )
Posts: 3,328 since Jul 2012
Thanks: 1,759 given,
6,720
received
Rusti
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.
The following user says Thank You to kevinkdog for this post:
(login for full post details)
#3 (permalink )
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
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!
The following user says Thank You to ABCTG for this post:
(login for full post details)
#4 (permalink )
Russia
Posts: 4 since Dec 2020
Thanks: 1 given,
0
received
ABCTG
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!!!
Last Updated on October 27, 2021
Ongoing