[MT4指标]Beginner指示指标
Beginner指示主图指标
在判断趋势上还是有一定作用的
mt4指标类型:趋势指标
是否能用在mt4手机版上:否
是否含有未来函数:无
//+------------------------------------------------------------------+
//|                                           Beginner.mq4 |
//|          Copyright ? 2007 |
//|                                                                  |
//|                                                                  |
//|                                                                  |
//| 翔  镳钽疣祆? 磬 玎赅?                                          |
//+------------------------------------------------------------------+
#property copyright "Copyright ? 2007, Heaven"
#property link      "http://Beginner.com"
#property indicator_chart_window
#property indicator_buffers 2
#property indicator_color1 Blue
#property indicator_color2 Red
#define  SH_BUY   1
#define  SH_SELL  -1
//---- 迈钿睇? 镟疣戾蝠?
extern bool SoundON=true;
extern int     AllBars=0;//碾? 耜铍 ? 徉痤? 聍栩囹?. 0 - 潆? 怦艴.
extern int     Otstup=30;//悟耱箫.
extern double  Per=9;//襄痂钿.
int            SH,NB,i,UD;
double         R,SHMax,SHMin;
double         BufD;
double         BufU;
int flagval1 = 0;
int flagval2 = 0;
//+------------------------------------------------------------------+
//| 泽黻鲨? 桧桷栲腓玎鲨?                                            |
//+------------------------------------------------------------------+
int init()
{
   //? NB 玎镨覃忄屐 觐腓麇耱忸 徉痤? 潆? 觐蝾瘥? 聍栩噱? 桧滂赅蝾?
   if (BarsBars-CB) NB=Bars-CB;
   for (SH=1;SH
 











