[讨论]短线震荡指标出售2韬客金币
适合中短线,
灵敏度:强
信号数:多
系统平价:中
出售10通宝 :lol
[ 本帖最后由 奔跑中 于 2007-7-30 21:52 编辑 ]
//+------------------------------------------------------------------+ //| ASCTrend1sig_noSound.mq4 //| Ramdass - Conversion only //+------------------------------------------------------------------+ #property indicator_chart_window #property indicator_buffers 2 #property indicator_color1 Magenta #property indicator_color2 Blue //---- input parameters extern int RISK=3; extern int CountBars=300; //---- buffers double val1; double val2; //+------------------------------------------------------------------+ //| Custom indicator initialization function | //+------------------------------------------------------------------+ int init() { //---- indicator line IndicatorBuffers(2); SetIndexStyle(0,DRAW_ARROW); SetIndexArrow(0,234); SetIndexStyle(1,DRAW_ARROW); SetIndexArrow(1,233); SetIndexBuffer(0,val1); SetIndexBuffer(1,val2); //---- return(0); } //+------------------------------------------------------------------+ //| ASCTrend1sig | //+------------------------------------------------------------------+ int start() { if (CountBars>=1000) CountBars=950; SetIndexDrawBegin(0,Bars-CountBars+11+1); SetIndexDrawBegin(1,Bars-CountBars+11+1); int i,shift,counted_bars=IndicatorCounted(); int Counter,i1,value10,value11; double value1,x1,x2; double value2,value3; double TrueCount,Range,AvgRange,MRO1,MRO2; double Table_value2[1000]; value10=3+RISK*2; x1=67+RISK; x2=33-RISK; value11=value10; //---- if(Bars<=11+1) return(0); //---- initial zero if(counted_bars<11+1) { for(i=1;i<=0;i++) val1[CountBars-i]=0.0; for(i=1;i<=0;i++) val2[CountBars-i]=0.0; } //---- shift=CountBars-11-1; while(shift>=0) { Counter=shift; Range=0.0; AvgRange=0.0; for (Counter=shift; Counter<=shift+9; Counter++) AvgRange=AvgRange+MathAbs(High[Counter]-Low[Counter]); Range=AvgRange/10; Counter=shift; TrueCount=0; while (Counter=Range*2.0) TrueCount=TrueCount+1; Counter=Counter+1; } if (TrueCount>=1) {MRO1=Counter;} else {MRO1=-1;} Counter=shift; TrueCount=0; while (Counter =Range*4.6) TrueCount=TrueCount+1; Counter=Counter+1; } if (TrueCount>=1) {MRO2=Counter;} else {MRO2=-1;} if (MRO1>-1) {value11=3;} else {value11=value10;} if (MRO2>-1) {value11=4;} else {value11=value10;} value2=100-MathAbs(iWPR(NULL,0,value11,shift)); // PercentR(value11=9) Table_value2[shift]=value2; val1[shift]=0; val2[shift]=0; value3=0; if (value2 =x2 && Table_value2[shift+i1]<=x1){i1++;} if (Table_value2[shift+i1]>x1) { value3=High[shift]+Range*0.5; val1[shift]=value3; } } if (value2>x1) {i1=1; while (Table_value2[shift+i1]>=x2 && Table_value2[shift+i1]<=x1){i1++;} if (Table_value2[shift+i1]
2楼
有钱的,可以买去测试以下
哎,赌博坑人阿,:N
3楼
这么便宜没人买:N
发表于:2007-07-30 13:04只看该作者
5楼
奔版,赌博坑人啊:L
灌水是皇道
韬客社区www.talkfx.co
发表于:2007-07-30 13:07只看该作者
7楼
我也买了.但看不懂.:L
[ 本帖最后由 博一计 于 2007-7-30 21:08 编辑 ]
发表于:2007-07-30 13:07只看该作者
8楼
你写的程式偶也没看懂,
看在那10个通宝赌本的份上,你举个例子算了
韬客社区www.talkfx.co
9楼
发表于:2007-07-30 13:15只看该作者
10楼
偶努力赚钱买:lol
韬客社区www.talkfx.co
发表于:2007-07-30 13:18只看该作者
12楼
看不懂,怎么用?
记住:不打没把握的仗!爱惜自己的兵!~忍、稳、准、狠~
13楼
发表于:2007-07-30 13:22只看该作者
14楼
记住:不打没把握的仗!爱惜自己的兵!~忍、稳、准、狠~
发表于:2007-07-30 13:23只看该作者
15楼
老大,应该是个附件(程序),拷到mt4的文件夹下吧?
你这是文本啊!
[size=2][color=blue]原谅我这一生不羁放纵爱自由,也会怕有一天会跌倒[/color][/size]
16楼
俺要说明一下,这个系统,适合短线,效果一般,
20点止赢的话,胜率很高,再远了就不好说了
18楼
发表于:2007-07-30 13:27只看该作者
19楼
:lol :victory: 赶紧回几个帖 赚回来;P
韬客社区www.talkfx.co