小周期引用大周期,当时15MIN的K线还没有最终形成,导致有了未来
引用15MIN周期的上个周期的数据,就不会有未来了
如果采用把每一分钟的数值先赋值,再引用,这样在小周期引用时是否能够逐一应用到对应的分钟数数据?
例如
//IF MINUTE()=1 THEN BEGIN
//kaiduo:=开多18 or (开多15 and (开多12 and 开多13 and 开多14 and 开多17 and 开多19));
//END
//ELSE if minute()=2 then BEGIN
//kaiduo:=开多18 or (开多15 and (开多12 and 开多13 and 开多14 and 开多17 and 开多19));
//END
//ELSE if minute()=3 then BEGIN
//kaiduo:=开多18 or (开多15 and (开多12 and 开多13 and 开多14 and 开多17 and 开多19));
//END
//ELSE if minute()=4 then BEGIN
//kaiduo:=开多18 or (开多15 and (开多12 and 开多13 and 开多14 and 开多17 and 开多19));
//END
//ELSE if minute()=5 then BEGIN
//kaiduo:=开多18 or (开多15 and (开多12 and 开多13 and 开多14 and 开多17 and 开多19));
//END
//ELSE if minute()=6 then BEGIN
//kaiduo:=开多18 or (开多15 and (开多12 and 开多13 and 开多14 and 开多17 and 开多19));
//END
//ELSE if minute()=7 then BEGIN
//kaiduo:=开多18 or (开多15 and (开多12 and 开多13 and 开多14 and 开多17 and 开多19));
//END
//ELSE if minute()=8 then BEGIN
//kaiduo:=开多18 or (开多15 and (开多12 and 开多13 and 开多14 and 开多17 and 开多19));
//END