[MT4指标]这是个什么指标,有人知道吗
21楼 电梯直达
//+------------------------------------------------------------------+
//| MrBean.mq4 |
//| Copyright ?2004, Fourway Software Corp. |
//| http://www.fourway.com |
//+------------------------------------------------------------------+
#property copyright "Copyright ?2004, Fourway Software Corp."
#property link "http://www.fourway.com"
#property indicator_chart_window
#property indicator_buffers 2
#property indicator_color1 DarkSalmon
#property indicator_color2 CornflowerBlue
//---- input parameters
extern int ExtParam1=5;
extern int ExtParam2=13;
//---- buffers
double ExtMapBuffer1;
double ExtMapBuffer2;
//+------------------------------------------------------------------+
//| Custom indicator initialization function |
//+------------------------------------------------------------------+
int init()
{
//---- indicators
SetIndexStyle(0,DRAW_HISTOGRAM);
SetIndexDrawBegin(1,ExtParam1);
SetIndexBuffer(0,ExtMapBuffer1);
SetIndexStyle(1,DRAW_HISTOGRAM);
SetIndexDrawBegin(1,ExtParam2);
SetIndexBuffer(1,ExtMapBuffer2);
//----
return(0);
}
//+------------------------------------------------------------------+
//| Custor indicator deinitialization function |
//+------------------------------------------------------------------+
int deinit()
{
//---- TODO: add your code here
//----
return(0);
}
//+------------------------------------------------------------------+
//| Custom indicator iteration function |
//+------------------------------------------------------------------+
int start()
{
int limit;
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(int i=0; i
22楼
呵呵,那真不好意思,是不是这个公式,那请问怎么把他装进软件呢
趋势+K线战法+资金管理
24楼
你是用MT3.8还是MT4,我放进MT4,好象有提示错误,MT3可以用吗
26楼
怎么样把K线去掉,弄成你那样的 .谢谢
发表于:2006-08-11 11:57只看该作者
27楼
有k线也不错...
http://www.talkforex.com/blog/?23518
28楼
呵呵,那算了,谢谢你了
趋势+K线战法+资金管理
发表于:2006-08-11 12:09只看该作者
29楼
好的指标不会外传的,我不用什么指标
趋势就是命运!!!!!!
发表于:2006-08-11 12:15只看该作者
30楼
不用指标???看k线难道不是??k线也算一中指标
http://www.talkforex.com/blog/?23518