`
walksing
  • 浏览: 217796 次
  • 性别: Icon_minigender_1
  • 来自: 深圳
社区版块
存档分类
最新评论

MT4自带指标的理解

 
阅读更多
MT4自带指标的理解  2010-05-13 21:28:58|  分类: 默认分类 |  标签:自带指标简介   |字号大中小 订阅 .

加减速震荡:  AC= iAC(币,框,移);                                                                                                                                     /*释
  均差= Ma(中价,5) -Ma(中价,34);
  再均= 均差 -Ma(均差,5);
  AC= 均差 -再均;                                                                                                                                                   */
离散:  AD= iAD(币,框,移);                                                                                                                                          /*释
  值= ((C-L) -(H-C)) *VOL/(H-L);
  AD= 值 +REF(值,1);                                                                                                                                                */
鳄鱼= iAlligator(币,框,颌周,颌移,牙周,牙移,唇周,唇移,均类,用价,选模,移);                                                                                            /*释
  蓝颌= REF( Ma(中价,13),8);
  红牙= REF( Ma(中价,8 ),5);
  绿唇= REF( Ma(中价,5 ),3);                                                                                                                                         */
动向:  ADX= iADX(币,框,周,用价,选项,移);                                                                                                                           /*释
  真幅和= SUM(MAX(MAX((H -L), ABS(H -REF(C,1))),ABS(REF(C,1) -L)),14);
  HD= H -REF(H,1);
  LD= REF(L,1) -L;
  DMP= SUM(IF(HD>0 && HD>LD, HD, 0), 14);
  DMM= SUM(IF(LD>0 && LD>HD, LD, 0), 14);
  正DI= DMP*100/真幅和;
  负DI= DMM*100/真幅和;                
  ADX= Ma(ABS(正DI -负DI)/(正DI +负DI), 14);                                                                                                                         */
平均波幅:  ATR= iATR(币,框,周,移);                                                                                                                                 /*释
  A= Max(H, REF(C,1)) -Min(L, REF(C,1));
  ATR= Ma(A, 14);                                                                                                                                                    */
震荡:  AO                                                                                                                                                           /*释
  AO= Ma(中价,5) -Ma(中价,34);                                                                                                                                      */
熊力:  Bears= iBearsPower(币,框,周,用价,移);                                                                                                                       /*释
  熊力= L -Ma(C,13);                                                                                                                                                  */
布林:  Boll= iBands(币,框,周,偏差,布林移,用价,选项,移);                                                                                                            /*释
  均线= Ma(C,20);
  标偏= SQRT(SUM[(C -Ma(C, N))^2, N]/N)
  上轨= 均线 +(D*标偏);
  下轨= 均线 -(D*标偏);                                                                                                                                              */
牛力:  Bulls= iBullsPower(币,框,周,用价,移);                                                                                                                      /*释
  牛力= H -Ma(C,13);                                                                                                                                                 */
商品通道:  CCI= iCCI(币,框,周,用价,移) ;                                                                                                                          /*释
  距离= 典型价 -Ma(典型价, N);
  M= Ma(距离, N) *0,015;
  CCI = M/距离;                                                                                                                                                    */
DeMarker:  DeM= iDeMarker(币,框,周,移);                                                                                                                           /*释
  若增高= if( H0>H1, (H0 -H1), 0 );
  若减低= if( L0<L1, (L1 -L0), 0 );
  DEM= Ma(若增高, N)/(Ma(若减低, N) +Ma(若增高, N));//青线                                                                                                        */
通道= iEnvelopes(币,框,均周,均类,均移,用价,偏差,选项,移);                                                                                                            /*释
  上轨= Ma(C,N) *[1 +K/1000];
  下轨= Ma(C,N) *[1 -K/1000];                                                                                                                                       */
强力: 强力= iForce(币,框,周,均类,用价,移);                                                                                                                        /*释
  强力= (Ma0 -Ma1) *VOL;                                                                                                                                           */
分形= iFractals(币,框,选项,移);                                                                                                                                    /*释  
  if( H[i+2]<H && H[i+1]<H  && H>H[i-1] && H>H[i-2], H, 0 );
  if( L[i+2]>L && L>[i+1]L  && L<L[i-1] && L<L[i-2], L, 0 );                                                                                                         */
云图:  iIchimoku(币,框, 红t周, 蓝k周, 云用周,选项,移);                                                                                                            /*释
  基准蓝K线= (HHV(H,蓝k周) +LLV(L,蓝k周))/2;
  转折红t线= (HHV(H,红t周) +LLV(L,红t周))/2;
  先上褐色线= REF((极中价蓝k周 +极中价9)/2,26);
  先下蓟色线= REF((HHV(H,52) +LLV(L,52))/2,26);
  if(先上褐色线>先下蓟色线, 先上褐色线, 先下蓟色线);
  if(先下蓟色线>先上褐色线, 先上褐色线, 先下蓟色线);
  延迟线绿线:REFX(C,26);                                                                                                                                             */
市场促进  BWMF= iBWMFI(币,框,移);                                                                                                                                    /*释
  BWMFI= RANGE *(H-L) /VOL;                                                                                                                                          */
Momentum: MOM= iMomentum(币,框,周,用价,移);                                                                                                                        /*释
  MOM= C/REF(C,N) *100;                                                                                                                                              */
资金流量:  MFI= iMFI(币,框,周,移);                                                                                                                                   /*释
  MF= 典型价 *VOL;
  MR= 正MF/负MF;
  MFI= 100 -(100/(1+MR));                                                                                                                                             */
均线:  Ma= iMA(币,框,周,均移,均类,用价,移);                                                                                                                          /*释
  SMA= SUM(C,N)/N;
  EMA= C*P +REF(EMA,1)*(1-P);
  SMMA= (REF(SMMA,1)*(N-1) +C)/N;
  LWMA= SUM(C*i,N)/SUM(i,N);                                                                                                                                          */
OsMA:  均线震荡                                                                                                                                                     /*释
  OSMA= MACD -SIGNAL;                                                                                                                                                 */
Macd= iMACD(币,框,快周,慢周,信周,用价,选项,移);                                                                                                                      /*释
  MACD= EMA(CLOSE, 12) -EMA(CLOSE, 26);
  SIGNAL= Ma(MACD, 9);                                                                                                                                                */
能量潮:  OBV= iOBV(币,框,用价,移);                                                                                                                                    /*释
  if(C>REF(H,1))   OBV= REF(OBV,1) +VOL;
  if(C<REF(L,1))   OBV= REF(OBV,1) -VOL;
  if(C>REF(C,1))   OBV= REF(OBV,1);                                                                                                                                   */
抛物转向  SAR= iSAR(币,框,步幅,极值,移);                                                                                                                            /*释
  SAR(i)= REF(SAR,1) +加速因子*(前个高或低 -REF(SAR,1));                                                                                                             */
相对强弱: RSI= iRSI(币,框,周,用价,移);                                                                                                                              /*释
  RSI= 100 -(100/(1 +正值平均数/负值平均数));                                                                                                                          */
相对活力指标:  RVI= iRVI(币,框,周,选项,移);                                                                                                                         /*释
  RVI= (C-O)/(H-L);                                                                                                                                                    */
标准偏差:  标偏= iStdDev(币,框,均周,均移,均类,用价,移);                                                                                                            /*释
  StdDev (i)= SQRT (AMOUNT (j= i-N, i)/N);
  AMOUNT (j= i-N, i)= SUM ((ApPRICE (j) -Ma (ApPRICE (i), N, i)) ^ 2);                                                                                               */
随机:  KD= iStochastic(币,框,K周,D周,滑周,均类,用价,选项,移);                                                                                                         /*释
  %K= (C-LLV)/(HHV-LLV) *100;
  %D= Ma(%K, N);                                                                                                                                                      */
威廉:  WPR= iWPR(币,框,周,移);                                                                                                                                       /*释
  威廉= (HHV-C)/(HHV-LLV)  *100 *(-1);                                                                                                                                 */
分享到:
评论

相关推荐

    MT4源代码_MACD_M15

    ### MT4源代码_MACD_M15:详细解析与知识点 ...综上所述,“MT4源代码_MACD_M15”是一个功能强大且易于理解的技术指标,通过深入了解其原理和应用场景,交易者可以更好地利用这一工具辅助自己的交易决策。

    下单自带盈损_MT4下单面板_MT4ea下单面版_下单面板_

    在压缩包的文件名称列表中,“下单自带盈损.ex4”是一个MT4的可执行文件,通常代表一个编译后的EA或指标。.ex4文件是二进制格式,包含了编程代码和资源,可以直接在MT4平台上加载使用。在本例中,这可能是一个自定义...

    MT4indicatorCodeReading:MT4自带指标原始代码注释

    本文将深入解析MT4自带指标的原始代码,帮助交易者和程序员理解这些指标的工作原理,以便进行自定义修改或开发新的指标。 MT4指标代码通常采用MQL4语言编写,这是一种基于C语言的编程语法。通过阅读和理解这些原始...

    MT4平台自带的EA:Moving Average详解

    ### MT4平台自带的EA:Moving Average详解 #### 一、引言 在外汇交易领域,MetaTrader 4(简称MT4)是最为流行的交易平台之一。对于自动化交易爱好者来说,MT4内置的专家顾问(Expert Advisor,简称EA)提供了一种...

    MT4双线MACD.7z

    MT4自带的MACD指标通常是单线形式,即快线(信号线)和慢线(MACD线)相交,形成买入和卖出信号。然而,双线MACD指标在原有的基础上增加了另一条线,通常是将信号线与MACD线的差值作为第二条线,从而提供更丰富的...

    MT4EA编程教程

    MT4平台自带的策略测试器可以进行这个任务。通过回测,交易者可以评估EA的盈利能力、风险控制能力等指标。如果结果不满意,可以通过调整参数或改进交易逻辑来进行优化。 **实战应用** 除了理论知识,学习MT4EA编程...

    MT4-学习自己编写EA总结篇_ea_EA快速入手_MT4-学习自己编写EA总结篇_

    MT4自带的MQL4代码编辑器可以帮助你编写和测试代码。 2. **理解交易函数**:理解如`OrderSend()`、`OrderClose()`等用于下单和平仓的函数,以及`Symbol()`、`Period()`等获取市场信息的函数。 3. **图表对象和指标**...

    NewTrend_v1 - MetaTrader 4脚本.zip

    内置指标是MT4自带的一系列经典技术分析工具,如移动平均线、MACD、RSI等;而自定义指标,如NewTrend_v1,是由开发者根据特定的交易策略编写,提供更为个性化的市场分析。 NewTrend_v1的核心在于趋势的判断。在金融...

    MC - MetaTrader 4脚本.zip

    如果脚本没有自带说明,理解其内部工作原理可能需要一些MQL4编程基础或借助于反编译工具来查看源代码。此外,对于想要学习MQL4的初学者,了解基本的编程概念、函数库以及MT4的交易模型是必不可少的。 总之,"MC - ...

    MQL4语言开发课程

    2. **便捷方式**:直接使用MT4平台自带的MetaEditor。这种方式简化了代码编辑和编译流程,特别适合MQL4初学者。MetaEditor集成了语法高亮、错误检查和即时编译等功能,极大地提高了开发效率。 #### 四、MQL4的学习...

    CCI 简单实验 - MetaTrader 5脚本.zip

    理解并应用这个"CCI简单实验"脚本,交易者可以进一步优化自己的交易策略,利用自适应周期的CCI指标提高交易决策的精准度。然而,实际应用前,需对脚本进行详细研究和测试,确保在不同市场条件下都能稳定运行。

Global site tag (gtag.js) - Google Analytics