2楼
怎么都只下不顶呀,,我自己顶。希望高手们帮忙。。。
韬客社区www.talkfx.co
3楼
自己再顶。。。
韬客社区www.talkfx.co
发表于:2010-03-24 06:25只看该作者
4楼
以前见过,还是顶下...
发表于:2010-03-25 08:09只看该作者
5楼
谢谢提供:034:
韬客社区www.talkfx.co
发表于:2010-07-20 08:04只看该作者
7楼
谢谢提供:) 均线为王
韬客社区www.talkfx.co
发表于:2010-07-25 07:34只看该作者
8楼
希望高手们帮忙。。。
韬客社区www.talkfx.co
发表于:2010-08-03 03:35只看该作者
9楼
下了,看看先
韬客社区www.talkfx.co
发表于:2010-08-04 12:23只看该作者
10楼
有图吗,让我来验证下
韬客社区www.talkfx.co
发表于:2010-08-06 05:24只看该作者
11楼
变色太慢:( :(
韬客社区www.talkfx.co
发表于:2013-10-22 02:38只看该作者
12楼
加上报警是很容易的事,不过这个东西,屁用也没用
韬客社区www.talkfx.co
发表于:2013-10-24 12:08只看该作者
13楼
回复下载
韬客社区www.talkfx.co
发表于:2018-07-11 13:59只看该作者
14楼
//compile//
//+------------------------------------------------------------------+
//| EMA_58_Crossover_Alert.mq4 |
//| Copyright 2006, Robert Hill |
//| |
//| Written Robert Hill for use with AIME for the EMA 5/8 cross to |
//| draw arrows and popup alert or send email |
//+------------------------------------------------------------------+
#property copyright "Copyright 2006, Robert Hill"
#property indicator_chart_window
#property indicator_buffers 5
#property indicator_color1 LawnGreen
#property indicator_color2 Red
#property indicator_color3 Red
#property indicator_color4 Aqua
#property indicator_color5 Yellow
#property indicator_width1 2
#property indicator_width2 2
#property indicator_width3 2
#property indicator_width4 2
#property indicator_width5 2
extern bool SoundON=true;
extern bool EmailON=false;
double CrossUp;
double CrossDown;
double Ema5;
double Ema8;
double Ema20;
int flagval1 = 0;
int flagval2 = 0;
//+------------------------------------------------------------------+
//| Custom indicator initialization function |
//+------------------------------------------------------------------+
int init()
{
//---- indicators
SetIndexStyle(0, DRAW_ARROW, EMPTY);
SetIndexArrow(0, 233);
SetIndexBuffer(0, CrossUp);
SetIndexStyle(1, DRAW_ARROW, EMPTY);
SetIndexArrow(1, 234);
SetIndexBuffer(1, CrossDown);
SetIndexStyle(2, DRAW_LINE, STYLE_SOLID);
SetIndexBuffer(2, Ema5);
SetIndexStyle(3, DRAW_LINE, STYLE_SOLID);
SetIndexBuffer(3, Ema8);
SetIndexStyle(4, DRAW_LINE, STYLE_SOLID);
SetIndexBuffer(4, Ema20);
//----
return(0);
}
//+------------------------------------------------------------------+
//| Custom indicator deinitialization function |
//+------------------------------------------------------------------+
int deinit()
{
//----
//----
return(0);
}
//+------------------------------------------------------------------+
//| Custom indicator iteration function |
//+------------------------------------------------------------------+
int start() {
int limit, i, counter;
double tmp=0;
double fastMAnow, slowMAnow, fastMAprevious, slowMAprevious;
double Range, AvgRange;
int counted_bars=IndicatorCounted();
//---- check for possible errors
if(counted_bars<0) return(-1);
//---- last counted bar will be recounted
if(counted_bars>0) counted_bars--;
limit=Bars-counted_bars;
for(i = 1; i <= limit; i++) {
counter=i;
Range=0;
AvgRange=0;
for (counter=i ;counter<=i+9;counter++)
{
AvgRange=AvgRange+MathAbs(High[counter]-Low[counter]);
}
Range=AvgRange/10;
fastMAnow = iMA(NULL, 0, 5, -1, MODE_EMA, PRICE_CLOSE, i);
fastMAprevious = iMA(NULL, 0, 5, -1, MODE_EMA, PRICE_CLOSE, i+1);
slowMAnow = iMA(NULL, 0, 8, 0, MODE_EMA, PRICE_OPEN, i);
slowMAprevious = iMA(NULL, 0, 8, 0, MODE_EMA, PRICE_OPEN, i+1);
Ema20 = iMA(NULL, 0, 20, 0, MODE_EMA, PRICE_CLOSE, i);
Ema5 = fastMAnow;
Ema8 = slowMAnow;
CrossUp = 0;
CrossDown = 0;
if ((fastMAnow > slowMAnow) && (fastMAprevious < slowMAprevious))
{
if (i == 1 && flagval1==0)
{
flagval1=1;
flagval2=0;
if (SoundON) Alert("BUY signal at Ask=",Ask,"\\n Bid=",Bid,"\\n Time=",TimeToStr(CurTime(),TIME_DATE)," ",TimeHour(CurTime()),":",TimeMinute(CurTime()),"\\n Symbol=",Symbol()," Period=",Period());
if (EmailON) SendMail("BUY signal alert","BUY signal at Ask="+DoubleToStr(Ask,4)+", Bid="+DoubleToStr(Bid,4)+", Date="+TimeToStr(CurTime(),TIME_DATE)+" "+TimeHour(CurTime())+":"+TimeMinute(CurTime())+" Symbol="+Symbol()+" Period="+Period());
}
CrossUp = Low - Range*0.75;
}
else if ((fastMAnow < slowMAnow) && (fastMAprevious > slowMAprevious))
{
if (i == 1 && flagval2==0)
{
flagval2=1;
flagval1=0;
if (SoundON) Alert("SELL signal at Ask=",Ask,"\\n Bid=",Bid,"\\n Date=",TimeToStr(CurTime(),TIME_DATE)," ",TimeHour(CurTime()),":",TimeMinute(CurTime()),"\\n Symbol=",Symbol()," Period=",Period());
if (EmailON) SendMail("SELL signal alert","SELL signal at Ask="+DoubleToStr(Ask,4)+", Bid="+DoubleToStr(Bid,4)+", Date="+TimeToStr(CurTime(),TIME_DATE)+" "+TimeHour(CurTime())+":"+TimeMinute(CurTime())+" Symbol="+Symbol()+" Period="+Period());
}
CrossDown = High + Range*0.75;
}
}
return(0);
}
韬客社区www.talkfx.co
发表于:2018-07-25 05:21只看该作者
15楼
在百度上找,有现成的
韬客社区www.talkfx.co
发表于:2018-07-27 15:07只看该作者
16楼
ccccccccccccccc
韬客社区www.talkfx.co