SetTriggerBar 功能失效
文章链接:https://www.tbquant.net/helper?product_id=999
请教老师
今晚白银跳空低开,15分钟Bar内信号不出现,页面刷新后,短暂出现交易信号,很快就消失。直到15分钟BAR运行结束,交易信号才出现。同时使用监控器同步共能,实现一旦交易信号出现,即刻进行交易。 这是最近才出现的异常。
Vars
global Array timepoint1 ([0.0902,0.1332,0.145955,0.2102,0.225955, 0.005955,0.022955,0.101455]);
OnReady()
{
SetTriggerBarClose(timepoint1);
}
OnBarClose(ArrayRef indexs)
{
if(H< L[1] and marketpositon<>-1 and time == 0.21)
(
sellshort(1,open);
)
}
谢谢能及时解惑!
评论区
查看全部