分享:1hour 图表交易系统 平台MT3.85
发表于:2005-05-27 13:41只看该作者
21楼 电梯直达
Originally posted by FireFox at 2005-5-8 13:02 http://us.f2.yahoofs.com/bc/427d95c9_aa66/bc/forex/1hour.zip?bfipZfCBNA0brdE2 (地址无效,请看楼下) 我的yahoo公文包,也不知道行不行,我自己测试,直接可以下载的,要是论坛可以上传zip文 ...
发表于:2005-05-27 15:54只看该作者
22楼
楼主,怎么看买入点和卖出点呢?
韬客社区www.talkfx.co
23楼
Originally posted by 海洋 at 2005-5-27 21:41 请问楼主在MT4里如何设置
24楼
Originally posted by bin9420 at 2005-5-27 23:54 楼主,怎么看买入点和卖出点呢?
发表于:2005-10-01 14:09只看该作者
25楼
谢谢
韬客社区www.talkfx.co
发表于:2005-10-02 12:10只看该作者
26楼
虽然还不懂里面的详细交易原理 但还是谢谢帖主了 我要慢慢学学
莫谓祸生无本须知福至有因
发表于:2005-10-05 04:21只看该作者
27楼
不错吗.非常好........
发表于:2006-10-12 07:55只看该作者
30楼
请老正斑竹及楼主把主图的公式做成MT4的.谢谢了!!
我在mt4中加入摸板后,不能使用,
另外十分感谢楼主的奉献精神,十分钦佩!!
韬客社区www.talkfx.co
发表于:2006-10-12 15:21只看该作者
31楼
主图的一个指标的MT4的版本
BrainTrend2StopLine
就是线的那个
//+------------------------------------------------------------------+
//| BrainTrend2StopLine.mq4 |
//| |
//| |
//+------------------------------------------------------------------+
#property copyright "Copyright ?2005, MetaQuotes Software Corp."
#property indicator_chart_window
#property indicator_buffers 2
#property indicator_color1 Blue
#property indicator_color2 Red
//---- input parameters
extern int NumBars=500;
extern int EnableAlerts=0;
//---- buffers
double ExtMapBuffer1;
double ExtMapBuffer2;
double spread;
//+------------------------------------------------------------------+
//| Custom indicator initialization function |
//+------------------------------------------------------------------+
int init()
{
//---- indicators
SetIndexStyle(0,DRAW_LINE);
SetIndexBuffer(0,ExtMapBuffer1);
SetIndexEmptyValue(0,0.0);
SetIndexStyle(1,DRAW_LINE);
SetIndexBuffer(1,ExtMapBuffer2);
SetIndexEmptyValue(1,0.0);
spread=MarketInfo(Symbol(),MODE_SPREAD)*Point;
//----
return(0);
}
//+------------------------------------------------------------------+
//| Custor indicator deinitialization function |
//+------------------------------------------------------------------+
int deinit()
{
//----
//----
return(0);
}
//+------------------------------------------------------------------+
//| Custom indicator iteration function |
//+------------------------------------------------------------------+
int start() {
int counted_bars=IndicatorCounted();
int artp=7;
double cecf=0.7;
int satb=2000;
int Shift=0;
bool river=True;
double Emaxtra=0;
double widcha=0;
double TR=0;
double Values[100];
int glava=0;
double ATR=0;
int J=0;
double Weight=0;
double r=0;
double r1=0;
int p=0;
int Curr=0;
double Range1=0;
double s=2;
double f=10;
double value3=0;
double h11=0;
double h12=0;
double h13=0;
double const=0;
double orig=0;
double st=0;
double h2=0;
double h1=0;
double h10=0;
double sxs=0;
double sms=0;
double temp=0;
double h5=0;
double r1s=0;
double r2s=0;
double r3s=0;
double r4s=0;
double pt=0;
double pts=0;
double r2=0;
double r3=0;
double r4=0;
double tt=0;
if (Bars < NumBars) satb = Bars; else satb = NumBars;
if (Close[satb - 2] > Close[satb - 1]) river = True; else river = False;
Emaxtra = Close[satb - 2];
for (Shift = satb - 3; Shift>=0; Shift--) {
TR = spread + High[Shift] - Low[Shift];
if (MathAbs(spread + High[Shift] - Close[Shift + 1]) > TR) TR = MathAbs(spread + High[Shift] - Close[Shift + 1]);
if (MathAbs(Low[Shift] - Close[Shift + 1]) > TR) TR = MathAbs(Low[Shift] - Close[Shift + 1]);
if (Shift == satb - 3) {
for (J = 0; J<=artp - 1; J++) { Values[J] = TR; }
}
Values[glava] = TR;
ATR = 0;
Weight = artp;
Curr = glava;
for (J = 0; J<=artp - 1; J++) {
ATR += Values[Curr] * Weight;
Weight -= 1;
Curr -= 1;
if (Curr == -1) Curr = artp - 1;
}
ATR = 2.0 * ATR / (artp * (artp + 1.0));
glava += 1;
if (glava == artp) glava = 0;
widcha = cecf * ATR;
if (river && Low[Shift] < Emaxtra - widcha) {
river = False;
Emaxtra = spread + High[Shift];
}
if (!river && spread + High[Shift] > Emaxtra + widcha) {
river = True;
Emaxtra = Low[Shift];
}
if (river && Low[Shift] > Emaxtra) {
Emaxtra = Low[Shift];
}
if (!river && spread + High[Shift] < Emaxtra) {
Emaxtra = spread + High[Shift];
}
Range1 = iATR(NULL,0,10,Shift)+spread/10.0;
if (river) {
if (Low[Shift] - Range1 * s < r && r != 0) r1 = r; else r1 = Low[Shift] - Range1 * s / 3.0;
if (p == 2) r1 = Low[Shift] - Range1 * s / 3.0;
ExtMapBuffer1[Shift]=r1;
ExtMapBuffer2[Shift]=0;
r = r1;
p = 1;
} else {
if (spread + High[Shift] + Range1 * s > r && r != 0) r1 = r; else r1 = spread + High[Shift] + Range1 * s / 3.0;
if (p == 1) r1 = spread + High[Shift] + Range1 * s / 3.0;
ExtMapBuffer1[Shift]=0;
ExtMapBuffer2[Shift]=r1;
r = r1;
p = 2;
}
}
}
韬客社区www.talkfx.co
发表于:2006-10-18 06:52只看该作者
32楼
请作成mt4的摸版,谢谢!!
我用在3.86中可以正常显示
韬客社区www.talkfx.co
发表于:2006-10-22 19:44只看该作者
33楼
谢谢楼主、班竹和其他热心的同志们。
韬客社区www.talkfx.co
发表于:2007-05-06 16:00只看该作者
34楼
谢谢
韬客社区www.talkfx.co
发表于:2010-05-27 17:12只看该作者
35楼
的确蛮系统地,时间是1小时图比较适合短线.及比较平衡的市况.
发表于:2017-06-17 03:43只看该作者
36楼
6666
韬客社区www.talkfx.co