1,167 bytes added,
13:03, 23 January 2014 Defines if drawings generated by script at any intrabar calculation are removed after next script calculation or not.
== Usage ==
<syntaxhighlight>[RecoverDrawings = LogicalValue]</syntaxhighlight>
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
* [[:Category:Attributes|Attributes]] like the ''RecoverDrawings'' statement are applied at the time of compilation and cannot be changed at run-time.
== Examples ==
<syntaxhighlight>
[RecoverDrawings = False]
if (Close > Close[1]) then
Text_New(Date,Time,High,"UpT");
</syntaxhighlight>
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.
<syntaxhighlight>
[RecoverDrawings = True]
if (Close > Close[1]) then
Text_New(Date,Time,High,"UpT");
</syntaxhighlight>
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.
[[Category:Attributes]]