+1 888 340 6572

RecoverDrawings

From MultiCharts
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Defines if drawings generated by script at any intrabar calculation are removed after next script calculation or not.

Usage

[RecoverDrawings = LogicalValue]

Where:

LogicalValue - a true/false value: True = Enable; False = Disable.

If the attribute is not present in the study's code, RecoverDrawings is set to true by default

Examples

[RecoverDrawings = False]
if (Close > Close[1]) then
	Text_New(Date,Time,High,"UpT");

Will generate text with current bar's date, time, high and UpT text at intrabar and end-of-bar calculations and all of the drawings will stay plotted.

[RecoverDrawings = True]
if (Close > Close[1]) then
	Text_New(Date,Time,High,"UpT");

Will generate text with current bar's date, time, high and UpT text at intrabar and at end-of-bar calculations and only the drawings generated at end-of-bar calculations will stay plotted.