nn:=todaybar;
oo:ref(open,todaybar-1);
hh:hhv(h,todaybar);
ll:llv(l,todaybar);
nn:=todaybar;
oo:ref(open,todaybar-1);
hh:hhv(h,todaybar);
ll:llv(l,todaybar);
你们能不能专业一点?!!
不好意思,一开始没看明白你要说什么,抱歉
用stkindi 的方式进行引用
公式1
h1:valuewhen(time=140000,hhv(h,todaybar));
h2:valuewhen(time=135900,hhv(h,todaybar));
l1:valuewhen(time=140000,llv(l,todaybar));
l2:valuewhen(time=135900,llv(l,todaybar));
公式2:
oo:callstock(stklabel,vtopen,1);//两者的open是一样的
h_1400:stkindi('','公式1.h1',0,1);
h_1359:stkindi('','公式1.h2',0,1);
l_1400:stkindi('','公式1.l1',0,1);
l_1359:stkindi('','公式1.l2',0,2);