Friday 13 October 2017

Nifty intraday trading system afl no Brasil


Hoje estou postando um Amibroker AFL para negociação Intraday pode ser usado para Nifty e Liquid Stocks. Eu tenho-o de um fórum da Internet. Eu realmente não sei quem é seu autor. Mas consiste em muitos codificação. Sistema de Negociação Intraday Para Nifty e Stocks: - Dá Automatic Buy e Sell Signals, Targets e Stoploss não são dadas. Assim, ele pode ser usado como sistema de negociação SAR (Stop and Reverse) significa que você tem que inverter a posição quando disparos de sinal oposto. Eu não testei por muitos dias, mas dá bons sinais em tendências e mercados voláteis para o lucro bom hortelã. Recomendado intervalo de tempo: - 5 Min, ou 15 Min Heiken Ashi é usado, NMA também usado nele, Perfil do Mercado também usado tantos códigos em uma AFL. Com este sistema uma vez que o sinal veio não desaparece como muitos outros sistemas. Sempre espere a vela de 5 min para completar e você pode tentar obter preço baixo do que o preço do sinal. Você pode fazer suas próprias personalizações. Teste antes de usar. Lembre-se que não há santo graal. Updated 11-Jan-2017: - Magnified Market Price Added. Para Mais Leitura, AFLs e Indicadores, Amibroker, Sistema de Negociação Intraday, Sistema de Negociação Nifty, Sistema de Negociação Stocks 0 comentários: Postar um comentário Os seus comentários e poucas palavras me ajuda a fazer melhor trabalho. Você também pode receber atualizações gratuitas por e-mail: Receba atualizações gratuitas Man Behind TraderAdda SAM. Um graduado em Ciências é um blogger a tempo parcial e comerciante profissional de tempo integral da Índia. Na TraderAdda ele escreve sobre Trading Systems, Amibroker Indicadores e AFLs, Trading Ebooks, Trading Recursos, Nifty Intraday Levels, Nifty Positional View, e muitos mais outros recursos de negociação. Sua área de interesse são Análise Técnica, Desenvolvimento de Estratégias de Negociação, Blogging, Gadgets e Leitura. Espero que você encontrará TraderAdda útil. Seus comentáriosSugestõesFeedback é importante para nós. Total de páginas vistas Protegido Site-Não Copiar Trader Adda Ultimate Trading Resources 2017-12 Trader Adda Ultimate Trading Recursos. Os artigos não podem ser reproduzidos sem permissão do author. Amazing AFL para NIFTY Intraday Trading Amazing AFL para NIFTY Intraday Trading Eu encontrei a partir de pesquisa no google, mas eu não sei como usá-lo, Seniors Pleasse guia SECTIONBEGIN (quotMA Diffquot) T26 KMA ((C (0, chartShowArrowschartShowDates) Plot (C, quotClosequot, ParamColor (quotColorquot, colorBlack), Cálculo de Cálculo, Cálculo de Cálculo, Cálculo de Cálculo, StyleNoTitle ParamStyle (quotStylequot) GetPriceStyle ()) SECTIONEND () SECTIONBEGIN (quotZIG-ZAGquot) P ParamField (quotPrice fieldquot) alterar Param (quot changequot, 5,0.1,25,0.1) SECTIONEND () SECTIONBEGIN (quotEMAquot) P ParamField (quotPrice fieldquot Parâmetros Param (quotPeriodsquot, 15, 2, 300, 1, 10) SECTIONEND () SECTIONBEGIN (quotMACD Explorationquot) r1 Param (quotFast avgquot, 12, 2, 200, 1) r2 Param (quotSlow avgquot, 26, 2 , 200, 1) r3 Param (quotSignal avgquot, 9, 2, 200, 1) ZPa (C, z) gtRef (Zig (C, z), - 4) Comprar Cond1 E Cond3 Cond6 Zig (C, z) ltRef (Zig (C, z) , -4) Venda Cond4 E Cond6 Trigger WriteIf (Comprar, quotBuyquot, quotquot) WriteIf (Venda, quotSellquot, quotquot) BG IIf (Comprar, colorPaleGreen, IIf (Sell, colorRose, colorDefault) PlotShapes (IIf (Buy, shapeCircle, shapeNone), colorBlue, 0, L, Offset-60) PlotShapes (IIf (Buy, shapeCircle, shapeNone)) se (Status (quotactionquot) actionIndicator) Vender, shapeCircle, shapeNone), colorBlue, 0, H, Offset-30) Filtrar Comprar OU Vender SetOption (quotNoDefaultColumnsquot, True) AddTextColumn (Name (), quotSymbolquot, 77, FG, BG, 120) AddColumn (DateTime (), quotDatequot (C, quotClosequot, 1.3) AddColumn (H, quotHighquot, 1.3) AddColumn (V, quotVolumequot) AddColumn (Ref (V, -1) , QuotP-Volquot) AddColumn (VRef (V, -1) 100, quotIncrease in Volquot) AddColumn (Buy, (Buy, Baixo, Alto)) GraphXSpace 7 SECTIONEND () SECTIONBEGIN (quotEMA3quot) QuadSoft () P ParamField (quotPrice fieldquot, -1) Períodos Param (quotPeriodsquot, 15, 2, 300, 1, 10) SECTIONEND () SECTIONBEGIN (quotBackground text) C13Param (quotfontsquot, 20,10,30,1) C14Param (quotleft-rightquot, 2.11.0.5.0,0.1) C15Param (quotup-downquot, 12,1,20,1) Estado Miny (quotaxisminyquot) Estado Maxy (quotaxismaxyquot) lvb Status (quotlastvisiblebarquot) fvb Status (quotfvisstverbalquim) pxwidth Status (quotpxwidthquot) pxheight Status quotpxheightquot) GfxSetBkMode (transparent1) GfxSetOverlayMode (1) GfxSelectFont (quotTahomaquot, Estado (quotpxheightquot) C13) GfxSetTextAlign (6) GfxSetTextColor (ColorRGB (217217213)) GfxTextOut (Nome (), estado (quotpxwidthquot) C14, Estado (quotpxheightquot) C15) GfxSelectFont (QuotTahomaquot, Status (Quotpxheightquot) C152.5) ​​GfxSelectFont (quotpxheightquot) C130.5) GfxSetTextColor (ColorRGB (103,103,103)) GfxTextOut (quotAJEET SINGHquot, Status (quotpxwidthquot) C152.5) ​​GfxSetTextColor (ColorRGB (103,103,103 ) GfxTextOut (quotmr. ajeetsinghyahooquot, Status (quotpxwidthquot) C14, Status (quotpxheightquot) C154) GfxSelectFont (quotMS Sans Serifquot, 10, 500, False, False, 0) A segunda fase começa aqui File BHS Chart SECTIONBEGIN (quotTradingquot) SetChartBkColor ParamToggle (quotShow Markersquot, quotNoYesquot, 1) synchParamToggle (quotSynchronize buyshort com foreign indexquot, quotNoYesquot) Parâmetro (quotOutre painel cor quot, colorLightYellow)) SetChartBkColor (ParamColor (quotBackGround Colorquot, colorBlack)) pShowtradeLines ParamToggle , 1) VolminParam (quotVolume minimumquot, 5000,0,10000000,50) VolmaxParam (quotVolume maximumquot, 1000000,0,10000000,50) priceRLParam (quotPrice Ran Ge Minquot, 150,1, 20000,1) priceRHParam (quotPrice Range Maxquot, 3000,1,20000,1) PercChangeminParam (quotPercentage Change Min setquot, -25, -100, 100, 0,1) PercChangemaxParam (quotPercentage Change Max setquot, 25 , -100, 100, 0,1) PerctakeProfitParam (quotTake Profit Percent Setquot, 0,6,0,3,30,0,1) PercStoplossParam (quotStopLoss Porcentagem Setquot, 0,25,0,2,5,0,1) PlotOHLC (Open, High, Low, Close, quotquot, colorWhite , StyleCa ndle) Barras 0 xpdh 90 PlotRange (TimeNum () gt 85500 E TimeNum () lt 153500) E (DateNum () LastValue (DateNum ())) FHRange (TimeNum () gt 085500 E TimeNum () lt 093000) DateNum () LastValue (DateNum ())) FHPrices FHRange Alto FHMarker BarsSince (FHRangegt0) NumBars 36000 Intervalo (1) TimeFrameSet (inDaily) TOP Abrir PDH Ref (Alto, -1) PDL Ref (baixo, -1) , -1) PDC (PDHPDL) 2 TimeFrameRestore () isAll True isRth TimeNum () gt 085400 E TimeNum () lt 093000 isdRth TimeNum () gt 085400 E TimeNum () lt 160000 aRthL IIf (isRth , L, 1000000) aRthH IIf (is PDR TimeFrameExpand (PDH, inDaily, expandFirst) PDL TimeFrameExpand (PDL, inDaily, expandFirst) PDO TimeFrameExpand (PDO, inDaily, expandFirst) PDR TimeFrameExpand (PDH, inDaily, expandFirst) dRth, H, Null) aRthLd IIf (isdRth, L, 1000000) ) FHL TimeFrameExpand (FHL, inDaily, expandFirst) FHL TimeFrameExpand (aRthL, inDaily, compressLow) FHL TimeFrameExpand (PDM, inDaily, expandFirst) FHH Ref (HHV (HighFHRange, NumBars) DayH TimeFrameCompress (aRthH, inDaily, compressHigh) DayH TimeFrameExpand (DayH, inDaily, expandFirst) DayL TimeFrameCompress (aRthLd, inDaily, compressLow) DayL TimeFrameExpand (DayL, inDaily, expandFirst) AIIf (FC4ltFC1PDH0.005) (FC4ltFC2PDH0.005 e FC4gtFC1PDH0.005), FC2,0) ClIIf ((FC4ltFC3 E FC4gtFC2PDH0.005), FC3,0) AF (ABCl) foreign SECTIONBEGIN (quotforeign Gráfico de barras de índice) VrParamList (quotIndexquot, List quotNSEI, NSEBANK, CNXIT , NSMIDCP, RELIANCE. NS, SBIN. N Squot, 0) SetForeign (Vr) HaC (OHLC) 4 Ha OAA (Ref (HaC, -1), 0,5) HaH Max (H, Max (HaC, HaO)) HaL Min (L, Min (HaC, HaO)) BG3HHV 8) BR3LLV (HHV (HaH, 4) - ATR (4), 8) co IIf (HacgtBG3, colorBrightGreen, IIf (Haclt BR3, colorRed, colorGrey50)) Plot (4, quotquot, Co, styleAreastyleOwnScale styleNoLabel, 100) RestorePriceArrays () SECTIONEND () BuyPrice (DayLAF) BuyTP1 (BuyPrice (BuyPrice (PerctakeProfit100))) BuyTP2 (CgtBuyTP1) SellPrice (DayH-AF) SellTP1 (SellPrice - (SellPrice (PerctakeProfit100) (C-TOP) 100) Vol (VgtVolmin E VltVolmax) Porcentagem (percchangegtPercChangemin E percchangeltPercChangemax) prc (CgtpriceRL E CltpriceRH) BuyStop1 (BuyPrice - (BuyPrice (PercStoploss100))) BuyStop2IIf (BuyStop1lSellPrice) E SellPriceltBuyPrice, SellPrice, BuyStop1) SellStop1 (SellStop1 (SellStop2 (BuyStop2, Null)) SellStop2IIf ((SellStop1gtBuyPrice) E SellPriceltBuyPrice, BuyPrice, SellStop1) Barras Barras Como (TimeNum () gt 85400 E TimeNum () lt 092900) x0 BarCount-LastValue (Barras) x1 BarCount-1 TopLine LineArray (x0, LastValue (TOP), x1, LastValue (TOP), 0) PDHLine LineArray (x0, LastValue (PDH), x1, LastValue (PDH), 0) PDL Line LineArray (x0, LastValue (PDL), x1, LastValue (PDL), 0) PDCLine LineArray (x0, LastValue (PDC), x1, LastValue (PDC) ) FHL Line LineArray (x0, LastValue (FHH), x1, LastValue (FHH), 0) FHL Line LineArray (x0, LastValue (FHL), x1 BuyValue BuyPricelineLineArray (x0, LastValue (BuyPrice), x1, L astValue (BuyPrice), 0) BuyStopLineArray (x0, LastValue (BuyStop2), x1, La stValue (BuyStop2), 0) LastValue (BuyTP1), x1, LastVa lue (BuyTP1), 0) SellPricelineLineArray (x0, LastValue (SellPrice), x1, LastValue (SellPrice), 0) SellStoplineLineArray (x0, LastValue (SellStop2), x1, LastValue (SellStop2) ) SellTPlineLineArray (x0, LastValue (SellTP1), x1, Last Value (SellTP1), 0) DayHlineLineArray (x0, LastValue (DayH), x1, LastValue (DayH), 0) DayLlineLineArr (Xl, LastValue (DayL), x1, LastValue (DayL), 0) Plot (IIf (pShowtradeLines, BuyStopline, Null), quotBuySto pquot, colorBrightGreen, styleDotsstyleNoRescale styleNoLine) Plot (IIf (pShowtradeLines, SellPriceline, Null) Se (Status (quotactionquot) actionIndicator) (Título EncodeColor (colorWhite) quotTrading Systemquot quot - quot Name (NomeColocador) ) Quot - quot EncodeColor (colorYellow) Intervalo (2) EncodeColor (colorYellow) quot - quot Data () quot - quot EncodeColor (colorYellow) quot-OpenquotWriteVal (O, 1) EncodeColor (colorYellow) ) EncodeColor (colorYellow) quot - Low quot WriteVal (L, 1) EncodeColor (colorYellow) quot - Fechar quot WriteVal (C, 1) EncodeColor (colorYellow) quot - Voltando WriteVal (V, 1) (quotnquot) WriteIf (Percchange, Quot (Query quot) quot Previous DayHighquotWriteVal (PDH, 1) quot, Previous Da YLowquotWriteVal (PDL, 1) quot, Hoje HighquotWriteVal (DayH, 1) quot, Todays LowquotWriteVal (DayL, 1) WriteIf (HacgtBG3, EncodeColor (colorBrightGreen) quotUp quot, WriteIf (HacltBR3, EncodeColor (colorRed) quot-Downquot, EncodeColor (colorLightYellow ) GfxSetOverlayMode (mode 0) GfxSelectPen (colorLightBlue, 3) GfxSelectSolidBrush (colorLightYellow) GfxRoundRect GfxSetBkMode (1) GfxSelectFont (quotArialquot, 10, 700, False) GfxSetTextColor (colorBrown) GfxSetTextAlign (0) GfxTextOut (WriteIf (SellPrice, quotTRP level: quot (SellPrice), quotquot), 30, 60) GfxTextOut (WriteIf (BuyPrice, quotBuy Above: GfxTextOut (WriteIf (BuyStop2, quotLong SL: quot (BuyStop2), quotquot), 30, 90) GfxTextOut (WriteIf (BuyTP1. QuotLong Target 1: quot (BuyTP1), quotquot), 30, 105) GfxTextOut (WriteIf (SellPrice, quotSell Below: quot (SellPrice), 30, 120) GfxTextOut (WriteIf (SellStop2, , Quotquot), 30, 135) AddColumn (Percchange, quotChange quot, 1.2) AddColumn (BuyPrice, QuotVotume, 1.0) QuotBuy atquot, 1.2) AddColumn (BuyPrint, quotBuy Stop atquot, 1.2) AddColumn (BuyTP1, quotBuy Profit atquot, 1.2) AddColumn (SellPrice, quotShort atquot, 1.2) (OHCl) 4 HaOpen AMA (Ref (HaClose, -1), 0,5) HaHigh Max (H, Max (HaClose, HaOpen)) HaLow Min (L, Min (HaClose, HaOpen)) BG2HHV (4), 8) BR2LLV (HHV (High, 4) - ATR (4), 8) SetBarFillColor (IIf (O ltC, colorSeaGreen, colorOrange)) k Optimize (quotKquot, Param (quotKquot, 1,75,1,5,0,25 ), 1,5,0,25) Por Optimizar (quotatrquot, Param (quotatrquot, 10,3,30,1), 3,30,1) jHaClo (Nm, PER) reverso K rfsctor Tendência 1 NW0 0 para (i 1 i lt BarCount i) se (Trendi-1 1) se (ji lt NWi-1) Trendi -1 NWi ji Reversi else Se (ji - Reversi) gt NWi-1) NWi ji - Reversi senão NWi NWi-1 se (Trendi-1 -1) se (ji gt NWi-1) Trendi 1 NWi ji - Reversi else Trendi -1 if NWi-1 Plot (NW, quotquot, IIf (Trend 1, 6, 4), 4) BuyCross (j, nw) ShortCross (nw, j) SellCross (ji Reversi) (Short, Cover) CoverExRem (Cover, Short) dist 1.5ATR (15) para (i 0 i lt BarCount i) if (Buyi) PlotText (quotBuyquot O i, i, L i - Trendi, colorDarkBlue, colorYellow) if (Selli) PlotText (quotSellquot H i, i-4, L i Trendi, colorRed, ShapeNone), colorWhite, 0, halow, -30) PlotShapes (IIf (Sell, shapeHollowDownTriangle, shapeNone), colorWhite, 0, hahigh, -15) PlotShapes (IIf (Cover, shapeHollowUpTriangle, shapeNone) OuWhite, 0, halow, -15) PlotShapes (IIf (Short, shapeDownArrow, shapeNone), colorWhite, 0, hahigh, -30) ----------- end --------- ----- Re: Amazing AFL para NIFTY Intraday Trading Por favor, verifique com isso, agora trabalhando SECTIONBEGIN (quotMA Diffquot) T26 KMA ((C, T)) MA (C, T)) 100 Graph0KMA Graph0Style24 Graph0BarColorIIf ( KMgt0,5,4) GraphXSpace5 SECTIONBEGIN (quotPricequot) SetChartOptions (0, chartShowArrowschartShowDates) Plot (C, quotCerrar, ParamColor (quotColorquot, colorBlack), styleNoTitle ParamStyle (quotStylequot) GetPriceStyle () (QuotPrice fieldquot) alterar Param (quot changequot, 5,0,1,25,0.1) SECTIONEND () SECTIONBEGIN (quotEMAquot) P ParamField (quotPrice fieldquot, -1) Periods Param (quotPeriodsquot, 15, 2, 300, 1, 10) Parâmetro (quotMapd Explorationquot) r1 Param (quotFam avgquot, 12, 2, 200, 1) r2 Param (quotSlow avgquot, 26, 2, 200, 1) (Quotzigquot, 1,0,10, 0,1) Cond3 Zig (C, z), gtRef (Zig (C, z), - 4) Comprar Cond1 E Cond3 Cond6 Zig (C, z) ltRef (Buy, quotBuyquot, quotquot) WriteIf (Venda, quotSellquot, quotquot) BG IIf (Buy, colorPaleGreen, IIf (Sell, colorRose, colorDefault) (Quotactionquot) actionIndicator) Plot (C, quotquot, colorGrey50, styleBar) PlotShapes (IIf (Comprar, shapeCircle, shapeNone), colorBlue, 0, L, Offset-60) PlotShapes (IIf (Sell, shapeCircle, shapeNone), colorBlue, 0 , H, Offset-30) Filtrar Comprar OU Vender SetOption (quotNoDefaultColumnsquot, True) AddColumn (Name (), quotSymbolquot, 77, FG, BG, 120) AddColumn (DateTime (), quotDatequot, formatDateTime, FG, BG, 100) (TimeNum (), quotTimequot, 1) AddColumn (C, quotClosequot, 1,3) AddColumn (H, quotHighquot, 1,3) AddColumn (V, quotVolumequot) AddColumn (Ref (V, -1) , -1) 100, quotIncrease in Volquot) AddColumn (Buy, quotBuyquot, 1) AddCo Lumn (Sell, quotSellquot, 1) shape Comprar shapeHollowUpTriangle Vender shapeHollowDownTriangle PlotShapes (forma, IIf (Buy, colorBlue, colorBlue), 0, IIf (Comprar, Baixo, Alto)) GraphXSpace 7 SECTIONEND () SECTIONBEGIN (quotEMA3quot) P ParamField (quotPrice Fieldquot, -1) Períodos Param (quotPeriodsquot, 15, 2, 300, 1, 10) SECTIONEND () SECTIONBEGIN (quotBackground text) C13Param (quotfontsquot, 20,10,30,1) C14Param (quotleft-rightquot, (Quotlastvisiblebarquot) fvb Status (quotfvisiblebarquot) pxwidth Status (quotpxwidthquot) pxheight Status (quotpxheightquot) GfxSetBkMode (quotpxheightquot) GfxSetTextColor (ColorRGB (217, 217, 213)) GfxSelectFont (quotTextoControle, Status (quotpxheightquot) C15) GfxSelectFont (quotPxheightquot) C15) GfxSelectFont (Quotpxheightquot) C130. GfxSetTextColor (ColorRGB (103,103,103)) GfxTextOut (quotAJEET SINGHquot, Status (quotpxwidthquot) C14, Status (quotpxheightquot) C152.5) ​​GfxSelectFont (quotTahomaquot, Status (quotpxheightquot) C130.5) GfxSetTextColor (ColorRGB (103,103,103)) GfxTextOut (quotmr C154) GfxSelectFont (quotMS Sans Serifquot, 10, 500, False, False, 0) A segunda fase começa aqui Arquivo: Tabela BHS SECTIONBEGIN (quotTradingquot) SetChartBkColor (ParamColor (quotOutre painel de cor (QuotShow Markersquot, quotNoYesquot, 1) synchParamToggle (quotSynchronize buyshort com foreign indexquot, quotNoYesquot, 1) VolminParam (quotShow TradeLinesQuotNoYesquot, 1) pShowMarkers ParamToggle (quotShow Markersquot, quotNoYesquot, 1) QuotVolume minimumquot, 5000,0,10000000,50) VolmaxParam (quotVolume maximumquot, 1000000,0,10000000,50) priceRLParam (quotPrice Range Minquot, 150,1,20000, 1) priceRHParam (quotPrice Range Maxquot, 3000,1,20000,1) PercChangeminParam (quotPercentage Change Min setquot, -25, -100, 100, 0,1) PercChangemaxParam (quotPercentage Change Max setquot, 25, -100, 100, 0,1) PerctakeProfitParam (QuotTake Profit Percent Setquot, 0.6,0.3,30,0.1) PercStoplossParam (quotStopLoss Porcentagem Setquot, 0.25,0.2,5,0.1) PlotOHLC (Open, High, Low, Close, quotquot, colorWhite, styleCa ndle) Barras 0 xpdh 90 PlotRange (DateNum () LastValue (DateNum ()) FHRange (TimeNum () gt 085500 E TimeNum () lt 093000) E (DateNum () LastValue (DateNum ()) ) FHPrices Alto FHRange FHMarker BarsSince (FHRangegt0) NumBars 36000 Intervalo (1) TimeFrameSet (inDaily) TOP Abrir PDH Ref (alto, -1) PDL Ref (baixo, -1) PDC Ref (fechar, -1) PDM (PDHPDL) 2 TimeFrameRestore () isAll True isRth TimeNum () gt 085400 E TimeNum () lt 093000 isdRth TimeNum () gt 085400 E TimeNum () lt 160000 aRthL IIf (isRth, L, 1000000) aRthH IIf (isdRth , H, Null) aRthLd IIF (isdRth, L, 1000000) TOP TimeFrameExpand (TOP, emDaily, expandFirst) PDH TimeFrameExpand (PDH, inDaily, expandFirst) PDL TimeFrameExpand (PDL, inDaily, expandFirst) PDO TimeFrameExpand PDO TimeFrameExpand (PDC, inDaily) , ExpandFirme) FHL TimeFrameExpand (FHL, inDaily, expandFirst) FHL TimeFrameExpand (FHL, inDaily, expandFirst) FHL TimeFrameCompression (aRthH, inDaily, DayH TimeFrameExpand (DayH, inDaily, expandFirst) DayL TimeFrameCompress (aRthLd, inDaily, compressLow) DayL TimeFrameExpand (DayL, inDaily, expandFirst) AIIf ((FC4ltFC1PDH0.005), FC1,0) BIIf ((FC4ltFC2PDH0.005 E FC4gtFC1PDH0. 005), FC2,0) ClIIf ((FC4ltFC3 E FC4gtFC2PDH0.005), FC3,0) AF (ABCl) foreign SECTIONBEGIN (quotforeign Gráfico de barras de índice) VrParamList (quotIndexquot, List quotNSEI, NSEBANK CNXIT NSMIDCP RELIANCE. NS, SB IN. N Squot, 0) SetForeign (Vr) HaC (OHLC) 4 HaO AMA (Ref (HaC, -1) , 0,5) HaH Max (H, Max (HaC, HaO)) HaL Min (L, Min (HaC, HaO)) BG3HHV (LLV (HaL, 4) (4, quotquot, Co, styleAreastyleOwnScale styleNoLabel, -1, 100) RestorePriceArrays () SECTIONEND () BuyPrice () () () () () (4), 8) co IIf (HacgtBG3, colorBrightGreen, IIf (Hac lt BR3, colorRed, colorGrey50) DayLAF) BuyTP1 (BuyPrice (BuyPrice (PerctakeProfit100))) BuyTP2 (CgtBuyTP1) SellPrice (DayH-AF) SellTP1 (SellPrice - (SellPrice (PerctakeProfit100))) SellTP2 (CltSellTP1) percchange (VgtVolmin E VltVolmax) Porcentagem (percchangegtPercChangemin E percchangeltPercChangemax) prc (CgtpriceRL E CltpriceRH) BuyStop1 (BuyPrice - (BuyPrice (PercStoploss100))) BuyStop2IIf ((BuyStop1lSellPrice) E SellPriceltBuyPrice, SellPrice, BuyStop1) SellStop1 BuyStopIIf (BuyStop2, Null) BuyPTP (Comprar e NÃO BuyStop, BuyTP2, Nulo) Bares BarsSince (TimeNum () gt 854 (BuyStop2GetPrice) E SellPriceltBuyPrice, BuyPrice, SellStop1) BuyStopIIf 00 e TimeNum () lt 092900) x0 BarCount-LastValue (barras) x1 BarCount-1 TopLine LineArray (x0, LastValue (TOP), x1, LastValue (TOP), 0) PDHLine LineArray (x0, LastValue (PDH) (PDH), 0) PDLine LineArray (x0, LastValue (PDL), x1, LastValue (PDL), 0) PDCLine LineArray (x0, LastValue (PDC), x1, LastValue (PDC) FHL Line LineArray (x0, LastValue (FHL), x1, LastValue (FHL), x1, LastValue (FHL), x1, LastValue (PDM), 0) 0) BuyPricelineLineArray (x0, LastValue (BuyPrice), x1, L astValue (BuyPrice), 0) BuyStoplineLineArray (x0, LastValue (BuyStop2), x1, La stValue (BuyStop2), 0) BuyTPlineLineArray (x0, LastValue (BuyTP1) , LastValue (BuyTP1), 0) SellPricelineLineArray (x0, LastValue (SellPrice), x1, LastValue (SellPrice), 0) SellStoplineLineArray (x0, LastValue (SellStop2), x1, LastValue DayHlineLineArray (x0, LastValue (DayH), x1, LastValue (DayH), 0) DayLlineLineArray (x0, LastValue (DayL) Xl, LastValue (DayL), 0) Plot (IIf (pShowtradeLines, BuyStopline, Null), quotBuySto pquot, colorBrightGreen, styleDotsstyleNoRescale styleNoLine) Plot (IIf (pShowtradeLines, SellPriceline, Null), quotShor t Herequot, colorRed, styleDotsstyleNoRescale) PlotShapes (PShowMarkers AND Buy, shapeHollowUpArrow, Nulo), colorDarkGreen, 0, L, Offset-30) if (Status (quotactionquot) actionIndicator) (Título EncodeColor (colorWhite) quotTrading Systemquot quot - quot Nome () quot - quot EncodeColor (colorYellow) (2) EncodeColor (colorYellow) quot - quot Data () quot - quot EncodeColor (colorYellow) quot-OpenquotWriteVal (O, 1) EncodeColor (colorYellow) quot - High quot WriteVal (H, 1) EncodeColor (colorYellow) quot - Low quot WriteVal (L, 1) EncodeColor (colorYellow) quot - Fechar quot WriteVal (C, 1) EncodeColor (colorYellow) quot - Voltando WriteVal (V, 1) (quotnquot) WriteIf (Percchange, quot Change quot Quotquot) quot Anterior DayHighquotWriteVal (PDH, 1) quot, DayLowquotWriteVal anterior (PDL, 1 ) Quot, Hoje HighquotWriteVal (DayH, 1) quot, de hoje LowquotWriteVal (dayl, 1) WriteIf (HacgtBG3, EncodeColor (colorBrightGreen) quotUp quot, WriteIf (HacltBR3, EncodeColor (Colorred) quot-Downquot, EncodeColor (colorLightYellow) quotlt gtquot plana) )) GfxSetOverlayMode (modo 0) GfxSelectPen (colorLightBlue, 3) GfxSelectSolidBrush (colorLightYellow) GfxRoundRect (20, 55, 180, 175, 15, 15) GfxSetBkMode (1) GfxSelectFont (quotArialquot, 10, 700, Falso) GfxSetTextColor (colorBrown) GfxSetTextAlign (0) GfxTextOut (WriteIf (SellPrice, quotTRP nível: quot (SellPrice), quotquot), 30, 60) GfxTextOut (WriteIf (BuyPrice, quotBuy Acima: quot (BuyPrice), quotquot), 30, 75) GfxTextOut (WriteIf (BuyStop2 , QuotLong SL: quot (BuyStop2), quotquot), 30, 90) GfxTextOut (WriteIf (BuyTP1. quotLong Alvo 1: quot (BuyTP1), quotquot), 30, 105) GfxTextOut (WriteIf (SellPrice, quotSell Abaixo: quot (SellPrice), quotquot), 30, 120) GfxTextOut (WriteIf (SellStop2, quotShort SL: quot (SellStop2) , quotquot), 30, 135) GfxTextOut (WriteIf (SellTP1, quotShort alvo: quot (SellTP1), quotquot), 30, 150) AddColumn (V, quotVolumequot, 1,0) AddColumn (Percchange, quotChange quot, 1,2) AddColumn (BuyPrice, quotBuy atquot, 1,2) AddColumn (BuyStop, quotBuy Parar atquot, 1,2) AddColumn (BuyTP1, quotBuy lucro atquot, 1,2) AddColumn (SellPrice, quotShort atquot, 1,2) AddColumn (SellTP1, quotShort lucro atquot, 1,2) SECTIONBEGIN (signalquot quotshort) HaClose (OHCl) 4 HaOpen AMA (Ref (HaClose, -1), 0,5) HaHigh Max (H, Max (HaClose, HaOpen)) HaLow Min (L, Min (HaClose, HaOpen)) BG2HHV (4), 8) BR2LLV (HHV (High, 4) - ATR (4), 8) SetBarFillColor (IIf (O ltC, colorSeaGreen, colorOrange)) k Optimize (quotKquot, Param (quotKquot, 1,75,1,5,0,25 ), 1,5,0,25) Por Optimizar (quotatrquot, Param (quotatrquot, 10,3,30,1), 3,30,1) jHaClo (Nm, PER) reverso K rfsctor Tendência 1 NW0 0 para (i 1 i lt BarCount i) se (Trendi-1 1) se (ji lt NWi-1) Trendi -1 NWi ji Reversi else Se (ji - Reversi) gt NWi-1) NWi ji - Reversi senão NWi NWi-1 se (Trendi-1 -1) se (ji gt NWi-1) Trendi 1 NWi ji - Reversi else Trendi -1 if NWi-1 Plot (NW, quotquot, IIf (Trend 1, 6, 4), 4) BuyCross (j, nw) ShortCross (nw, j) SellCross (ji Reversi) (Short, Cover) CoverExRem (Cover, Short) dist 1.5ATR (15) para (i 0 i lt BarCount i) if (Buyi) PlotText (quotBuyquot O i, i, L i - Trendi, colorDarkBlue, colorYellow) if (Selli) PlotText (quotSellquot H i, i-4, L i Trendi, colorRed, ShapeNone), colorWhite, 0, halow, -30) PlotShapes (IIf (Sell, shapeHollowDownTriangle, shapeNone), colorWhite, 0, hahigh, -15) PlotShapes (IIf (Cover, shapeHollowUpTriangle, shapeNone) OuWhite, 0, halow, -15) PlotShapes (IIf (Short, shapeDownArrow, shapeNone), colorWhite, 0, hahigh, -30) ----------- end --------- ----- Intraday afl Para 5 mins gráfico com 80 precisão testada forma Comprar shapeUpArrow Vender shapeDownArrow PlotShapes (forma, IIf (Comprar, colorGreen, colorRed), 0, IIf (Comprar, Baixo, Alto)) PlotShapes (IIf (Buy, ShapeSquare, shapeNone), colorGreen, 0, L, Offset-10) PlotShapes (IIf (Comprar, shapeSquare, shapeNone), colorLime, 0, L, Offset-20) PlotShapes (IIf (Buy, shapeUpArrow, shapeNone), colorWhite, 0 , L, Offset-15) PlotShapes (IIf (Sell, shapeSquare, shapeNone), colorRed, 0, H, Offset20) PlotShapes (IIf (Sell, shapeSquare, shapeNone), colorOrange, , ShapeDownArrow, shapeNone), colorWhite, 0, H, Offset-25) WriteIf (s, EXIT all Short positionsnif negociação de posições longas, insira long Now-nOR ao preço de mercado nos amanhãs Open with stopEncodeColor (4) WriteVal (L.75ATR (5), 1.4) ,,) WriteIf (ss, sair todas as posições longas hoje com um Market ON Close (MOC) ordernOR no mercado pri Ce nos amanhãs Abrir com stopEncodeColor (4) WriteVal (Ref (H.75ATR (5), -1), 1.4)) WriteIf (sss, Nenhum sinal de negociação hoje.) Para (i 0 i BarCount i) PlotText (NBuy: L i nT (Li1.005) nSL (Li0.9975), i, L i - disti, colorGreen, colorWhite) PlotText (Venda: H i nT (Hi0.995) nSL (Hi1.0025) H i dist1i, colorRed, colorWhite) Filtrar s OR sss OU sss AddColumn (IIf (s, 66,1), comprar, formatChar, 1, bkcolor IIf (s, colorYellow, colorPink) ), Venda, formatoChar, 1, bkcolor IIf (Ss, colorPink, colorWhite)) Cláusula de Isenção de Responsabilidade NiftyPundit não será Responsável por qualquer dano direto ou indireto, conseqüencial ou incidental ou perda decorrente do uso de qualquer informação por qualquer pessoa mencionada em qualquer lugar neste site. Este site e as informações aqui contidas são apenas para fins de informação geral e não constituem uma oferta de venda ou solicitação de uma oferta de compra de qualquer garantia ou qualquer serviço de consultoria ou de gestão de negociação aqui descrito. Os escritores podem ou não negociar os títulos mencionados. Copy NIFTYPUNDIT 2017. TODOS OS DIREITOS RESERVADOS

No comments:

Post a Comment