Page 1 of 1

How to use “core.UpdateAll ” and “core.UpdateLast ”

PostPosted: Thu Apr 11, 2019 12:05 am
by guangho
I would like to ask what is the difference between these three sentences and what is the application of them?

“core.UpdateAll ” and “core.UpdateLast ” and “core.UpdateNew ”

Thank you!

Re: How to use “core.UpdateAll ” and “core.UpdateLast ”

PostPosted: Fri Apr 12, 2019 4:48 am
by Apprentice
The update mode of the indicator. The possible values are:

core.UpdateNew
The size of the output streams is synchronizes with the size of the source stream. The values of the periods that have been added to the output streams are calculated.

core.UpdateLast
The size of the output streams is synchronizes with the size of the source stream. The value of the last period is recalculated (if it has been changed). The values of the periods that have been added to the output streams are calculated.

core.UpdateAll
The size of the output streams is synchronizes with the size of the source stream. All values of the indicator output streams are recalculated.


The optimal update mode is provided by the second parameter of the Update function of the main indicator.

In case of strategies, only the core.UpdateLast value must be used.

Re: How to use “core.UpdateAll ” and “core.UpdateLast ”

PostPosted: Tue Nov 26, 2019 11:21 pm
by guangho
Apprentice wrote:The update mode of the indicator. The possible values are:

core.UpdateNew
The size of the output streams is synchronizes with the size of the source stream. The values of the periods that have been added to the output streams are calculated.

core.UpdateLast
The size of the output streams is synchronizes with the size of the source stream. The value of the last period is recalculated (if it has been changed). The values of the periods that have been added to the output streams are calculated.

core.UpdateAll
The size of the output streams is synchronizes with the size of the source stream. All values of the indicator output streams are recalculated.


The optimal update mode is provided by the second parameter of the Update function of the main indicator.

In case of strategies, only the core.UpdateLast value must be used.


Thank you for your answer :D