Bhs Trading System


I nuovi sistemi BHS Vendo Compro nifty. Below è AFL simile al precedente, che avevo copiato da ---- forse questo forum only. SECTIONBEGIN MA Diff T 26 KMA C-MA C, T MA C, T 100 Graph0 KMA Graph0Style 2 4 Graph0BarColor IIf KMA 0,5,4 GraphXSpace 5.SECTIONBEGIN Prezzo SetChartOptions 0, chartShowArrows chartShowDates Plot C, Close, ParamColor colori, occhiNeri, styleNoTitle paramstyle Stile GetPriceStyle SECTIONEND. SECTIONBEGIN zigzag P ParamField Prezzo campo cambiamento cambiamento Param, 5,0 1 , 25,0 campo 1 SECTIONEND. SECTIONBEGIN EMA P ParamField prezzo, -1 Periodi Periodi Param, 15, 2, 300, 1, 10 SECTIONEND. SECTIONBEGIN MACD Exploration r1 Param veloce avg, 12, 2, 200, 1 r2 Param avg lenta , 26, 2, 200, 1 r3 Param segnale avg, 9, 2, 200, 1 Z Param zig, 1,0,10,0 1.Cond3 zig C, Z Rif zig C, Z, -4 Acquista COND1 E Cond3.Cond6 Zig C, Z Rif Zig C, Z, -4 Vendi Cond4 E Cond6 trigger WriteIf compra compra, vendi WriteIf, Sell. BG IIf Compro, colorPaleGreen, IIf Vendi, colorRose, colorDefault FG IIf Compro, colorDarkGreen, IIf Vendita, colorDarkRed, colorDefault. if azione Stato actionIndicator Plot C,, colorGrey50, stylebar PlotShapes IIf Compro, shapeUpArrow, shapeNone, ColorWhite, 0, L, offset -30 PlotShapes IIf Vendi, shapeDownArrow, shapeNone, ColorWhite, 0, H, offset -30. Filtro acquistare o vendere NoDefaultColumns SetOption, True. AddTextColumn nome, simbolo, 77, FG, BG, 120 AddColumn DateTime, Data, FormatDateTime, FG, BG, 100 AddColumn TimeNum, Tempo, 1 AddColumn C, chiudere, 1 3 AddColumn H, Tacchi , 1 3 AddColumn V, Volume AddColumn Rif V, -1, P-Vol AddColumn V Ref V, -1 100, Aumento Vol AddColumn compra compra, 1 AddColumn vendere, vendere, 1.shape Acquisto shapeHollowUpTriangle Vendi forma shapeHollowDownTriangle. PlotShapes , IIf Acquisto, occhiBlu, occhiBlu, 0, IIf Compro, basso, High. GraphXSpace campo 7 SECTIONEND. SECTIONBEGIN EMA3 P ParamField prezzo, -1 Periodi Periodi Param, 15, 2, 300, 1, 10 SECTIONEND. SECTIONBEGIN il testo Sfondo C13 Param font, 20,10,30,1 C14 Param sinistra-destra, 2 1,1 0,5 0,0 1 C15 Param up-down, 12,1,20,1 Miny Stato axisminy Maxy axismaxy Stato LVB Stato lastvisiblebar Stato FVB firstvisiblebar pxwidth Stato pxwidth pxheight Stato pxheight GfxSetBkMode trasparente 1 GfxSetOverlayMode 1 GfxSelectFont Tahoma, pxheight Stato C13 GfxSetTextAlign 6 GfxSetTextColor ColorRGB 217.217.213 GfxTextOut Nome, pxwidth Stato C14, pxheight Stato C15 GfxSelectFont Tahoma, Stato pxheight C13 0 5 GfxSetTextColor ColorRGB 103.103.103 GfxTextOut, pxwidth Stato C14, Stato pxheight C15 2 5 GfxSelectFont Tahoma, Stato pxheight C13 0 5 GfxSetTextColor ColorRGB 103.103.103 GfxTextOut, pxwidth Stato C14, Stato pxheight C15 4 GfxSelectFont MS Sans Serif, 10, 500, false, false, 0 seconda fase inizia qui file BHS Grafico SECTIONBEGIN BHS1 02 SetChartBkColor ParamColor esterno colore del pannello, colorLightYellow SetChartBkColor ParamColor colore di sfondo, occhiNeri pShowtradeLines ParamToggle fiera Lines, No Sì, 1 pShowMarkers ParamToggle Mostra etichette, No Sì, 1 synch ParamToggle Sincronizza acquistare breve con indice estero, No Sì, 1 volume minimo Volmin Param, 5000,0,10000000,50 Volmax Param volume massimo, 1000000,0,10000000,50 priceRL Param di prezzo minimo, 150,1,20000,1 priceRH Param di prezzo Max, 3000,1,20000,1 PercChangemin Param variazione percentuale minima set, -25, -100, 100, 0 1 PercChangemax Param percentuale impostata Change Max, 25, -100, 100, 0 1 PerctakeProfit Param Take Profit Percentuale set, 0 5,0 3,30,0 1 PercStoploss Param StopLoss Percentuale set , 1,0 2,5,0 1.PlotOHLC Open, High, Low, Close,, ColorWhite, styleCa Bar ndle 0 xpdh 90.PlotRange TimeNum 85500 E TimeNum 153500 E DateNum LastValue DateNum FHRange TimeNum 085.500 E 093.000 TimeNum E DateNum LastValue DateNum. FHPrices alta FHRange FHMarker BarsSince FHRange 0.NumBars 36000 Intervallo 1.TimeFrameSet inDaily open top PDH Ref alta, -1 PDL Rif basso, -1 DOP Rif aperta, -1 PDC Rif Close, -1 PDM PDH PDL 2 TimeFrameRestore. isAll vero isRth TimeNum 085.400 E 093.000 TimeNum isdRth TimeNum 085.400 E TimeNum 160000.aRthL IIf isRth, L, 1000000 aRthH IIf isdRth, H, Null aRthLd IIf isdRth, L, 1000000.TOP TimeFrameExpand TOP, inDaily, expandFirst PDH TimeFrameExpand PDH, inDaily, expandFirst PDL TimeFrameExpand PDL, inDaily, expandFirst DOP TimeFrameExpand DOP, inDaily, expandFirst PDC TimeFrameExpand PDC, inDaily, expandFirst PDM TimeFrameExpand PDM, inDaily, expandFirst FHH Rif HHV alta FHRange, NumBars, - FHMarker FHL TimeFrameCompress aRthL, inDaily, compressLow FHL TimeFrameExpand FHL, inDaily, expandFirst DayH TimeFrameCompress aRthH, inDaily, compressHigh DayH TimeFrameExpand DayH, inDaily, expandFirst DayL TimeFrameCompress aRthLd, inDaily, compressLow DayL TimeFrameExpand DayL, inDaily, expandFirst. A IIf FC4 FC1 PDH 0 005, FC1,0 B IIf FC4 FC2 PDH 0 005 E FC4 FC1 PDH 0 005, FC2,0 Cl IIf FC4 FC3 FC4 E FC2 PDH 0 005, FC3,0 AF AB Cl. SECTIONBEGIN estera grafico a barre Indice estera Vr paramlist Index, Lista IN NS, 0 SetForeign Vr HAC OHLC 4 Hao AMA Ref HAC, -1, 0 5 HAH Max H, Max CUA, Hao HaL Min L, Min HAC, Hao BG3 HHV LLV HaL , 4 ATR 4, 8 BR3 LLV HHV hAH, 4 - ATR 4, 8 CO IIf Hac BG3, colorBrightGreen, IIf Hac BR3, colorRed, colorGrey50 Plot 4,, Co, styleArea styleOwnScale styleNoLabel, -1, 100 RestorePriceArrays SECTIONEND. BuyPrice DayL AF BuyTP1 BuyPrice BuyPrice PerctakeProfit 100 BuyTP2 C BuyTP1 SellPrice DayH-AF SellTP1 SellPrice - SellPrice PerctakeProfit 100 SellTP2 C SellTP1 percchange C-TOP 100 Vol V Volmin E V Volmax Percentuale percchange PercChangemin E percchange PercChangemax prc C priceRL E C priceRH BuyStop1 BuyPrice - BuyPrice PercStoploss 100 BuyStop2 IIf BuyStop1 SellPrice E SellPrice BuyPrice, SellPrice, BuyStop1 SellStop1 SellPrice SellPrice PercStoploss 100 SellStop2 IIf SellStop1 BuyPrice E SellPrice BuyPrice, BuyPrice, SellStop1.BuyStop IIf Acquisto E NON BuyTP2, BuyStop2, Null BuyTP IIf Acquista E NON BuyStop, BuyTP2, Null. Bars BarsSince TimeNum 85400 E TimeNum 092.900 x0 BarCount-LastValue Bar x1 BarCount-1 Topline line array x0, LastValue TOP, x1, LastValue TOP, 0 PDHLine line array x0, LastValue PDH, x1, LastValue PDH, 0 PDLLine line array x0, LastValue PDL, x1, LastValue PDL, 0 PDCLine line array x0, LastValue PDC, x1, LastValue PDC, 0 PDMLine line array x0, LastValue PDM, x1, LastValue PDM, 0 FHHLine line array x0, LastValue FHH, x1, LastValue FHH, 0 FHLLine line array x0, LastValue FHL, x1, LastValue FHL, 0 BuyPriceline line array x0, LastValue BuyPrice, x1, L astValue BuyPrice, 0 BuyStopline line array x0, LastValue BuyStop2, x1, La stValue BuyStop2, 0 BuyTPline line array x0, LastValue BuyTP1, x1, Lastva lue BuyTP1, 0 SellPriceline line array x0, LastValue SellPrice, x1, LastValue SellPrice, 0 SellStopline line array x0, LastValue SellStop2, x1, LastValue SellStop2, 0 SellTPline line array x0, LastValue SellTP1, x1, Ultimo valore SellTP1, 0 DayHline line array x0, LastValue DayH, x1, LastValue DayH, 0 DayLline line array x0, LastValue DayL, x1, LastValue DayL, 0.Plot IIF pShowtradeLines, BuyStopline, null, BuySto p, colorBrightGreen, styleDots styleNoRescale styleNoLine Plot pShowtradeLines IIF, SellPriceline, Null, Shor t Qui, colorRed, PlotShapes styleDots styleNoRescale IIF pShowMarkers E comprare, shapeHollowUpArrow, Null, colorDarkGreen, 0, L, offset -30.if azione Stato actionIndicator Titolo EncodeColor ColorWhite BHS2 System - Nome - EncodeColor colorYellow Intervallo 2 EncodeColor colorYellow - Data - EncodeColor colorYellow - Open WriteVal O, 1 EncodeColor colorYellow - alta WriteVal H, 1 EncodeColor colorYellow - Chiudere WriteVal C, 1 EncodeColor colorYellow - Vol WriteVal V, 1 WriteIf Percchange, Cambiamento Percchange, n Precedente DayHigh WriteVal PDH, 1, Precedente DayLow WriteVal PDL, 1, Oggi alta WriteVal DayH, 1, di oggi basso WriteVal DayL, 1 Comm2 n Vr fase WriteIf Hac BG3, EncodeColor colorBrightGreen Up, WriteIf Hac BR3, EncodeColor colorRed down, EncodeColor colorLightYellow modalità Flat. GfxSetOverlayMode 0 GfxSelectPen colorLightBlue, 3 GfxSelectSolidBrush colorLightYellow GfxRoundRect 20, 55, 180, 175, 15 , 15 GfxSetBkMode 1 GfxSelectFont Arial, 10, 700, false GfxSetTextColor occhiCastani GfxSetTextAlign 0 GfxTextOut WriteIf Buystop2, livello TRP Buystop2,, 30, 60 GfxTextOut WriteIf BuyPrice, Compro Sopra BuyPrice,, 30, 75 GfxTextOut WriteIf BuyStop2, lungo SL BuyStop2,, 30 , 90 GfxTextOut WriteIf BuyTP1 lungo Obiettivo 1 BuyTP1,, 30, 105 GfxTextOut WriteIf SellPrice, vendere sotto SellPrice,, 30, 120 GfxTextOut WriteIf SellStop2, corto SL SellStop2,, 30, 135 GfxTextOut WriteIf SellTP1, corto bersaglio SellTP1,, 30, 150.AddColumn V, Volume, 1 0 AddColumn Percchange, Cambiamento, 1 2 AddColumn BuyPrice, Compra da, 1 2 AddColumn BuyStop, Buy stop a, 1 2 AddColumn BuyTP1, Compro Profit at, 1 2 AddColumn SellPrice, corto a, 1 2 AddColumn SellTP1, il profitto a breve a, 1 2.SECTIONBEGIN breve segnale HaClose OHLC 4 HaOpen AMA Ref HaClose, -1, 0 5 HaHigh Max H, Max HaClose, HaOpen Halow Min L, Min HaClose, HaOpen BG2 HHV LLV Bassa, 4 ATR 4, 8 BR2 LLV HHV alta, 4 - ATR 4, 8 SetBarFillColor IIf OC, colorSeaGreen, colorOrange k Optimize K, Param K, 1 75,1,5,0 25, 1,5,0 25 Per ottimizzare atr, Param atr, 10 , 3,30,1, 3,30,1 j HaClose nm HL rfsctor WMA nm, pER revers K rfsctor Trend 1 NO 0 0 per i 1 i BarCount i se Trend i-1 1 se ji NW I-1 Trend i - 1 NW iji Revers i altra tendenza che 1 se ji - Revers I NW I-1 NO iji - Revers i altro NO I NO I-1 se Trend I-1 -1 se ji NW I-1 tendenza che 1 NO iji - Revers ho altro tendenza che -1 se ji Revers i NW I-1 NO iji Revers i altro NW i NW i-1.Plot NW,, IIf curva 1, 6, 4, 4.Buy Croce j, nw corto Croce nw, j Vendi Croce nw, j copertura Croce j, NW Acquisto ExRem comprare, vendere vendere ExRem vendere, comprare breve ExRem breve, Coperchio Coperchio ExRem copertura, breve PlotShapes IIf Compro, shapeUpArrow, shapeNone, ColorWhite, 0, Halow, -30 PlotShapes IIf Vendita, shapeHollowDownTriangle, shapeNone, ColorWhite, 0, hahigh, -15 PlotShapes IIf copertura, shapeHollowUpTriangle, shapeNone, ColorWhite, 0, Halow, -15 PlotShapes IIf breve, shapeDownArrow, shapeNone, ColorWhite, 0, hahigh, -30 ------ -----fine. AGGIUNTO perni righe dopo. ---- punti di articolazione DayH TimeFrameGetPrice H, inDaily, -1 ieri alta DayL TimeFrameGetPrice L, inDaily, -1 basso DayC TimeFrameGetPrice C, inDaily, -1 vicino Dayo TimeFrameGetPrice O, giorno inDaily corrente aperto HiDay TimeFrameGetPrice H, inDaily Loday TimeFrameGetPrice L , inDaily PP DayH DayL Dayo Dayo 4 R1 2 PP - DayL S1 2 PP - DayH R2 PP R1 - S1 S2 PP S1 - R1 R3 R2 R1 - PP S3 S2 - PP - S1 stile Styleline styleThick styleNoRescale rcolor occhiBlu Scolor colorRed pcolor ColorWhite Plot R1, R1, rcolor, stile Plot S1, S1, Scolor, stile di stampa R2, R2, rcolor, stile di stampa S2, S2, Scolor, stile di stampa PP, PP, pcolor, stile S3 Plot, S3, Scolor, stile Plot R3, R3, rcolor, stile RangeTitle EncodeColor ColorWhite Giorno Gamma EncodeColor ColorWhite. Il colore di sfondo colore SetChartBkColor ParamColor Panel, colorPaleBlue. TicDiv Param Tic o il valore PIP, 1,0,1000000 Titledisplay ParamToggle display perno statistiche, No Sì, 1. barColor IIf C Open, ColorWhite, IIf C Open, ColorWhite, ColorWhite Plot C, Close, barColor, styleCandle styleNoLabel. EMA34 EMA C, 34 LSMA LinearReg C, 25 PI Atan 1 00 4 periodi di 30 HighHigh HHV H, periodi LowLow LLV L, periodi vanno 25 HighHigh - LowLow LowLow x1EMA34 0 x2EMA34 2 y1EMA34 0 y2EMA34 Ref EMA34, -2 - gamma EMA34 Avg cEMA34 sqrt x2EMA34 - x1EMA34 x2EMA34 - x1EMA34 y2EMA34 - y1EMA34 y2EMA34 - y1EMA34 angleEMA34 rotondo 180 acos x2EMA34 - x1EMA34 cEMA34 PI TitleAngleEMA34 EncodeColor ColorWhite Nema34 angolo di angleEMA34 IIf y2EMA34 0, - angleEMA34, angleEMA34 ColorANGLEEMA IIf angleEMA34 5, colorTurquoise, IIf angleEMA34 5 E angleEMA34 3 57, colorDarkGreen, IIf angleEMA34 3 57 E angleEMA34 2 14, colorPaleGreen, IIf angleEMA34 2 14 E angleEMA34 71, colorLime, IIf angleEMA34 -1 5, colorDarkRed, IIf angleEMA34 -1 5 E angleEMA34 -1 3 57, colorRed, IIf angleEMA34 -1 3 57 E angleEMA34 -1 2 14, colorOrange, IIf angleEMA34 -1 2 14 E angleEMA34 -1 71, colorLightOrange, colorYellow Plot EMA34, EMA 34, ColorANGLEEMA, Styleline styleThick styleNoLabel Plot LSMA, LSMA 25, IIf C LSMA, colorBrightGreen, IIf C LSMA, colorTeal, colorRed, Styleline styleThick styleNoLabel. Hld IIf C Ref MA H, 7, -1, 1, IIf C Ref MA L, 7, -1, -1, 0 HLV ValueWhen Hld 0, HLD, 1 Hilo IIf HLV -1, MA H, 7, MA L, 7 trigger IIf C Hilo, occhiBlu, colorPink Plot Hilo, Hilo, trigger, styleStaircase. Title EncodeColor ColorWhite Nome - EncodeColor colorRed Intervallo 2 EncodeColor colorTan - Data - Op - O Hi-H Lo - L Cl - C n Vol WriteVal V, Oggi alta WriteVal DayH, 2, di oggi basso WriteVal DayL, 2.SECTIONBEGIN BuySell-nodll ----------------------------------------------- -------------------------- SetChartOptions 0, chartShowArrows chartShowDates N Titolo StrFormat Open g, Hi g, lo g, Close g 1F, O, H , L, C, SelectedValue ROC C, 1.T 26 BHSda C-MA C, T MA C, T 100 func fisso Graph0 BHSda Graph0Style 2 4 Graph0BarColor IIf BHSda 0,5,4 GraphXSpace 5.SetChartOptions 0, chartShowArrows chartShowDates Plot C , Vicino, ParamColor colori, occhiNeri, styleNoTitle styleCandle Plot O, Open, ParamColor colori, occhiNeri, styleNoDraw Plot H, alto, ParamColor colori, occhiNeri, styleNoDraw Plot L, basso, ParamColor colori, occhiNeri, styleNoDraw. BSAU EMA Max C - Ref C, -1, 0 BHEXPerc BSAC EMA Max Rif C, -1 - C, 0, BHEXPerc x1 BHSMPPer-1 BSAC Value1 100-Value1 - BSAU BSR1 IIf x1 0, C x1, C x1 100-Value1 Value1 x2 BHSMPPer-1 BSAC Value1 100-Valore2 - BSAU BSR2 IIf x2 0, C x2, C x2 100-Valore2 Value2.Plot BSR1,, colorOrange, Plot styleDashed BSR2,, colorPaleBlue, styleDashed. r1 12 Param avg veloce, 12, 2, 200, 1 r2 26 Param giudizio medio lento, 26, 2, 200, 1 avg 9 r3 Param segnale, 9, 2, 200, 1 Z 1 Param zig, 1,0,10,0 1.Cond1 Croce MACD R1, R2, R1 segnale, R2, R3 Cond3 Zig C, Z Rif Zig C, Z, -4 Acquista COND1 E Cond3.Cond4 Croce segnale R1, R2, R3, MACD r1, r2 Cond6 Zig C, Z Rif Zig C, Z, -4 Vendita Cond4 E Cond6.Trigger WriteIf compra compra, WriteIf vendere, vendere, BSG IIf Compro, colorPaleGreen, IIf Vendi, colorRose, colorDefault BSFG IIf Compro, colorDarkGreen, IIf Vendi, colorDarkRed, colorDefault. if actionExplore azione di stato o di azione Stato filtro actionScan acquistare o vendere SetOption NoDefaultColumns, true AddTextColumn Nome, Simbolo, 77, BSFG, BSG, 120 AddColumn DateTime, Data, FormatDateTime, BSFG, BSG, 100 AddColumn TimeNum, Tempo, 1, BSFG, BSG, 100 AddColumn compra compra, 1, BSFG, BSG , 50 AddColumn vendere, vendere, 1, BSFG, BSG, 50 AddColumn O, Open, 1 2, BSFG, BSG, 100 AddColumn H, alto, 1 2, BSFG, BSG, 100 AddColumn L, basso, 1 2, BSFG, BSG, 100 AddColumn C, chiudere, 1 2, BSFG, BSG, 100 AddColumn Rif V, -1, P-Vol, 1, BSFG, BSG, 100 AddColumn V Ref V, -1 100, aumento di volume, 1, BSFG , BSG, 100.shape Acquisto shapeHollowUpTriangle Vendi shapeHollowDownTriangle PlotShapes forma, IIf Compro, occhiBlu, occhiBlu, 0, IIf Compro, basso, alto GraphXSpace 7. ------------------- -------------------------------------------------- ------------------------------------ font C13 20 Param, 20,10,30,1 C14 2 1 Param sinistra-destra, 2 1,1 0,5 0,0 1 C15 12 Param up-down, 12,1,20,1 Miny Stato axisminy Maxy axismaxy Stato LVB Stato lastvisiblebar FVB Stato firstvisiblebar pxwidth Stato pxwidth pxheight Stato pxheight GfxSetBkMode trasparente 1 GfxSetOverlayMode 1 GfxSelectFont Tahoma, pxheight Stato C13 GfxSetTextAlign 6 GfxSetTextColor ColorRGB 217.217.213 GfxTextOut Nome, pxwidth Stato C14, pxheight Stato C15 GfxSelectFont Tahoma, Stato pxheight C13 0 4 GfxSetTextColor ColorRGB 103.103.103 GfxSelectFont Tahoma, Stato pxheight C13 0 45 GfxSetTextColor ColorWhite GfxSelectFont MS Sans Serif , 10, 500, false, false, 0.SetChartBkGradientFill ParamColor BgTop, colorDarkOliveGreen, ParamColor BgBottom, colorDarkGrey pShowtradeLines ParamToggle fiera Lines, No Sì, 1 volume minimo Volmin Param, 50,0,10000000,50 Volmax Param volume massimo, 1000000, 0,10000000,50 priceRL Param di prezzo minimo, 50,1,120000,1 priceRH Param di prezzo Max, 20000,1,120000,1 BSPeChMi -25 Param percentuale impostata Change Min, -25, -100, 100, 0 1 BSPeChMa 25 Param percentuale impostata Change Max, 25, -100, 100, 0 1 BSPerTkProf Param Take Profit Percentuale set, 0 6,0 3,30,0 1 BSPerStLos Param StopLoss Percentuale set, 0 25,0 2,5,0 1.BSPlRng TimeNum 90000 E TimeNum 153000 E DateNum LastValue DateNum BSFHRg TimeNum 090.000 E 093.000 TimeNum E DateNum LastValue DateNum. BSFHPrc alta BSFHRg BSFHMrk BarsSince BSFHRg 0 NumBars 36000 Intervallo 1.TimeFrameSet inDaily open top PDH Ref alta, -1 PDL Rif basso, -1 DOP Ref Open, -1 PDC Rif Close, -1 PDM PDH PDL 2 TimeFrameRestore. isAll vero isRth TimeNum 085.400 E 093.000 TimeNum isdRth TimeNum 085.400 E TimeNum 160000.aRthL IIf isRth, L, 1000000 aRthH IIf isdRth, H, Null aRthLd IIf isdRth , L, 1000000.TOP TimeFrameExpand TOP, inDaily, expandFirst PDH TimeFrameExpand PDH, inDaily, expandFirst PDL TimeFrameExpand PDL, inDaily, expandFirst DOP TimeFrameExpand DOP, inDaily, expandFirst PDC TimeFrameExpand PDC, inDaily, expandFirst PDM TimeFrameExpand PDM, inDaily, expandFirst FHH Rif HHV alta BSFHRg, NumBars, - BSFHMrk FHL TimeFrameCompress aRthL, inDaily, compressLow FHL TimeFrameExpand FHL, inDaily, expandFirst DayH TimeFrameCompress aRthH, inDaily, compressHigh DayH TimeFrameExpand DayH, inDaily, expandFirst DayL TimeFrameCompress aRthLd, inDaily, compressLow DayL TimeFrameExpand DayL, inDaily, expandFirst. Un IIf FC4 FC1 PDH 0 005, FC1,0 B IIf FC4 FC2 PDH 0 005 E FC4 FC1 PDH 0 005, FC2,0 Cl IIf FC4 FC3 FC4 E FC2 PDH 0 005, FC3,0 AF AB Cl. HaC OHLC 4 hao AMA Ref CUA, -1, 0 5 hAH Max H, Max CUA, Hao HaL Min L, Min HAC, Hao BG3 HHV LLV Hal 4 ATR 4, 8 BR3 LLV HHV hAH, 4 - ATR 4, 8 co IIf Hac BG3 , occhiBlu, IIf Hac BR3, colorRed, colorGrey50.BuyPrice DayL AF BSByTP1 BuyPrice BuyPrice BSPerTkProf 100 BSByTP2 C BSByTP1 SellPrice DayH-AF BSSlTP1 SellPrice - SellPrice BSPerTkProf 100 BSSlTP2 C BSSlTP1 BSPrCh C-TOP 100 Vol V Volmin E V Volmax Percentuale BSPrCh BSPeChMi E BSPrCh BSPeChMa prc C priceRL E C priceRH BuyStop1 BuyPrice - BuyPrice BSPerStLos 100 BuyStop2 IIf BuyStop1 SellPrice E SellPrice BuyPrice, SellPrice, BuyStop1 SellStop1 SellPrice SellPrice BSPerStLos 100 SellStop2 IIf SellStop1 BuyPrice E SellPrice BuyPrice, BuyPrice, SellStop1.BuyStop IIf Acquisto E NON BSByTP2, BuyStop2, Null BuyTP IIf Acquista E NON BuyStop, BSByTP2, Null. Bars BarsSince TimeNum 85400 E TimeNum 092.900 x0 BarCount-LastValue Bar x1 BarCount-1 Topline line array x0, LastValue TOP, x1, LastValue TOP, 0 PDHLine line array x0, LastValue PDH, x1, LastValue PDH, 0 PDLLine line array x0, LastValue PDL, x1, LastValue PDL, 0 PDCLine line array x0, LastValue PDC, x1, LastValue PDC, 0 PDMLine line array x0, LastValue PDM, x1, LastValue PDM, 0 FHHLine line array x0, LastValue FHH, x1, LastValue FHH, 0 FHLLine line array x0, LastValue FHL, x1, LastValue FHL, 0 BuyPriceline line array x0, LastValue BuyPrice, x1, L astValue BuyPrice, 0 BuyStopline line array x0, LastValue BuyStop2, x1, La stValue BuyStop2, 0 BuyTPline line array x0, LastValue BSByTP1, x1, LastV alore BSByTP1, 0 SellPriceline line array x0, LastValue SellPrice, x1, LastValue SellPrice, 0 SellStopline line array x0, LastValue SellStop2, x1, LastValue SellStop2, 0 SellTPline line array x0, LastValue BSSlTP1, x1, Ultimo valore BSSlTP1, 0 DayHline line array x0, LastValue DayH, x1, LastValue DayH, 0 DayLline line array x0, LastValue DayL, x1, LastValue DayL, pShowtradeLines 0.Plot IIF, BuyStopline, Null,, colo rBrightGreen, styleDots styleNoRescale styleNoLine Plot IIf pShowtradeLines, SellPriceline , Null,, co lorRed, styleDots styleNoRescale. if azione Stato sistema actionIndicator Titolo EncodeColor ColorWhite BuySell - Nome - EncodeColor colorYellow Intervallo 2 EncodeColor colorYellow - Data - EncodeColor colorYellow aperta EncodeColor ColorWhite WriteVal O, 8 2 EncodeColor colorYellow, alta EncodeColor ColorWhite WriteVal H, 8 2 EncodeColor colorYellow, basso EncodeColor ColorWhite WriteVal L, 8 2 EncodeColor colorYellow, Close EncodeColor ColorWhite WriteVal C, 8 2 EncodeColor colorYellow, Vol EncodeColor ColorWhite WriteVal V, 1 n. -------------------------------------------------- -------------------------------------------------- ----------------- modalità GfxSetOverlayMode 0 GfxSelectPen colorLightBlue, 2 GfxSelectSolidBrush occhiNeri GfxRoundRect 5,65, 250, 180, 16, 20 GfxSetBkMode 1 GfxSelectFont Arial, 12, 700, false GfxSetTextColor occhiCastani GfxSetTextAlign 0 GfxSetTextColor colorPaleGreen GfxTextOut WriteIf BuyPrice, lungo bersaglio 1 WriteVal BuyPrice, 1 2,, 15, 73 GfxSetTextColor colorLightBlue GfxTextOut WriteIf BSByTP1 lungo target 2 WriteVal BSByTP1,1 2,, 15, 92 GfxSetTextColor colorRed GfxTextOut WriteIf SellPrice, corto Obiettivo 1 WriteVal SellPrice , 1 2,, 15, 111 GfxSetTextColor colorOrange GfxTextOut WriteIf BSSlTP1, corto target 2 WriteVal BSSlTP1,1 2,, 15, 129 GfxSetTextColor ColorWhite GfxTextOut WriteIf BuyStopline, istantaneo Sup Res WriteVal BuyStopline, 1 2,, 15, 147.Buy Croce j , nw breve Croce nw, j vendi Croce nw, j copertura Croce j, nw Acquisto ExRem Comprare, Vendere ExRem vendere, comprare breve ExRem breve, Coperchio Coperchio ExRem copertina, corto lungo vibrazione di acquisto, vendita Shrt vendita a fogli mobili, Buy. dist 1 5 ATR 15 Buy2show 0 Sell2show 0 per i 0 i BarCount i se Acquisto PlotText Acquista WriteVal C i, 1 2, i-5, C i - Trend i, ColorWhite, occhiBlu Buy2show C i. if Vendi i PlotText Vendere WriteVal C i , 1, I-5, C i tendenza che, ColorWhite, colorRed Sell2show C i AlertIf vendere, SUONO, vendi WriteVal H, 1 2, 2 AlertIf Compro, SUONO, Compro WriteVal O, 1 2, 1.GfxSetBkMode trasparente 1 GfxSetOverlayMode 1 GfxSelectFont Tahoma, pxheight Stato C13 GfxSetTextAlign 6 GfxSetTextColor ColorRGB 217.217.213 Nome GfxTextOut, pxwidth Stato C14, pxheight Stato C15 GfxSelectFont Tahoma, Stato pxheight C13 0 4 GfxSetTextColor ColorRGB 103.103.103 GfxTextOut Da, Stato pxwidth C14 1 8, pxheight Stato C15 10 5 GfxSelectFont Tahoma, Stato pxheight C13 0 45 GfxSetTextColor ColorWhite GfxTextOut, Stato pxwidth C14 1 8, pxheight Stato C15 11 GfxSelectFont MS Sans Serif, 10, 500, false, false, 0. ----------------- ---------- per tracciare modalità prezzo GfxSetOverlayMode buysell 0 GfxSelectPen occhiVerdi, 2 GfxSelectSolidBrush occhiNeri GfxRoundRect 5, 181.250.240, 15, 15 GfxSetBkMode 1 GfxSelectFont Arial, 12, 700, false GfxSetTextColor colorPaleGreen GfxSetTextAlign 0.GfxTextOut WriteIf Acquista O lungo segnale di acquisto A WriteVal Buy2show, 1 2,, 10, 185 GfxTextOut WriteIf vendere o sHRT VENDERE segnale WriteVal Sell2show, 1 2,, 10, 185.GfxSetTextColor colorYellow GfxTextOut WriteIf lungo e non comprare, comprare Profit WriteVal C-Buy2show, 1 2,, 10, 205 GfxTextOut WriteIf shrt E NON vendere, vendere Profit WriteVal Sell2show-C, 1 2,, 10, 205 GfxTextOut WriteIf lungo o shrt CMP WriteVal C, 1 2,, 10, modalità 215.GfxSetOverlayMode 0 GfxSelectPen colorOrange, 2 GfxSelectSolidBrush occhiNeri GfxRoundRect 5,20, 250,63, 16, 20 GfxSetBkMode 1 GfxSelectFont Arial, 12, 700, false GfxSetTextColor colorPaleGreen GfxSetTextAlign 0.GfxSetTextColor colorYellow GfxTextOut WriteIf SellPrice, inversione di tendenza SellPrice,, 8, 25.GfxSetTextColor colorRed GfxTextOut WriteIf nw , Trailing SL WriteVal nw, 1, 8, 43 GfxTextOut copertura WriteIf E non si compra, Trailing SL WriteVal nw, 1, 8, 43 GfxSetTextColor colorGold GfxTextOut WriteIf nw, Trailing SL WriteVal nw, 1, 8, 43 GfxTextOut WriteIf breve E non vende, Trailing SL WriteVal nw, 1, 8, 43.PlotShapes IIf Compro, shapeUpArrow, shapeNone, ColorWhite, 0, HAL, -40.PlotShapes IIf corti, shapeDownArrow, shapeNone, ColorWhite, 0, HAH, -40. frottole ParamToggle Plot Fibs, Off On, 1 pctH 0 325 Param Pivot Hi, 0 325,0 001,2 0,0 002 Hilb 1 Param Fino LookBack, 1,1, 1,1 BarCount-PCTL 0 325 Param Pivot Lo, 0 325,0 001,2 0,0 002 LOLB 1 Param Giù LookBack, 1,1, 1,1 BarCount-Indietro 1 Param Extend sinistra 2, 1,1,500,1 Fwd 0 Param Plot avanti, 0, 0, 500, 1 testo ParamToggle Plot testo, Off On, 1 HTS -14 Param testo Spostamento, -14, 10 -50,50,0 stile paramstyle linea stile, Styleline, styleNoLabel x BarIndex PRP PeakBars H, pctH, 1 0 yRp0 LastValue ValueWhen prp, H , Hilb xRp0 LastValue ValueWhen PRP, x, Hilb PSP TroughBars L, PCTL, 1 0 ySp0 LastValue ValueWhen PSP, L, LOLB xSp0 LastValue ValueWhen PSP, x, LOLB Delta yRp0 - ySp0.function LFI ret retval Delta ret LFIVal IIf ret 1 0 E xSp0 xRp0, yRp0 - retval, IIf ret 1 0 E xSp0 xRp0, ySp0 retval, IIf ret 1 0 E xSp0 xRp0, yRp0 - retval, IIf ret 1 0 E xSp0 xRp0, ySp0 retval, il ritorno Null LFIVal. xo xSp0 Min, xRp0 - Back x1 BarCount-1 R236 LFI 0 236 r236I LastValue r236,1 r382 LFI 0 382 r382I LastValue r382,1 R050 LFI 0 50 r050I LastValue r050,1 R618 LFI 0 618 r618I LastValue r618,1 r786 LFI 0 786 r786I LastValue r786 , 1 E127 LFI 1 27 e127I LastValue e127,1 E162 LFI 1 62 e162I LastValue e162,1 e200 LFI 2 00 E200i LastValue e200,1 E262 LFI 2 62 e262I LastValue e262,1 E424 LFI 4 24 e424I LastValue e424,1 P00 IIf xSp0 xRp0, ySp0, yRp0 p00I LastValue p00,1 p100 IIf xSp0 xRp0, ySp0, yRp0 P100i LastValue p100,1 color00 IIf xSp0 xRp0, colorLime, colorRed color100 IIf xSp0 xRp0, colorLime, colorRed numbars LastValue Cum Stato frazione barvisible IIf StrRight Nome, 3 , 3 2, 3 2. se il testo 1 PlotText 0 WriteVal p00,1, LastValue BarIndex - numbars HTS, p00I 0 05, color00 PlotText 23 WriteVal r236,1, LastValue BarIndex - numbars HTS, r236I 0 05, color00 PlotText 38 WriteVal r382 , 1, LastValue BarIndex - numbars HTS, r382I 0 05, color00 PlotText 50 WriteVal r050,1, LastValue BarIndex - numbars HTS, r050I 0 05, color00 PlotText 62 WriteVal r618,1, LastValue BarIndex - numbars HTS, r618I 0 05, color00 PlotText 78 WriteVal r786,1, LastValue BarIndex - numbars HTS, r786I 0 05, color00 PlotText 100 WriteVal p100,1, LastValue BarIndex - numbars HTS, P100i 0 05, color00 PlotText 127 WriteVal e127,1, LastValue BarIndex - numbars HTS, e127I 0 05, color00 PlotText 162 WriteVal e162,1, LastValue BarIndex - numbars HTS, e162I 0 05, color00 PlotText 200 WriteVal e200,1, LastValue BarIndex - numbars HTS, E200i 0 05, color00 PlotText 262 WriteVal e262,1, LastValue BarIndex - numbars HTS, e262I 0 05, color00 PlotText 424 WriteVal e424,1, LastValue BarIndex - numbars HTS, e424I 0 05, color00.YH TimeFrameGetPrice H, inDaily, -1 ieri alta YL TimeFrameGetPrice L, inDaily, -1 bassa YC TimeFrameGetPrice C, inDaily, -1 vicino YO TimeFrameGetPrice O, giorno inDaily corrente aperto. Normale Pivot PP YH YL YC 3 R1 2 PP - YL R2 PP YH - YL R3 YH 2 PP-YL S1 2 PP - YH S2 PP - YH - YL S3 YL - 2 YH - PP --------- -------------------------------------------------- ------------------------ SECTIONEND SECTIONBEGIN BuySell Trend Comprare o Vendere stato acquistare Croce EMA Chiudi 3, EMA Chiudi 23 Vendo Croce EMA Chiudi 23, EMA Chiudi 3 . trama EMA Plot EMA Vicino, 23, 23 EMA, ParamColor colori, occhiNeri, styleNoRescale Plot EMA Close, 3, 3 EMA, ParamColor colori, occhiNeri, styleNoRescale. Trama del nastro Ribbon1 IIf EMA Chiudi 3 EMA Chiudi 23, occhiVerdi, IIf EMA Chiudi 23 EMA Chiudi 3, colorRed, colorYellow Plot 3, Ribbon, Ribbon1, styleOwnScale styleArea styleNoLabel, -0 5.100 SECTIONEND. upt C MA C, 21 E C EMA C , 8 DNT C MA C, 21 E C EMA C, 8 dado C MA C, 21 E C EMA C, 8 o C MA C, 21 E C EMA C, 8 Col IIf DNT, colorRed, IIf UPT, colorBlueGrey, IIf dado, colorYellow, colorTan Plot C, chiudere, col, styleNoTitle paramstyle stile GetPriceStyle filtro 1 AddColumn C, chiudere, 1 2,1, Col. AFL BHS Trading System ad alta Demand. I sono imbattuto in un Afl che ognuno è esigente qui, ben qui ci sono i codici per la stessa e alcune informazioni anche sul AFL, bene questo AFL è puramente un mix di Heikin ashi e del sistema di rotazione nma altalena sono anche fornire i codici per Heikin ashi Candel, pivot con NMA oscillare parametor AFL per essere usato atr 20 e k 2 per lo stesso per ottenere risultati efficaci, e personalmente credo che il sistema BHS avrebbe spazzato visto il tuo denaro e non è un AFL ideato e disegnato da uno qualsiasi, senza rimpianti, ma si può attraversare controllare lo stesso la sua un mix, ma non ho nulla a che fare con lo stesso, io sono solo rendere le persone consapevoli di esso e si può usare l'altro AFL anche se vogliono usePARE VOSTRO AUTO che uno è migliore e la diga sicuro di voler il secondo meglio allora il BHS ONE. BHS Trading System AFL. SECTIONBEGIN MA Diff T 26 KMA C-MA C, T MA C, T 100 Graph0 KMA Graph0Style 2 4 Graph0BarColor IIF KMA 0,5,4 GraphXSpace 5.SECTIONBEGIN Prezzo SetChartOptions 0, chartShowArrows chartShowDates Plot C, Close, ParamColor Colore, Colore dei, styleNoTitle paramstyle Stile GetPriceStyle SECTIONEND. SECTIONBEGIN zigzag P ParamField Prezzo campo cambiamento cambiamento Param, 5,0 1,25,0 1 SECTIONEND. SECTIONBEGIN EMA campo P ParamField prezzo, -1 Periodi Periodi Param, 15 , 2, 300, 1, 10 SECTIONEND. SECTIONBEGIN MACD Exploration r1 Param avg veloce, 12, 2, 200, 1 r2 Param giudizio medio lento, 26, 2, 200, avg 1 r3 Param segnale, 9, 2, 200, 1 Z Param zig, 1,0,10,0 1.Cond3 zig C, Z Rif zig C, Z, -4 Acquista COND1 E Cond3.Cond6 zig C, Z Rif zig C, Z, -4 vendi Cond4 E Cond6 trigger WriteIf Acquista , Compra, Vendi WriteIf, Sell. BG IIf Compro, colorPaleGreen, IIf Vendi, colorRose, colorDefault FG IIf Compro, colorDarkGreen, IIf Vendi, colorDarkRed, colorDefault. if azione Stato actionIndicator Plot C,, colorGrey50, stylebar PlotShapes IIf Compro, shapeUpArrow, shapeNone, ColorWhite, 0, L, offset -30 PlotShapes IIf Vendi, shapeDownArrow, shapeNone, ColorWhite, 0, H, Offset -30.Filter acquistare o vendere SetOption NoDefaultColumns, True. AddTextColumn Nome, Simbolo, 77, FG, BG, 120 AddColumn DateTime, Data, FormatDateTime, FG, BG, 100 AddColumn TimeNum, Tempo, 1 AddColumn C, chiudere, 1 3 AddColumn H, alto, 1 3 AddColumn V, Volume AddColumn Rif V, -1, P-Vol AddColumn V Ref V , -1 100, aumento Vol AddColumn compra compra, 1 AddColumn vendere, vendere, 1.shape Acquista shapeHollowUpTriangle Vendi shapeHollowDownTriangle. PlotShapes forma, IIf Compro, occhiBlu, occhiBlu, 0, IIf Compro, basso, High. GraphXSpace 7 SECTIONEND. campo SECTIONBEGIN EMA3 P ParamField prezzo, -1 Periodi Param periodi, 15, 2, 300, 1, 10 SECTIONEND. SECTIONBEGIN sfondo del testo di font C13 Param, 20,10,30,1 C14 Param sinistra-destra, 2 1,1 0, 5 0,0 1 C15 Param up-down, 12,1,20,1 Miny Stato axisminy Maxy axismaxy Stato LVB Stato lastvisiblebar FVB Stato firstvisiblebar pxwidth Stato pxwidth pxheight Stato pxheight GfxSetBkMode trasparente 1 GfxSetOverlayMode 1 GfxSelectFont Tahoma, pxheight Stato C13 GfxSetTextAlign 6 GfxSetTextColor ColorRGB 217.217.213 Nome GfxTextOut, pxwidth Stato C14, pxheight Stato C15 GfxSelectFont Tahoma, Stato pxheight C13 0 5 GfxSetTextColor ColorRGB 103.103.103 GfxTextOut, pxwidth Stato C14, Stato pxheight C15 2 5 GfxSelectFont Tahoma, Stato pxheight C13 0 5 GfxSetTextColor ColorRGB 103.103.103 GfxTextOut, pxwidth Stato C14 , Status pxheight C15 4 GfxSelectFont MS Sans Serif , 10, 500, False, False, 0 Second phase starts Here File BHS Chart SECTIONBEGIN BHS1 02 SetChartBkColor ParamColor Outer panel color, colorLightYellow SetChartBkColor ParamColor BackGround Color , colorBlack pShowtradeLines ParamToggle Show Trade Lines , No Yes , 1 pShowMarkers ParamToggle Show Markers , No Yes , 1 synch ParamToggle Synchronize buy short with foreign index , No Yes , 1 Volmin Param Volume minimum ,5000,0,10000000,50 Volmax Param Volume maximum ,1000000,0,10000000,50 priceRL Param Price Range Min ,150,1,20000,1 priceRH Param Price Range Max ,3000,1,20000,1 PercChangemin Param Percentage Change Min set , -25, -100, 100, 0 1 PercChangemax Param Percentage Change Max set , 25, -100, 100, 0 1 PerctakeProfit Param Take Profit Percent Set ,0 5,0 3,30,0 1 PercStoploss Param StopLoss Percent Set ,1,0 2,5,0 1.PlotOHLC Open, High, Low, Close, , colorWhite, styleCa ndle Bars 0 xpdh 90.PlotRange TimeNum 85500 AND TimeNum 153500 AND DateNum LastValue DateNum FHRange TimeNum 085500 AND TimeNum 093000 AND DateNum LastValue DateNum. FHPrices High FHRange FHMarker BarsSince FHRange 0.NumBars 36000 Interval 1.TimeFrameSet inDaily TOP Open PDH Ref High ,-1 PDL Ref Low,-1 PDO Ref Open,-1 PDC Ref Close,-1 PDM PDH PDL 2 TimeFrameRestore. isAll True isRth TimeNum 085400 AND TimeNum 093000 isdRth TimeNum 085400 AND TimeNum 160000.aRthL IIf isRth, L, 1000000 aRthH IIf isdRth, H, Null aRthLd IIf isdRth, L, 1000000.TOP TimeFrameExpand TOP, inDaily, expandFirst PDH TimeFrameExpand PDH, inDaily, expandFirst PDL TimeFrameExpand PDL, inDaily, expandFirst PDO TimeFrameExpand PDO, inDaily, expandFirst PDC TimeFrameExpand PDC, inDaily, expandFirst PDM TimeFrameExpand PDM, inDaily, expandFirst FHH Ref HHV High FHRange, NumBars ,-FHMarker FHL TimeFrameCompress aRthL, inDaily, compressLow FHL TimeFrameExpand FHL, inDaily, expandFirst DayH TimeFrameCompress aRthH, inDaily, compressHigh DayH TimeFrameExpand DayH, inDaily, expandFirst DayL TimeFrameCompress aRthLd, inDaily, compressLow DayL TimeFrameExpand DayL, inDaily, expandFirst. A IIf FC4 FC1 PDH 0 005,FC1,0 B IIf FC4 FC2 PDH 0 005 AND FC4 FC1 PDH 0 005,FC2,0 Cl IIf FC4 FC3 AND FC4 FC2 PDH 0 005,FC3, 0 AF AB Cl. foreign SECTIONBEGIN foreign Index bar graph Vr ParamList Index, List IN N S ,0 SetForeign Vr HaC O H L C 4 HaO AMA Ref HaC, -1 , 0 5 HaH Max H, Max HaC, HaO HaL Min L, Min HaC, HaO BG3 HHV LLV HaL,4 ATR 4 ,8 BR3 LLV HHV HaH ,4 - ATR 4 ,8 co IIf Hac BG3,colorBrightGreen, IIf Hac BR3,colorRed, colorGrey50 Plot 4, , Co, styleArea styleOwnScale styleNoLabel, -1, 100 RestorePriceArrays SECTIONEND. BuyPrice DayL AF BuyTP1 BuyPrice BuyPrice PerctakeProfit 100 BuyTP2 C BuyTP1 SellPrice DayH-AF SellTP1 SellPrice - SellPrice PerctakeProfit 100 SellTP2 C SellTP1 percchange C-TOP TOP 100 Vol V Volmin AND V Volmax Percentage percchange PercChangemin AND percchange PercChangemax prc C priceRL AND C priceRH BuyStop1 BuyPrice - BuyPrice PercStoploss 100 BuyStop2 IIf BuyStop1 SellPrice AND SellPrice BuyPrice, SellPrice, BuyStop1 SellStop1 SellPrice SellPrice PercStoploss 100 SellStop2 IIf SellStop1 BuyPrice AND SellPrice BuyPrice, BuyPrice, SellStop1.BuyStop IIf Buy AND NOT BuyTP2,BuyStop2,Null BuyTP IIf Buy AND NOT BuyStop, BuyTP2,Null. Bars BarsSince TimeNum 85400 AND TimeNum 092900 x0 BarCount-LastValue Bars x1 BarCount-1 TOPLine LineArray x0,LastValue TOP, x1,LastValue TOP ,0 PDHLine LineArray x0,LastValue PDH, x1,LastValue PDH ,0 PDLLine LineArray x0,LastValue PDL, x1,LastValue PDL ,0 PDCLine LineArray x0,LastValue PDC, x1,LastValue PDC ,0 PDMLine LineArray x0,LastValue PDM, x1,LastValue PDM ,0 FHHLine LineArray x0,LastValue FHH, x1,LastValue FHH ,0 FHLLine LineArray x0,LastValue FHL, x1,LastValue FHL ,0 BuyPriceline LineArray x0,LastValue BuyPrice, x1,L astValue BuyPrice ,0 BuyStopline LineArray x0,LastValue BuyStop2,x1,La stValue BuyStop2 ,0 BuyTPline LineArray x0,LastValue BuyTP1,x1,LastVa lue BuyTP1 ,0 SellPriceline LineArray x0,LastValue SellPrice, x1,LastValue SellPrice ,0 SellStopline LineArray x0,LastValue SellStop2,x1, LastValue SellStop2 ,0 SellTPline LineArray x0,LastValue SellTP1,x1,Last Value SellTP1 ,0 DayHline LineArray x0,LastValue DayH, x1,LastValue DayH ,0 DayLline LineArray x0,LastValue DayL, x1,LastValue DayL ,0.Plot IIf pShowtradeLines, BuyStopline, Null , BuySto p, colorBrightGreen, styleDots styleNoRescale styleNoLine Plot IIf pShowtradeLines, SellPriceline, Null , Shor t Here, colorRed, styleDots styleNoRescale PlotShapes IIf pShowMarkers AND Buy, shapeHollowUpArrow, Null , colorDarkGreen, 0,L, Offset -30.if Status action actionIndicator Title EncodeColor colorWhite BHS2 System - Name - EncodeColor colorYellow Interval 2 EncodeColor colorYellow - Date - EncodeColor colorYellow - Open WriteVal O,1 EncodeColor colorYellow - High WriteVal H,1 EncodeColor colorYellow - Close WriteVal C,1 EncodeColor colorYellow - Vol WriteVal V,1 WriteIf Percchange, Change Percchange , n Previous DayHigh WriteVal PDH,1 , Previous DayLow WriteVal PDL,1 , Today High WriteVal DayH,1 , Todays Low WriteVal DayL,1 Comm2 n Vr Phase WriteIf Hac BG3,EncodeColor colorBrightGreen Up , WriteIf Hac BR3,EncodeColor colorRed - Down, EncodeColor colorLightYellow Flat. GfxSetOverlayMode mode 0 GfxSelectPen colorLightBlue, 3 GfxSelectSolidBrush colorLightYellow GfxRoundRect 20, 55, 180, 175, 15, 15 GfxSetBkMode 1 GfxSelectFont Arial , 10, 700, False GfxSetTextColor colorBrown GfxSetTextAlign 0 GfxTextOut WriteIf Buystop2, TRP level Buystop2 , , 30, 60 GfxTextOut WriteIf BuyPrice, Buy Above BuyPrice , , 30, 75 GfxTextOut WriteIf BuyStop2, Long SL BuyStop2 , , 30, 90 GfxTextOut WriteIf BuyTP1 Long Target 1 BuyTP1 , , 30, 105 GfxTextOut WriteIf SellPrice, Sell Below SellPrice , , 30, 120 GfxTextOut WriteIf SellStop2, Short SL SellStop2 , , 30, 135 GfxTextOut WriteIf SellTP1, Short Target SellTP1 , , 30, 150.AddColumn V, Volume ,1 0 AddColumn Percchange, Change ,1 2 AddColumn BuyPrice, Buy at ,1 2 AddColumn BuyStop, Buy Stop at ,1 2 AddColumn BuyTP1, Buy Profit at ,1 2 AddColumn SellPrice, Short at ,1 2 AddColumn SellTP1, Short profit at ,1 2.SECTIONBEGIN short signal HaClose O H L C 4 HaOpen AMA Ref HaClose, -1 , 0 5 HaHigh Max H, Max HaClose, HaOpen HaLow Min L, Min HaClose, HaOpen BG2 HHV LLV Low,4 ATR 4 ,8 BR2 LLV HHV High,4 - ATR 4 ,8 SetBarFillColor IIf O C, colorSeaGreen, colorOrange k Optimize K, Param K ,1 75,1,5,0 25 ,1,5,0 25 Per Optimize atr, Param atr ,10,3,30,1 ,3,30,1 j HaClose nm H-L rfsctor WMA nm, PER revers K rfsctor Trend 1 NW 0 0 for i 1 i BarCount i if Trend i-1 1 if j i NW i-1 Trend i -1 NW i j i Revers i else Trend i 1 if j i - Revers i NW i-1 NW i j i - Revers i else NW i NW i-1 if Trend i-1 -1 if j i NW i-1 Trend i 1 NW i j i - Revers i else Trend i -1 if j i Revers i NW i-1 NW i j i Revers i else NW i NW i-1.Plot NW, , IIf Trend 1, 6, 4 , 4.Buy Cross j, nw Short Cross nw, j Sell Cross nw, j Cover Cross j, nw Buy ExRem Buy, Sell Sell ExRem Sell, Buy Short ExRem Short, Cover Cover ExRem Cover, Short PlotShapes IIf Buy, shapeUpArrow, shapeNone, colorWhite, 0,halow,-30 PlotShapes IIf Sell, shapeHollowDownTriangle, shapeNone, colorWhite, 0,hahigh,-15 PlotShapes IIf Cover, shapeHollowUpTriangle, shapeNone, colorWhite, 0,halow,-15 PlotShapes IIf Short, shapeDownArrow, shapeNone, colorWhite, 0,hahigh,-30 -----------end. ADDED PIVOTS LINES LATER. ---- pivot points DayH TimeFrameGetPrice H , inDaily, -1 yesterdays high DayL TimeFrameGetPrice L , inDaily, -1 low DayC TimeFrameGetPrice C , inDaily, -1 close DayO TimeFrameGetPrice O , inDaily current day open HiDay TimeFrameGetPrice H , inDaily LoDay TimeFrameGetPrice L , inDaily PP DayH DayL DayO DayO 4 R1 2 PP - DayL S1 2 PP - DayH R2 PP R1 - S1 S2 PP S1 - R1 R3 R2 R1 - PP S3 S2 - PP - S1 style styleLine styleThick styleNoRescale rcolor colorBlue scolor colorRed pcolor colorWhite Plot R1, R1,rcolor, style Plot S1, S1,scolor, style Plot R2, R2,rcolor, style Plot S2, S2,scolor, style Plot PP, PP, pcolor, style Plot s3, S3 , scolor, style Plot R3, R3 , rcolor, style RangeTitle EncodeColor colorWhite Day Range EncodeColor colorWhite. Background color SetChartBkColor ParamColor Panel color, colorPaleBlue. TicDiv Param Tic or PIP value ,1,0,1000000 Titledisplay ParamToggle Display pivot stats , No Yes ,1. barcolor IIf C Open, colorWhite, IIf C Open, colorWhite, colorWhite Plot C, Close , barcolor, styleCandle styleNoLabel. EMA34 EMA C,34 LSMA LinearReg C,25 PI atan 1 00 4 periods 30 HighHigh HHV H, periods LowLow LLV L, periods range 25 HighHigh - LowLow LowLow x1EMA34 0 x2EMA34 2 y1EMA34 0 y2EMA34 Ref EMA34, -2 - EMA34 Avg range cEMA34 sqrt x2EMA34 - x1EMA34 x2EMA34 - x1EMA34 y2EMA34 - y1EMA34 y2EMA34 - y1EMA34 angleEMA34 round 180 acos x2EMA34 - x1EMA34 cEMA34 PI TitleAngleEMA34 EncodeColor colorWhite nEMA34 angle angleEMA34 IIf y2EMA34 0, - angleEMA34, angleEMA34 ColorANGLEEMA IIf angleEMA34 5,colorTurquoise, IIf angleEMA34 5 AND angleEMA34 3 57,colorDarkGreen, IIf angleEMA34 3 57 AND angleEMA34 2 14,colorPaleGreen, IIf angleEMA34 2 14 AND angleEMA34 71,colorLime, IIf angleEMA34 -1 5,colorDarkRed, IIf angleEMA34 -1 5 AND angleEMA34 -1 3 57,colorRed, IIf angleEMA34 -1 3 57 AND angleEMA34 -1 2 14,colorOrange, IIf angleEMA34 -1 2 14 AND angleEMA34 -1 71,colorLightOrange, colorYellow Plot EMA34, EMA 34,ColorANGLEEMA, styleLine styleThick styleNoLabel Plot lsma, LSMA 25,IIf C lsma, colorBrightGreen, IIf C lsma, colorTeal, colorRed , styleLine styleThick styleNoLabel. Hld IIf C Ref MA H, 7 , -1 , 1, IIf C Ref MA L, 7 , -1 , -1, 0 Hlv ValueWhen Hld 0, Hld, 1 Hilo IIf Hlv -1, MA H, 7 , MA L, 7 Trigger IIf C Hilo, colorBlue, colorPink Plot Hilo, HiLo, Trigger, styleStaircase. Title EncodeColor colorWhite Name - EncodeColor colorRed Interval 2 EncodeColor colorTan - Date - Op - O Hi - H Lo - L Cl - C n Vol WriteVal V , Today High WriteVal DayH,2 , Todays Low WriteVal DayL,2.HEIKIN ASHI WITH NMA PIVOT. R2 Heinkin Ashi Price Action R1 Decorative Works SECTIONBEGIN Chart Settings SetChartOptions 0,chartShowArrows chartShowDates SetChartBkColor ParamColor Outer Panel, colorPaleBlue SetChartBkGradientFill ParamColor Upper Chart ,1,ParamColor Lower Chart ,23 GraphXSpace Param GraphXSpace ,10,0,100,1 dec Param Decimals ,2,0,7,1 10 1 bi BarIndex Lbi LastValue BarIndex sbi SelectedValue bi x1 BarCount-1 Title EncodeColor 55 Title Name EncodeColor 32 Date EncodeColor 5 EncodeColor 55 Open EncodeColor 52 WriteVal O, dec EncodeColor 55 High EncodeColor 5 WriteVal H, dec EncodeColor 55 Low EncodeColor 32 WriteVal L, dec EncodeColor 55 Close EncodeColor 52 WriteVal C, dec EncodeColor 55 Volume EncodeColor 52 WriteVal V,1 SECTIONEND. function Lastthursday Daysinmonth IIf Month 1 OR Month 3 OR Month 5 OR Month 7 OR Month 8 OR Month 10 OR Month 12,31,30 Daysinmonthfeb IIf Year 4 0 AND Year 100 0,29,28 Daysinmonthfinal IIf Month 2,Daysinmonthfeb, Daysinmonth returnvalue IIf Daysinmonthfinal-Day 7 AND DayOfWeek 4,1,IIf Daysinmonthfinal-Day 8 AND DayOfWeek 3 AND Ref DayOfWeek ,1 4,1,0 return returnvalue. FirstVisibleBar Status FirstVisibleBar Lastvisiblebar Status LastVisibleBar. Den Param Density , 1, 0 1, 10, 0 1 percent Param Value Area , 70, 1, 100, 1 Type ParamList Type , Price Profile Volume Profile Period ParamList Base , Hourly Daily Weekly Monthly Lastthursday Yearly ,1 xscale Param Horizontalscale , 2, 0, 10, 0 1 EnMP2 ParamStyle Style, styleLine styleNoLabel, maskAll styleLines styleDots ViewYvalues ParamToggle Show Yesterdays Values , No Yes ,1 ViewVlines ParamToggle Show Vertical Base Lines , No Yes ,1 Viewvalues ParamToggle Show Values , No Yes ,0 ViewVpoc ParamToggle Show Virgin POC , No Yes ,1 ViewTPO ParamToggle Show TPO Count , No Yes ,0.if Period Hourly BarsInDay BarsSince Hour Ref Hour , -1 Bot TimeFrameGetPrice L , inHourly, 0 Top TimeFrameGetPrice H , inHourly, 0 Vol TimeFrameGetPrice V , inHourly, 0 if Period Daily BarsInDay BarsSince Day Ref Day , -1 Bot TimeFrameGetPrice L , inDaily, 0 Top TimeFrameGetPrice H , inDaily, 0 Vol TimeFrameGetPrice V , inDaily, 0 if Period Weekly OR Interval 24 3600 BarsInDay BarsSince DayOfWeek Ref DayOfWeek , -1 Bot ValueWhen Ref BarsInDay,1 1 OR BarIndex BarCount-2,LLV L, BarsInDay ,0 Top ValueWhen Ref BarsInDay,1 1 OR BarIndex BarCount-2,HHV H, BarsInDay ,0 Vol TimeFrameGetPrice V , inWeekly, 0 if Period Monthly BarsInDay BarsSince Month Ref Month , -1 Bot TimeFrameGetPrice L , inMonthly, 0 Top TimeFrameGetPrice H , inMonthly, 0 Vol TimeFrameGetPrice V , inMonthly, 0.if Period Lastthursday BarsInDay BarsSince Lastthursday 1 AND Ref Lastthursday , -1 0 Bot ValueWhen Ref BarsInDay,1 1 OR BarIndex BarCount-2,LLV L, BarsInDay ,0 Top ValueWhen Ref BarsInDay,1 1 OR BarIndex BarCount-2,HHV H, BarsInDay ,0 Vol TimeFrameGetPrice V , inMonthly, 0.if Period Yearly BarsInDay BarsSince Year Ref Year , -1 Bot TimeFrameGetPrice L , inYearly, 0 Top TimeFrameGetPrice H , inYearly, 0 Vol TimeFrameGetPrice V , inYearly, 0.HaClose O H L C 4 HaOpen AMA Ref HaClose, -1 , 0 5 HaHigh Max H, Max HaClose, HaOpen HaLow Min L, Min HaClose, HaOpen xDiff HaHigh - Halow 10000 barcolor IIf HaClose HaOpen, colorGreen, colorRed PlotOHLC HaOpen, HaHigh, HaLow, HaClose, , barcolor, styleCandle. if ViewVlines 1 Plot BarsInDay 0, , ParamColor Base Line Color, colorDarkGrey , styleHistogram styleOwnScale styleLine styleNoLabel. for i FirstVisibleBar i Lastvisiblebar AND i BarCount-1 i if BarsInDay i 0.for j 1 j relTodayRange 1 j if poc x j poc x j pocj j else if poc x j if abs midrange-j abs midrange-pocj poc x j pocj j. for n 1 n relTodayRange n total n x n total n-1.if ViewVpoc 1 Virginpoc basey pocj den newi 0 for j i 1 j BarCount - 1 j if L j Virginpoc AND H j Virginpoc else vishycolor IIf BarCount 2 0,colorRed, colorBlue Plot LineArray basex i, basey pocj den, newi, basey pocj den ,,vishycolor, styleLine styleNoRescale Plot LineArray basex i, basey pocj den, newi, basey pocj den ,,colorYellow, styleLine styleNoRescale. Vah LineArray baseX i , baseY pocj shiftup den, i, baseY pocj shiftup den Val LineArray baseX i , baseY pocj-shiftdn den, i, baseY pocj-shiftdn den pocline LineArray basex, basey pocj den, basex i poc, basey pocj den. Plot Vah,,ParamColor ColorVAHLine , colorBlueGrey, styleLine styleNoRescale Plot Val,,ParamColor ColorVALLine , colorBlueGrey, styleLine styleNoRescale. Vahn LineArray i, baseY pocj shiftup den, i t, baseY pocj shiftup den pocn LineArray i, baseY pocj den, i t, baseY pocj den Valn LineArray i, baseY pocj-shiftdn den, i t, baseY pocj-shiftdn den. for p 0 p relTodayRange 1 p p multiplier if P 0 line LineArray baseX, baseY p Den, baseX x p , baseY p Den. Plot line,,IIf p pocj shiftup, ParamColor ColorAboveVA , colorDarkRed, IIf p pocj shiftup AND p pocj-shiftdn, ParamColor ColorVA , colorDarkBlue, ParamColor ColorBelowVA , colorDarkRed EnMP2.basex 0 x 0 Basex i baseY Bot i relTodayRange Range i Den Voloumeunit Vol i LastValue BarsInDay. for j 1 j relTodayRange 1 j if poc x j poc x j pocj j else if poc x j if abs midrange-j abs midrange-pocj poc x j pocj j. for n 1 n relTodayRange n total n x n total n-1.Vah LineArray baseX i , baseY pocj shiftup den, i, baseY pocj shiftup den Val LineArray baseX i , baseY pocj-shiftdn den, i, baseY pocj-shiftdn den pocline LineArray basex, basey pocj den, basex i poc, basey pocj den. for p 0 p relTodayRange 1 p p multiplier line LineArray baseX, baseY p Den, baseX x p , baseY p Den. Plot line,,IIf p pocj shiftup, ParamColor ColorAboveVA , colorGrey40,IIf p pocj shiftup AND p pocj-shiftdn, ParamColor ColorVA , colorBlueGrey, ParamColor ColorBelowVA, colorGrey40,EnMP2.SECTIONBEGIN Volume Plot Volume, DEFAULTNAME , ParamColor Color , colorDarkGreen , styleNoTitle ParamStyle Style , styleHistogram styleOwnScale styleThick styleNoLabel, maskHistogram , 2 SECTIONEND SetChartOptions 0,chartShowArrows chartShowDates SECTIONBEGIN Heikin Ashi. SECTIONBEGIN NICK MA Swing SetBarsRequired 200,0.GraphXSpace 5 SetChartOptions 0,chartShowArrows chartShowDates k Optimize K, Param K ,1,0 25,5,0 25 ,0 25,5,0 25 Per Optimize atr, Param atr ,4,3,20,1 ,3,20,1 HACLOSE O H L C 4 HaOpen AMA Ref HaClose, -1 , 0 5 HaHigh Max H, Max HaClose, HaOpen HaLow Min L, Min HaClose, HaOpen PlotOHLC HaOpen, HaHigh, HaLow, HaClose, Name , colorBlack, styleCandle styleNoLabel j Haclose. rfsctor WMA H-L, Per. revers k rfsctor. Trend 1 NW 0 0.Buy Cover Cross j, nw Sell Short Cross nw, j SellPrice ValueWhen Sell, C,1 BuyPrice ValueWhen Buy, C,1 Long Flip Buy, Sell Shrt Flip Sell, Buy SECTIONEND TITLE SECTIONBEGIN Title if Status action actionIndicator Title EncodeColor colorWhite System - Name - EncodeColor colorRed Interval 2 EncodeColor colorWhite - Date - n EncodeColor colorBlack Op - O Hi - H Lo - L Cl - C Vol WriteVal V n EncodeColor colorRed WriteIf Buy GO LONG Reverse Signal at C , WriteIf Sell EXIT LONG Reverse Signal at C , n EncodeColor colorWhite WriteIf Sell Total Profit Loss for the Last Trade Rs C-BuyPrice , WriteIf Buy Total Profit Loss for the Last trade Rs SellPrice-C , WriteIf Long AND NOT Buy, Trade Long - Entry price Rs BuyPrice , WriteIf shrt AND NOT Sell, Trade Short - Entry price Rs SellPrice , n WriteIf Long AND NOT Buy, Current Profit Loss Rs C-BuyPrice , WriteIf shrt AND NOT Sell, Current Profit Loss Rs SellPrice-C , PlotShapes IIf Buy, shapeSquare, shapeNone, colorGreen, 0, L, Offset -40 PlotShapes IIf Buy, shapeSquare, shapeNone, colorLime, 0,L, Offset -50 PlotShapes IIf Buy, shapeUpArrow, shapeNone, colorWhite, 0,L, Offset -45 PlotShapes IIf Sell, shapeSquare, shapeNone, colorRed, 0, H, Offset 40 PlotShapes IIf Sell, shapeSquare, shapeNone, colorOrange, 0,H, Offset 50 PlotShapes IIf Sell, shapeDownArrow, shapeNone, colorWhite, 0,H, Offset -45 AlertIf Buy, SOUND Audio alert , 2 AlertIf Sell, SOUND Audio alert , 2 SECTIONEND. SECTIONBEGIN MA P ParamField Price field ,-1 Periods Param Periods , 8, 2, 200, 1 Plot EMA P, Periods , DEFAULTNAME , ParamColor Color , colorCycle , ParamStyle Style styleNoRescale SECTIONEND. SECTIONBEGIN Mid MA P ParamField Price field ,-1 Periods Param Periods , 34, 2, 300, 1 Plot EMA P, Periods , DEFAULTNAME , ParamColor Color , colorCycle , ParamStyle Style styleNoRescale SECTIONEND. SECTIONBEGIN Long MA P ParamField Price field ,-1 Periods Param Periods , 200, 2, 400, 1 Plot EMA P, Periods , DEFAULTNAME , ParamColor Color , colorCycle , ParamStyle Style styleNoRescale SECTIONEND. From Akshat Jain at 11 57 AM - Oct 02, 2011.IN THE BHS TRADING SYSTEM THERE ARE SOME SPACES WHICH HAVE BEEN CREATED ON PASTING THE FORMULA HERE. OPEN THE EDITOR AND FIND THESE LINES AND REMOVE THE SPACES. PlotOHLC Open, High, Low, Close,,colorWhite, styleCa ndle REMOVE THE SPACE. BuyPriceline LineArray x0,LastValue BuyPrice, x1,L astValue BuyPrice ,0 REMOVE THE SPACE FROM LAST. BuyStopline LineArray x0,LastValue BuyStop2,x1,La stValue BuyStop2 ,0 REMOVE THE SPACE FROM LAST. BuyTPline LineArray x0,LastValue BuyTP1,x1,LastVa lue BuyTP1 ,0 REMOVE THE SPACE FROM VALUE. SellTPline LineArray x0,LastValue SellTP1,x1,Last Value SellTP1 ,0 REMOVE THE SPACE BW LAST VALUE. THESE ARE FEW LINES WHICH HAVE ERRORS AND THE ERRORS ARE DUE TO SPACE WHICH IS CREATED KINDLY REMOVE THE SPACES AND THE AFL WOULD WORK PERFECTLY.

Comments

Popular posts from this blog

Binary Opzioni Piattaforma White Label

Mercato Indicatori Day Trading

Bollinger Bands Parametri