发表于:2012-09-10 13:40只看该作者
2楼
韬客社区www.talkfx.co
发表于:2012-09-10 13:40只看该作者
3楼
//+------------------------------------------------------------------------+
//| BIAS.mq4 |
//| Copyright ?2011, MetaQuotes Software Corp. |
//| http://www.sedofx.com/ |
//+----------------------------------------------------------------------------+
#property copyright "Copyright ?2011, MetaQuotes Software Corp."
#property link "http://www.sedofx.com/"
#property indicator_separate_window
#property indicator_buffers 3
#property indicator_color1 Aqua
#property indicator_color2 Magenta
#property indicator_color3 Yellow
//---- input parameters
extern int Day1st=6;
extern int Day2nd=12;
extern int Day3rd=24;
//---- buffers
double ExtShortBuffer;
double ExtMedBuffer;
double ExtLongBuffer;
//+------------------------------------------------------------------+
//| Custom indicator initialization function |
//+------------------------------------------------------------------+
int init()
{
//---- indicators
SetIndexStyle(0,DRAW_LINE);
SetIndexBuffer(0,ExtShortBuffer);
SetIndexStyle(1,DRAW_LINE);
SetIndexBuffer(1,ExtMedBuffer);
SetIndexStyle(2,DRAW_LINE);
SetIndexBuffer(2,ExtLongBuffer);
//----
return(0);
}
//+------------------------------------------------------------------+
//| Custom indicator deinitialization function |
//+------------------------------------------------------------------+
int deinit()
{
//----
//----
return(0);
}
//+------------------------------------------------------------------+
//| Custom indicator iteration function |
//+------------------------------------------------------------------+
int start()
{
int counted_bars=IndicatorCounted();
if(counted_bars<0) return(-1);
int posi=Bars-Day3rd;
//----
if(counted_bars>0) counted_bars--;
posi=Bars-counted_bars;
for(int i=0;i
韬客社区www.talkfx.co
4楼
THANKS
我還有一個問题,
double iFractals( string symbol, int timeframe, int mode, int shift)
double UH1=iFractals(NULL,PERIOD_H1,MODE_UPPER,0);
Comment( "\n","UP =?",UH1)
不知道為什麼UH1=0
发表于:2012-09-12 05:24只看该作者
5楼
当了将军的士兵不再是好士兵!
发表于:2013-10-24 13:08只看该作者
7楼
回复下载
韬客社区www.talkfx.co