Wednesday 5 July 2017

Hull Moving Average Afl For Amibroker


HULL Motivo de mudança para PDI amp MDI O que exatamente você deseja desenhar Você sempre pode traçar PDI MDI com função de plotagem simples conforme abaixo. PPDI PDI (14) Plot (pPDI, quotPDIquot, colorDarkBlue, styleDashed) O Sr. myamit casco média móvel para a função foi a versão organizada da versão AmiBroker 5.40 guia amibroker whatsnew. html HMA (Array, Range) Por exemplo, HMA (C, 5) Descrito. Aqui estão os seus códigos como você deseja. A otimização de Manuel pode ser usada com a guia Parâmetros da variável Range. PPDI PDI (intervalo) HMAPDIHMA (pPDI, intervalo) Plot (C, quotClosequot, colorBlue. StyleCandle styleThick) LengthParam (quotLength quot, 1,1, 500,1) LenghthBParam (quotLengthB, 1,1, 500,1) HMHMA (quotLengthB quot, 1,1, 500,1) HMHMA ( C, Comprimento) Lote (HM, quotAmibreoker 5.40 HMA (C, 50) 50 gnlk HullMoving Média fonksiyonuquot, colorRed, styleLinestyleThickstyleDot s) 12288 SECTIONBEGIN (quotBOLLINGERquot) DisplayBBColor ParamToggle (quotDisplay BB Colorquot, quotNo, Yesquot, 1) BollPeriods LenghthB Param (quotPeriodequot , 20, 0, 200, 1) Width Param (quotStd. Dev. quot, 2, 0, 10, 0.05) ColorBBParamColor (quotBB colorquot, ColorRGB (64,0,0)) TOPBBandTop (C, BollPeriods, Largura) BOTTOMBBandBot ( C, BollPeriods, Largura) ORT (TOPBOTTOM) 2 Plot (C, quotquot, colorWhite, styleCandlestyleThick) Plot (IIf (TOP, Null, BBandTop (C, BollPeriods, Width)), quotBBTopquot PARAMVALUES (), ParamColor (quotColorquot, colorDarkGreen) , StyleThickstyleNoLabel) Plot (IIf (BOTTOM, Null, BBandBot (C, BollPeriods, Width)), quotBBBotquot PARAMVALUES (), ParamColor (quotColorquot, col OuDarkRed), styleThickstyleNoLabel) Plot (ORT, quotquot, colorLime, styleThickstyleDots) PDI amp MDI HMA modificação e exploração RangeParam (quotRangequot, 1,1,50,1) mMDIMDI (intervalo) pPDI PDI (intervalo) HMAPDIHMA (pPDI, intervalo) HMAMDIHMA (MMDI, Range) Plot (HMAPDI, quotPDIquot, colorGreen, styleThickstyleLine) Lote (HMAMDI, quotMDIquot, colorRed, styleThickstyleLine) Última edição por elliot 3 de julho de 2011 às 10:39 PM. Hola olá para todos. Obrigado, encontrei este código que permite traçar a média móvel do Hull, além de um backtest, mas não funciona na versão 5.40. Alguma idéia, obrigado. Função HMA (matriz, período) rápido WMA (matriz, período 2) WMA lento (matriz, período) retorno WMA (2 rápido - lento, sqrt (período)) função TurnUp (matriz) matriz de retorno gt Ref (array, -1) E Ref (array, -1) lt Ref (array, -2) Hrsi RSIa (HMA (Close, 9), 9) Trama (Hrsi, quotHRSI 9 dayquot, colorRed) PlotGrid (20) PlotGrid (45) PlotGrid (50) PlotGrid (90) ApplyStop (stopTypeLoss, stopModePercent, 5) ApplyStop (stopTypeProfit, stopModePercent, 15) Vender Hrsi gt 90 Comprar Fechar gt MA (Fechar, 50) E TurnUp (HMA (Close, 4)) E Ref (Hrsi, -1 ) Lt 50 AND Close gt Ref (Close, -59) SetTradeDelays (1, 1, 1, 1) BuyPrice SellPrice Open SetPositionSize (50, spsPercentOfEquity) Postado originalmente por broker8 Olá, olá para todos. Obrigado, encontrei este código que permite traçar a média móvel do Hull, além de um backtest, mas não funciona na versão 5.40. Alguma idéia, obrigado. Função HMA (matriz, período) rápido WMA (matriz, período 2) WMA lento (matriz, período) retorno WMA (2 rápido - lento, sqrt (período)) função TurnUp (matriz) matriz de retorno gt Ref (array, -1) E Ref (array, -1) lt Ref (array, -2) Hrsi RSIa (HMA (Close, 9), 9) Trama (Hrsi, quotHRSI 9 dayquot, colorRed) PlotGrid (20) PlotGrid (45) PlotGrid (50) PlotGrid (90) ApplyStop (stopTypeLoss, stopModePercent, 5) ApplyStop (stopTypeProfit, stopModePercent, 15) Vender Hrsi gt 90 Comprar Fechar gt MA (Fechar, 50) E TurnUp (HMA (Close, 4)) E Ref (Hrsi, -1 ) Lt 50 E Feche gt Ref (Close, -59) SetTradeDelays (1, 1, 1, 1) BuyPrice SellPrice Open SetPositionSize (50, spsPercentOfEquity)

No comments:

Post a Comment