发表于:2008-02-28 14:23只看该作者
42楼
谢谢 已经下了 安装了都 哈哈
韬客社区www.talkfx.co
发表于:2008-11-07 06:54只看该作者
43楼
谢谢楼主:)
韬客社区www.talkfx.co
发表于:2008-11-18 04:06只看该作者
44楼
严重感谢老正!
解决了我一个大老难问题:P
有钱人不下大赌注,也不会每天下注!
发表于:2008-11-19 08:44只看该作者
45楼
韬客社区www.talkfx.co
发表于:2008-12-03 08:33只看该作者
47楼
不错:) ,收下了,谢谢楼主:P
韬客社区www.talkfx.co
发表于:2008-12-08 06:49只看该作者
48楼
厉害~顶!再次感谢楼主!
韬客社区www.talkfx.co
发表于:2008-12-14 12:53只看该作者
49楼
感谢老正:038: :038:
发表于:2009-02-08 03:10只看该作者
50楼
哈哈,找到组织了
对市场,常怀感激的泪水……
发表于:2009-02-17 03:03只看该作者
53楼
我在自定义里找不到MACD_talkforex_rick_321这个名字,怎么办啊,谁能帮帮我,
韬客社区www.talkfx.co
发表于:2009-03-31 05:33只看该作者
54楼
对不起,您的操作将会导致您的 金钱 低于系统规定的下限值 0 韬客通宝,请返回修正后重新提交。:(
韬客社区www.talkfx.co
发表于:2009-12-17 17:31只看该作者
56楼
#property copyright "Copyright ?2009, MetaQuotes Software Corp."
#property link "http://www.metaquotes.net"
//---- indicator settings
#property indicator_separate_window
#property indicator_buffers 6
#property indicator_color1 Lime
#property indicator_color2 Violet
#property indicator_color3 Red
#property indicator_color4 SteelBlue
#property indicator_color5 GreenYellow
#property indicator_color6 Red
#property indicator_width1 2
#property indicator_width2 2
#property indicator_width3 2
#property indicator_width4 2
#property indicator_width5 1
#property indicator_width6 1
//---- indicator buffers
extern int TimeFrame = 0;
extern int FastMA_Period=12;
extern int SlowMA_Period=26;
extern int SignalMA_Period=9;
extern int FastMA_Mode=1;
extern int SlowMA_Mode=1;
extern int SignalMA_Mode=0;
extern int FastMA_Price=0;
extern int SlowMA_Price=0;
//extern int SignalMA_Price=0; // ma on array - price Close only
extern double OsmaMultiplier = 1.8;
extern bool ShowOsMA_Histo = true;
extern bool ShowMACD_Histo = false;
extern int MaxBarsToCount = 15000;
extern string note_TimeFrames = "M1;5,15,30,60H1;240H4;1440D1;10080W1;43200MN|0-CurrentTF";
extern string note_AppliedPrice = "0C,1O 2H3L,4Md 5Tp 6WghC: Md(HL/2)4,Tp(HLC/3)5,Wgh(HLCC/4)6";
extern string note_MA_Mode = "SMA0 EMA1 SMMA2 LWMA3";
extern string note_defaults = "AO:34,5;SMA;PriceMedian(4);MACD 12 26 9 EMA Close;SignalLinePrice- Close only(MaOnArray) ";
double ind_buffer1, ind_buffer1s;
double ind_buffer2, ind_buffer2s;
double ind_buffer3;
double ind_buffer4;
double ind_buffer5;
double ind_buffer6;
//+------------------------------------------------------------------+
//| Custom indicator initialization function |
//+------------------------------------------------------------------+
int init()
{
//---- additional buffer used for counting.
IndicatorBuffers(8);
//---- drawing settings
SetIndexStyle(0,DRAW_HISTOGRAM);
SetIndexStyle(1,DRAW_HISTOGRAM);
SetIndexStyle(2,DRAW_HISTOGRAM);
SetIndexStyle(3,DRAW_HISTOGRAM);
SetIndexStyle(4,DRAW_LINE);
SetIndexStyle(5,DRAW_LINE);
IndicatorDigits(Digits+2);
SetIndexDrawBegin(0,SlowMA_Period);
SetIndexDrawBegin(1,SlowMA_Period);
SetIndexDrawBegin(2,SlowMA_Period);
SetIndexDrawBegin(3,SlowMA_Period);
SetIndexDrawBegin(4,SlowMA_Period);
SetIndexDrawBegin(5,SlowMA_Period);
//---- indicator buffers mapping
SetIndexBuffer(0,ind_buffer1) ;
//---- indicator buffers mapping
if(!SetIndexBuffer(0,ind_buffer1) &&
!SetIndexBuffer(1,ind_buffer1s) &&
!SetIndexBuffer(2,ind_buffer2) &&
!SetIndexBuffer(3,ind_buffer2s) &&
!SetIndexBuffer(4,ind_buffer3) &&
!SetIndexBuffer(5,ind_buffer4) &&
!SetIndexBuffer(6,ind_buffer5) &&
!SetIndexBuffer(7,ind_buffer6))
Print("cannot set indicator buffers!");
switch(TimeFrame)
{
case 1: string TimeFrameStr = "M1"; break;
case 5 : TimeFrameStr = "M5"; break;
case 15 : TimeFrameStr = "M15"; break;
case 30 : TimeFrameStr = "M30"; break;
case 60 : TimeFrameStr = "H1"; break;
case 240 : TimeFrameStr = "H4"; break;
case 1440 : TimeFrameStr = "D1"; break;
case 10080 : TimeFrameStr = "W1"; break;
case 43200 : TimeFrameStr = "MN1"; break;
default : TimeFrameStr = "CurrTF";
}
//---- name for DataWindow and indicator subwindow label
SetIndexLabel(0,"");
SetIndexLabel(1,"");
SetIndexLabel(2,"");
SetIndexLabel(3,"");
SetIndexLabel(4,"MACD");
SetIndexLabel(5,"SigL");
IndicatorShortName("MACD_OsMA ["+TimeFrameStr+"] ("+FastMA_Period+","+SlowMA_Period+","+SignalMA_Period+")");
if (TimeFrame < Period()) TimeFrame = Period();
//---- initialization done
return(0);
}
//+------------------------------------------------------------------+
//| Awesome Oscillator |
//+------------------------------------------------------------------+
int start()
{
double prev,current;
datetime TimeArray,TimeArray1;
int i,limit,y=0,counted_bars=IndicatorCounted();
//---- last counted bar will be recounted
ArrayCopySeries(TimeArray, MODE_TIME,Symbol(),TimeFrame);
ArrayCopySeries(TimeArray1, MODE_TIME,Symbol(),TimeFrame);
if(counted_bars>0) counted_bars--;
limit= Bars-counted_bars;
limit= MathMax(limit,TimeFrame/Period());
limit= MathMin(limit,MaxBarsToCount);
for(i=0,y=0; i=0;i--)
{
ind_buffer1 =0.0;
ind_buffer1s=0.0;
ind_buffer2 =0.0;
ind_buffer2s=0.0;
if (ShowOsMA_Histo)
{
current=ind_buffer6;
prev=ind_buffer6[i+1];
}
if (ShowMACD_Histo)
{
current=ind_buffer3;
prev=ind_buffer3[i+1];
}
if(current>prev) up=true;
if(current 0)
{
ind_buffer1=current;
ind_buffer1s=0.0;
ind_buffer2 =0.0;
ind_buffer2s=0.0;
}
else
{
ind_buffer1 =0.0;
ind_buffer1s=current;
ind_buffer2 =0.0;
ind_buffer2s=0.0;
}
}
else
{
if(current < 0)
{
ind_buffer1 =0.0;
ind_buffer1s=0.0;
ind_buffer2 =current;
ind_buffer2s=0.0;
}
else
{
ind_buffer1 =0.0;
ind_buffer1s=0.0;
ind_buffer2 =0.0;
ind_buffer2s=current;
}
}
}
for (i=0;i
韬客社区www.talkfx.co
发表于:2012-02-22 16:22只看该作者
57楼
谢谢啊,这个论坛是我看过最好的外汇论坛,我的外汇生涯很有幸从这里开始
韬客社区www.talkfx.co
发表于:2014-09-12 16:32只看该作者
58楼
求高手解决!!
韬客社区www.talkfx.co
发表于:2015-04-26 14:59只看该作者
59楼
真是好东西啊,,谢谢:)
韬客社区www.talkfx.co
发表于:2015-05-02 17:15只看该作者
60楼
灌水赚通宝,谢谢
韬客社区www.talkfx.co