发表于:2005-06-06 04:55只看该作者
2楼
国内的分析家和飞狐像是有这个功能.........
遇到矛盾 先站在对方的立场上想想问题,先试着去理解别人
● 如何使用WinMTR查询平台连接流畅度
3楼
是我没说清楚吗?知不知道大家倒是吭一声啊!
老正呢?救命啊!大家都不理我!
2006年,我要当老板!
2008年,杀回北京!
4楼
多谢啊!我试试看!
奇迹啊,2楼和3楼同时发的贴子(2005-6-6 12:55)
2006年,我要当老板!
2008年,杀回北京!
发表于:2005-06-06 06:00只看该作者
5楼
嘿嘿 缘分啊
遇到矛盾 先站在对方的立场上想想问题,先试着去理解别人
● 如何使用WinMTR查询平台连接流畅度
6楼
就冲这缘分
贴一个以前我自己写的代码,希望有人能用上!
注意:只用于EUR 1H !
用于跟踪徘徊区和突破信号!非常简单的系统!
/*[[
Name := Vicky
Author := Vicky
Link := http://www.vicky.com/
Separate Window := Yes
First Color := Red
First Draw Type := Line
Use Second Data := Yes
Second Color := Blue
Second Draw Type := Line
]]*/
Inputs : AmpPeriod(6);
Variables : shift(0), cnt(0), loopbegin(0), first(True), prevbars(0);
Variables : myhigh(0), mylow(0);
Variables : AmpValue(0), AmpValue2(50);
SetLoopCount(0);
// initial checkings
If AmpPeriod < 1 Then Exit;
// check for additional bars loading or total reloading
If Bars < prevbars Or Bars-prevbars>1 Then first = True;
prevbars = Bars;
If first Then Begin
// loopbegin prevent couning of counted bars exclude current
loopbegin = Bars-AmpPeriod-1;
If loopbegin < 0 Then Exit; // not enough bars for counting
first = False;
End;
// moving average
loopbegin = loopbegin+1; // current bar is to be recounted too
For shift = loopbegin Downto 0 Begin
AmpValue=0;
myhigh= High[shift+cnt];
mylow= Low[shift+cnt];
For cnt = 0 To AmpPeriod-1 Begin
If myhigh < High[shift+cnt] Then myhigh = High[shift+cnt];
If mylow > Low[shift+cnt] Then mylow = Low[shift+cnt];
End;
AmpValue = (myhigh-mylow)*10000;
SetIndexValue(shift,AmpValue);
SetIndexValue2(shift,AmpValue2);
loopbegin = loopbegin-1; // prevent to previous bars recounting
End;
[ Last edited by 老正 on 2005-6-7 at 01:05 ]
2006年,我要当老板!
2008年,杀回北京!
7楼
已经装上飞狐了,请问是哪个功能?
2006年,我要当老板!
2008年,杀回北京!
8楼
哈哈,自己找到了!
未命名.JPG

2006年,我要当老板!
2008年,杀回北京!
发表于:2005-06-06 17:09只看该作者
9楼
谢啦 呵呵
遇到矛盾 先站在对方的立场上想想问题,先试着去理解别人
● 如何使用WinMTR查询平台连接流畅度
发表于:2005-06-16 03:00只看该作者
10楼
上面的代码如何引入?!!
发表于:2005-06-16 05:35只看该作者
11楼
飞狐从哪里下载的?
韬客社区www.talkfx.co