qq_仰望星空_ezv
发表于 2019-10-17 07:43:35
fgigjfiffitifititt
去个名字
发表于 2019-10-18 13:57:05
jjjjjjjjjjjjjjjjj
tyyysun
发表于 2019-10-18 14:35:58
曲线图看着好稳定啊
tyyysun
发表于 2019-10-18 15:36:30
根本就无法使用{:1_171:}
420528
发表于 2019-10-18 15:41:55
//+------------------------------------------------------------------+
//| MA 交叉报警.mq4 |
//| Copyright 2012, MetaQuotes Software Corp. |
//| http://www.metaquotes.net |
//+------------------------------------------------------------------+
#property indicator_chart_window
#property indicator_buffers 2
#property indicator_color1 Red
#property indicator_color2 Red
//---- buffers
double buy[],sell[];
extern int fast=20; extern int slow=50;
double LastAlertTime=0;
//+------------------------------------------------------------------+
//| Custom indicator initialization function |
//+------------------------------------------------------------------+
int init()
{
//---- indicators
SetIndexStyle(0,DRAW_ARROW);
SetIndexArrow(0,233);
SetIndexBuffer(0,buy);
SetIndexEmptyValue(0,0.0);
SetIndexStyle(1,DRAW_ARROW);
SetIndexArrow(1,234);
SetIndexBuffer(1,sell);
SetIndexEmptyValue(1,0.0);
//----
return(0);
}
//+------------------------------------------------------------------+
//| Custor indicator deinitialization function |
//+------------------------------------------------------------------+
int deinit()
{
//----
//----
return(0);
}
//+------------------------------------------------------------------+
//| Custom indicator iteration function |
//+------------------------------------------------------------------+
int start()
{
//----
for (int i=Bars-1;i>=0;i--)
{
if
(
(
iMA(NULL,0,fast,0,MODE_EMA,PRICE_CLOSE,i)<iMA(NULL,0,slow,0,MODE_EMA,PRICE_CLOSE,i)
&&
iMA(NULL,0,fast,0,MODE_EMA,PRICE_CLOSE,i+1)>iMA(NULL,0,slow,0,MODE_EMA,PRICE_CLOSE,i+1)
)
)
{
sell=High+2*Point;
if (i==1 && LastAlertTime!=Time)
{
Alert("Negative Cross");
LastAlertTime=Time;
}
}
if
(
(
iMA(NULL,0,fast,0,MODE_EMA,PRICE_CLOSE,i)>iMA(NULL,0,slow,0,MODE_EMA,PRICE_CLOSE,i)
&&
iMA(NULL,0,fast,0,MODE_EMA,PRICE_CLOSE,i+1)<iMA(NULL,0,slow,0,MODE_EMA,PRICE_CLOSE,i+1)
)
)
{
buy=Low-2*Point;
if (i==1 && LastAlertTime!=Time)
{
Alert("Positive Cross");
LastAlertTime=Time;
}
}
}
//----
return(0);
}
//+------------------------------------------------------------------+
18360912923
发表于 2019-10-18 20:29:27
参与/回复主题关闭
RE: 八个月100美金做到盈利40000美金的Forex PiP Killer EA免费送,无限版 [修
Alqn
发表于 2019-10-19 00:00:53
i love ea so much
shsysbt
发表于 2019-10-19 09:31:08
6565456456465465
qq_大海_jfK
发表于 2019-10-19 18:54:27
啦咯啦咯啦咯啦
cai369047585
发表于 2019-10-21 21:05:03
'
b;n.vcgh;l', cghjgfchhh