查看完整版本: 请问,这个公式怎么表示?

乐哥 2007-10-25 12:59

请问,这个公式怎么表示?

从2007年的第一个交易日起到现在一共有多少根K线,用公式如何表示?谢谢。

[[i] 本帖最后由 乐哥 于 2007-10-25 13:31 编辑 [/i]]

菲妃 2007-10-25 14:13

用软件  画面\测量距离  功能

[[i] 本帖最后由 菲妃 于 2007-10-25 14:20 编辑 [/i]]

乐哥 2007-10-25 14:21

从上市之日 起 到某个固定时间 共有多少根K线,如何用公式表示?不用“阶段统计”。。

乐哥 2007-10-25 16:06

没人会吗?:(:

乐哥 2007-10-25 18:37

[quote]原帖由 [i]cyh123456[/i] 于 2007-10-25 18:05 发表 [url=http://bbs.fjfox.com/redirect.php?goto=findpost&pid=370949&ptid=41710][img]http://bbs.fjfox.com/images/common/back.gif[/img][/url]
显示屏幕内K线数量


k1:=barslast(BARPOS=SYSPARAM(2))+1;
k1[datacount]; [/quote]
不是这个意思。

乐哥 2007-10-25 20:05

[quote]原帖由 [i]cyh123456[/i] 于 2007-10-25 18:47 发表 [url=http://bbs.fjfox.com/redirect.php?goto=findpost&pid=370957&ptid=41710][img]http://bbs.fjfox.com/images/common/back.gif[/img][/url]
你改一下吗? [/quote]
我不会啊,谁能帮忙写一个,谢谢。。

lillian2005 2007-10-25 20:07

w:barslast(year=2007 and ref(year,1)<>2007),linethick0;
vertline(w=0);
x:w[datacount];

w1:barssince(year=2007 and ref(year,1)<>2007),linethick0; //也可用
x1:datacount-w1[datacount],linethick0;

乐哥 2007-10-25 20:11

[quote]原帖由 [i]lillian2005[/i] 于 2007-10-25 20:07 发表 [url=http://bbs.fjfox.com/redirect.php?goto=findpost&pid=370960&ptid=41710][img]http://bbs.fjfox.com/images/common/back.gif[/img][/url]
w:barslast(year=2007 and ref(year,1)2007),linethick0;
vertline(w=0);
x:w[datacount];

w1:barssince(year=2007 and ref(year,1)2007),linethick0; //也可用
x1:datacount-w1[datacount],linethick0; [/quote]
谢谢lillian2005,谢谢,帮感谢 了。

cwy 2007-10-25 21:17

sum(date>=1070101,0);

乐哥 2007-10-26 07:57

[quote]原帖由 [i]cwy[/i] 于 2007-10-25 21:17 发表 [url=http://bbs.fjfox.com/redirect.php?goto=findpost&pid=370965&ptid=41710][img]http://bbs.fjfox.com/images/common/back.gif[/img][/url]
sum(date>=1070101,0); [/quote]
谢谢cwy,这里公式团的人真好,谢谢。。
页: [1]
查看完整版本: 请问,这个公式怎么表示?