IntraBarPersist 记住每笔
来自tradeStar帮助系统
| 函数 | ntraBarPersist |
| 别名 | 记住每笔 |
| 所属类别 | 变量声明 |
| 参数数量 | 多个 |
| 运行模式 | 逐根/逐行 |
| 说明 | 变量修饰符,必须配合run_every_tick开关使用。没有指定run_every_tick时,则intrabarPersist的修饰不会生效 |
| 用法 | 语法:
作用:指定了这个修饰的变量,会记住上一个tick的值。没有指定,则记住上一个bar的值。
variable: intrabarPersist numericSimple x(0), intrabarPersis y(0); |