Nya bh system köper sälja nifty. Below är avl liknande ovanstående, som jag hade kopierat från ---- kanske bara detta forum. 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 Pris SetChartOptions 0, diagramShowArrows chartShowDates Plot C, Stäng, ParamColor Färg, färg Svart, stilNotitljus ParamStyle Style GetPriceStyle AVSNITTSÄTTNINGBEGIN ZIG-ZAG P ParamField Prisfältbyte Param Change, 5,0 1 , 25,0 1 AVSNITTSÄTTNINGSBEGIN EMA P ParamField Prisfält, -1 Period Param Period, 15, 2, 300, 1, 10 AVSNITTSÄTTNINGSBEGIN MACD Exploration r1 Param Fast avg, 12, 2, 200, 1 r2 Param Slow avg , 26, 2, 200, 1 r3 Param Signal avg, 9, 2, 200, 1 Z Param zig, 1,0,10,0 1.Cond3 Zig C, z Ref Zig C, z, -4 Köp Cond1 OCH Cond3.Cond6 Zig C, Z Ref Zig C, z, -4 Sälj Cond4 OCH Cond6 Trigger WriteIf Köp, Köp, SkrivIf Sälj, Sell. BG IIf Köp, colorPaleGreen, IIf Sälj, colorRose, colorDefault FG IIf Köp, colorDar IGr , Offset -30.Filter Köp eller Sälj SetOption NoDefaultColumns, True. AddTextColumn Name, Symbol, 77, FG, BG, 120 AddColumn DateTime, Date, formatDateTime, FG, BG, 100 AddColumn TimeNum, Time, 1 AddColumn C, Close, 1 3 AddColumn H, High, 1 3 AddColumn V, Volym AddColumn Ref V, -1, P-Vol AddColumn V Ref V, -1 100, Ökning i vol Lägg till Kolumn Köp, Köp, 1 AddColumn Sälj, Sälj, 1.shape Köp shapeHollowUpTriangle Sälj shapeHollowDownTriangle. PlotShapes form, IIf Köp, colorBlue, colorBlue, 0, IIf Köp, Låg, Hög. GraphXSpace 7 SEKSNITTSÄTTNINGBEGIN EMA3 P ParamField Prisfält, -1 Period Param Period, 15, 2, 300, 1, 10 SEKSENDIV. SECTIONBEGIN Bakgrundstext C13 Param-teckensnitt, 20,10,30,1 C14 Param vänster-höger, 2 1,1 0,5 0,0 1 C1 5 Param up-down, 12,1,20,1 Miny Status axel Maxy Status axelmax lvb Status lastvisiblebar fvb Status firstvisiblebar pxwidth Status pxwidth pxheight Status pxheight GfxSetBkMode transparent 1 GfxSetOverlayMode 1 GfxSelectFont Tahoma, Status pxheight C13 GfxSetTextAlign 6 GfxSetTextColor ColorRGB 217,217,213 GfxTextOut Namn, Status pxheight C15, Status pxheight C15 GfxSelectFont Tahoma, Status pxheight C13 0 5 GfxSetTextColor ColorRGB 103.103.103 GfxTextOut, Status pxbredde C14, Status pxheight C15 2 5 GfxSelectFont Tahoma, Status pxheight C13 0 5 GfxSetTextColor ColorRGB 103,103,103 GfxTextOut, Status pxbredde C14, Status pxheight C15 4 GfxSelectFont MS Sans Serif, 10, 500, False, False, 0 Andra fas startar här Fil BHS Chart SECTIONBEGIN BHS1 02 SetChartBkColor ParamColor Ytterpanelfärg, colorLightYellow SetChartBkColor ParamColor BackGround Färg, färg Svart pShowtradeLines ParamToggle Visa handelslinjer, nej Ja, 1 pShowMarkers ParamToggle Show Markörer, Nej Ja, 1 synkroniserad ParamToggle Synkronisera köp kort med utländsk index, Nej Ja, 1 Volmin Param Volymminimum, 5000,0,10000000,50 Volmax Param Volym Maximal, 1000000,0,10000000,50 prisRL Param Prisintervall Min, 150 , 1,20000,1 priceRH Param Prisintervall Max, 3000,1,20000,1 PercChangemin Param Procentandel Ändring Min uppsättning, -25, -100, 100, 0 1 PercChangemax Param Procentuell ändring Max set, 25, -100, 100, 0 1 PerctakeProfit Param Take Profit Procent Set, 0 5,0 3,30,0 1 PercStoploss Param StopLoss Procent Set, 1,0 2,5,0 1.PlotOHLC Öppna, Hög, Låg, Stäng, FärgWhite, StyleCa Ndle Bars 0 xpdh 90.PlotRange TimeNum 85500 OCH TimeNum 153500 OCH DateNum LastValue DateNum FHRange TimeNum 085500 OCH TimeNum 093000 OCH DateNum LastValue DateNum. FHPrices Hög FHRange FHMarker BarsSince FHRange 0.NumBars 36000 Interval 1.TimeFrameSet inDaily TOP Öppna PDH Ref High, -1 PDL Ref Låg, -1 PDO Ref Open, -1 PDC Ref Close, -1 PDM PDH PDL 2 TimeFrameRestore. isAll True isRth TimeNum 085400 OCH TimeNum 093000 isdRth TimeNum 085400 OCH 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 Hög 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 OCH FC4 FC1 PDH 0 005 , FC2,0 Cl IIf FC4 FC3 OCH FC4 FC2 PDH 0 005, FC3,0 AF AB Cl. Utländska SECTIONBEGIN främmande Index-bargrafik Vr ParamList Index, lista IN NS, 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 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 SEKTIONENDBuyPrice DayL AF KöpTP1 KöpPris KöpPris PerctakeProfit 100 KöpTP2 C KöpTP1 SäljPris DagH-AF SäljP1 SäljPris - SäljPris PerctakeProfit 100 SäljPTP2 C SäljPTP Percchange C-TOPP 100 Vol V Volmin OCH V Volmax Procentandel PercChangemin OCH Percchange PercChangemax Prc C PrisRL OCH C PrisRH KöpStop1 KöpPris - Köppris PercStoploss 100 KöpStop2 IIf BuyStop1 SäljPris och Säljpris Köppris, SäljPris, KöpStopp1 SäljStopp1 SäljPris SäljPris PercStoploss 100 SäljStop2 IIf SäljStopp1 KöpPris och SäljPris Köppris, Köppris, SäljStopp1.BuyStop IIf Köp OCH INTE KöpTP2, KöpS top2, Null BuyTP IIf Köp och inte KöpStop, KöpTP2, Null. Bars BarsSince TimeNum 85400 OCH TimeNum 092900 x0 BarCount-LastValue Bars x1 BarCount-1 TOPLine LineArray x0, LastValue TOP, x1, LastValue upp, 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 KöpPrincip LineArray x0, LastValue Köppris, x1, L astValue Köppris, 0 KöpStopline LineArray x0, LastValue KöpStop2, x1, La stValue BuyStop2, 0 BuyTPline LineArray x0, LastValue BuyP1, x1, LastValue SellStop2, 0 SäljPriceline LineArray x0, LastValue SäljPrice, x1, LastValue SäljPrice, 0 SäljStopline LineArray x0, LastValue SäljStop2, x1, LastValue SellStop2, 0 SäljTPline LineArray x0, LastValue SäljTP1, x1, senaste värde SäljTP1, 0 DayHline LineArray x0, Senaste Värde DayH, x1, LastValue DayH, 0 DayLine 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 OCH Köp, shapeHollowUpArrow, Null, colorDarkGreen, 0, L, Offset -30.if Status action actionIndicator Titel EncodeColor colorWhite BHS2 System - Namn - EncodeColor colorYellow Interval 2 EncodeColor colorYellow - Date - EncodeColor colorYellow - Open WriteVal O, 1 EncodeColor colorYellow - High WriteVal H, 1 EncodeColor colorYellow - Stäng WriteVal C, 1 EncodeColor colorYellow - Vol WriteVal V, 1 WriteIf Percchange, Byt utbyte, n Föregående dagHigh WriteVal PDH, 1, Tidigare DayLow WriteVal PDL, 1, Idag High WriteVal DayH, 1, Low Days, Low Days, 1 Comm2 n Vr Phase WriteIf Hac BG3, EncodeColor colorBrightGreen Up, WriteIf Hac BR3, EncodeColor colorRed-Down, EncodeC olor colorLightYellow Flat. GfxSetOverlayMode-läge 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-nivå Buystop2, 30, 60 GfxTextOut WriteIf BuyPrice, Köp ovanför Köppris,, 30, 75 GfxTextOut WriteIf BuyStop2, Long SL KöpStop2,, 30, 90 GfxTextOut WriteIf BuyTP1 Långt mål 1 KöpTP1,, 30, 105 GfxTextOut WriteIf SäljPrice, Sälj Under SäljPrice,, 30, 120 GfxTextOut WriteIf SellStop2, Short SL SäljStop2,, 30, 135 GfxTextOut WriteIf SellTP1, Short Target SäljTP1,, 30, 150.AddColumn V, Volym, 1 0 AddColumn Percchange, Change, 1 2 AddColumn BuyPrice, Köp på, 1 2 AddColumn BuyStop, Köp Stoppa vid, 1 2 AddColumn BuyTP1, Köp vinst på, 1 2 AddColumn SäljPris, Kort vid, 1 2 AddColumn SellTP1, Kort vinst vid, 1 2.SECTIONBEGIN kort signal 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 Låg, 4 ATR 4, 8 BR2 LLV HHV High, 4 - ATR 4, 8 SetBarFillColor IIf OC, ColorSeaGreen, colorOrange K Optimera K, Param K, 1 75,1,5,0 25, 1,5,0 25 Per Optimera atr, Param atr, 10,3,30,1, 3,30,1 j HaClose nm HL rfsctor WMA nm , PER revers K rfsctor Trend 1 NW 0 0 för i 1 i BarCount i om Trend i-1 1 om ji NW i-1 Trend i -1 NW iji Växlar jag annars Trend i 1 om ji - Växlar jag NW i-1 NW Iji - Omvänder jag annars NW i NW i-1 om Trend i-1 -1 om ji NW i-1 Trend i 1 NW iji - Växlar jag annars Trend i -1 om ji Växlar jag NW i-1 NW iji Växlar jag annars NW I NW I-1.Plot NW,, IIf Trend 1, 6, 4, 4.Buy Cross j, nw Short Cross nw, j Sälj Cross nw, j Omslag Cross j, nw Köp ExRem Köp, Sälj Sälj ExRem Sälj, Köp Kort ExRem Kort, Cover Cover ExRem Cover, Short PlotShapes IIf Köp, shapeUpArrow, shapeNone, colorWhite, 0, halow -30 PlotShapes IIf Sälj, shapeHollowDownTriangle, shapeNone, colorWhite, 0, hahigh, -15 P lotShapes IIf Cover, shapeHollowUpTriangle, shapeNone, colorWhite, 0, halow, -15 PlotShapes IIf Kort, shapeDownArrow, shapeNone, colorWhite, 0, hahigh, -30 ----------- ände. FÄRDADE PIVOTER LINES LATER. ---- svängpunkter DayH TimeFrameGetPrice H, inDaily, -1 yesterdays hög DayL TimeFrameGetPrice L, inDaily, -1 låg DayC TimeFrameGetPrice C, inDaily, -1 stäng DayO TimeFrameGetPrice O, inDaily nuvarande dag öppen 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 stil stilLin stilTjock stilNoRescale rcolor colorBlue scolor colorRed pcolor colorWhite Plot R1, R1, rcolor, stil Plot S1, S1, scolor, stil Plot R2, R2, rcolor, stil Plot S2, S2, scolor, stil Plot PP, PP, pcolor, stil Plot s3, S3, scolor, stil Plot R3, R3, rcolor, stil RangeTitle EncodeColor colorWhite Day Range EncodeColor colorWhite. Bakgrundsfärg SetChartBkColor ParamColor Panel färg, färgPaleBlue. TicDiv Param Tic eller PIP värde, 1,0,1000000 Titledisplay ParamToggle Display pivot statistik, Nej Ja, 1. barcolor IIf C Open, colorWhite, IIf C Öppna, colorWhite, colorWhite Plot C, Stäng, barcolor, styleCandle styleNoLabel. EMA34 EMA C, 34 LSMA LinearReg C, 25 PI atan 1 00 4 perioder 30 HighHigh HHV H, perioder LowLow LLV L, periodintervall 25 HighHigh - LowLow LowLow x1EMA34 0 x2EMA34 2 y1EMA34 0 y2EMA34 Ref EMA34, -2 - EMA34 Avg. intervall cEMA34 sqrt x2EMA34 - x1EMA34 x2EMA34 - x1EMA34 y2EMA34 - y1EMA34 y2EMA34 - y1EMA34 angleEMA34 runda 180 acos x2EMA34 - x1EMA34 cEMA34 PI TitelAngleEMA34 EncodeColor colorWhite nEMA34 vinkelvinkelEMA34 IIf y2EMA34 0, - angleEMA34, angleEMA34 ColorANGLEEMA IIf angleEMA34 5, colorTurquoise, IIf angleEMA34 5 OCH angleEMA34 3 57, colorDarkGreen, IIf angleEMA34 3 57 OCH angleEMA34 2 14, colorPaleGreen, IIf angleEMA34 2 14 och angleEMA34 71, colorLime, IIf angleEMA34 -1 5, colorDarkRed, IIf angleEMA34 -1 5 OCH angleEMA34 -1 3 57, colorRed, IIf angleEMA34 -1 3 57 OCH angleEMA34 -1 2 14, colorOrange, IIf angleEMA34 -1 2 14 OCH angleEMA34 -1 71, colorLightOrange, colorYell e-post, 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, färgblå, colorPink Plot Hilo, HiLo , Trigger, StyleStaircase. Title EncodeColor colorWhite Namn - EncodeColor colorRed Interval 2 EncodeColor colorTan - Datum - Op-O Hi - H Lo-L Cl - Cn Vol WriteVal V, Idag Hög WriteVal DayH, 2, Dag Låg WriteVal DayL, 2. SECTIONBEGIN BuySell-nodll ---------------------------------------------- --------------------------- SetChartOptions 0, chartShowArrows chartShowDates N Titel StrFormat Öppna g, Hej g, Lo g, Stäng g 1f, O, H, L, C, SelectedValue ROC C, 1.T 26 BHSda C-MA C, T MA C, T 100 func fixed Graph0 BHSda Graph0Style 2 4 Graph0BarColor IIf BHSda 0,5,4 GraphXSpace 5.SetChartOptions 0, chartShowArrows chartShowDates Plot C, Stäng, ParamColor Färg, färg Svart, stilNoTitle stilCandle Plot O, Öppna, ParamColor Färg, färg Svart, styleNoDraw Plot H, High, ParamColor Färg, färg Svart, styleNoDraw Plot L, Låg, ParamColor Färg, färg Svart, styleNoDraw. BSAU EMA Max C - Ref C, -1, 0 BHEXPerc BSAC EMA Max Ref C, -1 - C, 0, BHEXPerc x1 BHSMPPer-1 BSAC-värde1 100-värde1 - BSAU BSR1 IIf x1 0, Cx1, Cx1 100-värde1 Värde1 x2 BHSMPPer -1 BSAC-värde1 100-värde2 - BSAU BSR2 IIf x2 0, Cx2, Cx2 100-värde2-värde2.Plot BSR1,, färgArange, stilDashed-plot BSR2,, colorPaleBlue, styleDashed. r1 12 Param Fast avg, 12, 2, 200 , 1 r2 26 Param Slow avg, 26, 2, 200, 1 r3 9 Param Signal avg, 9, 2, 200, 1 Z 1 Param zig, 1,0,10,0 1.Cond1 Cross MACD r1, r2, Signal R1, r2, r3 Cond3 Zig C, z Ref Zig C, z, -4 Köp Cond1 OCH Cond3.Cond4 Cross Signal r1, r2, r3, MACD r1, r2 Cond6 Zig C, z Ref Zig C, z, -4 Sälja Cond4 och Cond6.Trigger WriteIf Köp, Köp, WriteIf Sälj, Sälj, BSG IIf Köp, colorPaleGreen, IIf Sel l, colorRose, colorDefault BSFG IIf Köp, colorDarkGreen, IIf Sälj, colorDarkRed, colorDefault. if Statusåtgärd actionExplore ELLER Statusåtgärd actionScan Filter Köp eller Sälj SetOption NoDefaultColumns, True AddTextColumn Name, Symbol, 77, BSFG, BSG, 120 AddColumn DateTime, Date , FormatDateTime, BSFG, BSG, 100 AddColumn TimeNum, Time, 1, BSFG, BSG, 100 AddColumn Köp, Köp, 1, BSFG, BSG, 50 AddColumn Sälj, Sälj, 1, BSFG, BSG, 50 AddColumn O, Open, 1 2, BSFG, BSG, 100 AddColumn H, High, 1 2, BSFG, BSG, 100 AddColumn L, Low, 1 2, BSFG, BSG, 100 AddColumn C, Stäng 1 2, BSFG, BSG, 100 AddColumn Ref V, -1, P-Vol, 1, BSFG, BSG, 100 AddColumn V Ref V, -1 100, Ökning i vol, 1, BSFG, BSG, 100.shape Köp shapeHollowUpTriangle Sälj shapeHollowDownTriangle PlotShapes form, IIf Köp, colorBlue, colorBlue, 0, IIf Köp, Låg, Hög GraphXSpace 7. --------------------------------------- -------------------------------------------------- ---------------- C13 20 Param typsnitt, 20,10,30,1 C14 2 1 Param vänster höger, 2 1,1 0,5 0,0 1 C15 12 Param uppåt, 12,1,20,1 Miny Statusaxel Maxy Status axelmax lvb Status lastvisiblebar fvb Status firstvisiblebar pxwidth Status pxbredd pxheight Status pxheight GfxSetBkMode transparent en GfxSetOverlayMode en GfxSelectFont Tahoma, Status pxheight C13 GfxSetTextAlign 6 GfxSetTextColor ColorRGB 217.217.213 GfxTextOut Namn, Status pxwidth C14, Status pxheight C15 GfxSelectFont Tahoma, Status pxheight C13 0 4 GfxSetTextColor ColorRGB 103.103.103 GfxSelectFont Tahoma, Status pxheight C13 0 45 GfxSetTextColor colorWhite GfxSelectFont MS Sans Serif 10, 500, False, False, 0.SetChartBkGradientFill ParamColor BgTop, colorDarkOliveGreen, ParamColor BgBottom, colorDarkGrey pShowtradeLines ParamToggle Visa handelslinjer, Nej Ja, 1 Volmin Param Volymminimum, 50,0,10000000,50 Volmax Param Volym maximalt, 1000000, 0,10000000,50 priceRL Param Prisintervall Min, 50,1,120000,1 priceRH Param Prisintervall Max, 20000,1,120000,1 BSPeChMi -25 Param Procentuell ändring Min uppsättning, -25, -100, 100, 0 1 BSPeChMa 25 Param Procentuell ändring Max set, 25, -100, 100, 0 1 BSPerTkProf Param Ta vinstprocent Set, 0 6,0 3,30 , 0 1 BSPerStLos Param StopLoss Procent Set, 0 25,0 2,5,0 1.BSPlRng TimeNum 90000 OCH TimeNum 153000 OCH DateNum LastValue DateNum BSFHRg TidNum 090000 OCH TidNum 093000 OCH DateNum LastValue DateNum. BSFHPrc Hög BSFHRg BSFHMrk BarsSince BSFHRg 0 NumBars 36000 Intervall 1.TimeFrameSet inDaily TOP Öppet PDH Ref Hög, -1 PDL Ref Low, -1 PDO Ref Open, -1 PDC Ref Close, -1 PDM PDH PDL 2 TimeFrameRestore. isAll True isRth TimeNum 085400 OCH TimeNum 093000 isdRth TimeNum 085400 OCH TimeNum 160000.aRthL IIf isRth, L, 1000000 aRthHIIf 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 Hög 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. A IIf FC4 FC1 PDH 0 005, FC1,0 B IIf FC4 FC2 PDH 0 005 OCH FC4 FC1 PDH 0 005, FC2,0 Cl IIf FC4 FC3 OCH FC4 FC2 PDH 0 005, FC3, 0 AF AB Cl. HaC OHLC 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, colorBlue, IIf Hac BR3, colorRed, colorGrey50.BuyPrice DayL AF BSByTP1 Köppris Köppris BSPerTkProf 100 BSByTP2 C BSByTP1 SäljPris DagH-AF BSSlTP1 SäljPris - SäljPris BSPerTkProf 100 BSSlTP2 C BSSlTP1 BSPrCh C-TOP TOP 100 Vol V Volmin och V Volmax Procent BSPrCh BSPeChMi OCH BSPrCh BSPeChMa PRC C priceRL och C priceRH BuyStop1 Köppris-Köppris BSPerStLos 100 KöpStop2 IIf KöpStop1 SäljPris och Säljpris Köppris, SäljPris, KöpStopp1 SäljStopp1 SäljPris SäljPris BSPerStLos 100 SäljStop2 IIf SäljStopp1 KöpPris och Säljpris Köppris, Köppris, SäljStopp1.BuyStop IIf Köp OCH INTE BSByTP2, BuyStop2, Null BuyTP IIf Köp och inte KöpStop, BSByTP2, Null. Bars BarsSince TimeNum 85400 OCH 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 Köppris, x1, L astValue Köppris, 0 KöpStopline LineArray x0, LastValue KöpStop2, x1, La stValue BuyStop2, 0 KöpTPline LineArray x0, LastValue BSByTP1, x1, LastV alue BSByTP1, 0 SäljPriceline LineArray x0, LastValue SäljPrice, x1, LastValue SäljPrice, 0 SäljStopline LineArray x0, LastValue SäljStop2, x1, LastValue SellStop2, 0 SäljTPline LineArray x0, LastValue BSSlTP1, x1, senaste värde BSSlTP1, 0 DayHline LineArray x0, LastValue DayH, x1, LastValue DayH, 0 DayLine LineArray x0, LastValue DayL, x1, LastValue DayL, 0.Plot IIf pShowtradeLines, BuyStopline, Null, Colo rBrightGreen, styleDots styleNoRescale styleNoLine Plot IIf pShowtradeLines, SellPriceline , Null,, co lorRed, styleDots styleNoRescale. if Status action actionIndicator Titel EncodeColor colorWhite BuySell system - Namn - EncodeColor colorYellow Interval 2 EncodeColor colorYellow - Date - EncodeColor colorYellow Öppna EncodeColor colorWhite WriteVal O, 8 2 EncodeColor colorYellow, High EncodeColor colorWhite WriteVal H, 8 2 EncodeColor colorYellow, Low EncodeColor colorWhite WriteVal L, 8 2 EncodeColor colorYellow, Stäng EncodeColor colorWhite WriteV al C, 8 2 EncodeColor colorYellow, Vol EncodeColor colorWhite WriteVal V, 1 n. -------------------------------------------------- -------------------------------------------------- ----------------- GfxSetOverlayMode-läge 0 GfxSelectPen colorLightBlue, 2 GfxSelectSolidBrush colorBlack GfxRoundRect 5,65, 250, 180, 16, 20 GfxSetBkMode 1 GfxSelectFont Arial, 12, 700, False GfxSetTextColor colorBrown GfxSetTextAlign 0 GfxSetTextColor colorPaleGreen GfxTextOut WriteIf BuyPrice, Long Target 1 WriteVal Köppris, 1 2,, 15, 73 GfxSetTextColor colorLightBlue GfxTextOut WriteIf BSByTP1 Långt Mål 2 WriteVal BSByTP1,1 2, 15, 92 GfxSetTextColor colorRed GfxTextOut WriteIf SäljPris, Kort Mål 1 WriteVal SäljPris , 1 2, 15, 111 GfxSetTextColor colorOrange GfxTextOut WriteIf BSSlTP1, Short Target 2 WriteVal BSSlTP1,1 2, 15, 129 GfxSetTextColor colorWhite GfxTextOut WriteIf BuyStopline, Instant Sup Res SkrivVal BuyStopline, 1 2,, 15, 147. Köp Cross , nw Short Cross nw, j Sälj Cross nw, j Omslag Cross j, nw Köp ExRem Köp, Sälj Sälj ExRem Sälj, Köp Shor t ExRem Short, Cover Cover ExRem Cover, Short Long Flip Köp, Sälj Shrt Flip Sälj, Buy. dist 1 5 ATR 15 Buy2show 0 Sälj2show 0 för i 0 i BarCount jag om Köp i PlotText Köp WriteVal C i, 1 2, i - 5, C i-Trend i, colorWhite, colorBlue Buy2show C i. if Sälj i PlotText Sälj WriteVal C I, 1, I-5, C I Trend I, colorWhite, colorRed Sälj2show C Jag AlertIf Sälj, SOUND, Sälj WriteVal H, 1 2, 2 AlertIf Köp, SOUND, Köp WriteVal O, 1 2, 1.GfxSetBkMode transparent 1 GfxSetOverlayMode 1 GfxSelectFont Tahoma, Status pxheight C13 GfxSetTextAlign 6 GfxSetTextColor ColorRGB 217,217,213 GfxTextOut Namn, Status pxbredde C14, Status pxheight C15 GfxSelectFont Tahoma, Status pxheight C13 0 4 GfxSetTextColor ColorRGB 103,103,103 GfxTextOut Från, Status pxbredde C14 1 8, Status pxheight C15 10 5 GfxSelectFont Tahoma, Status pxheight C13 0 45 GfxSetTextColor colorWhite GfxTextOut, Status pxbredde C14 1 8, Status pxheight C15 11 GfxSelectFont MS Sans Serif, 10, 500, Falskt, Falskt, 0. ------------ --------------- att plot buysell pris GfxSetOverlayMode läge 0 GfxSelectPen colorGreen, 2 GfxSelectSolidBrush colorBlack GfxRoundRect 5, 181,250,240, 15,15 GfxSetBkMode 1 GfxSelectFont Arial, 12, 700, False GfxSetTextColor colorPaleGreen GfxSetTextAlign 0.GfxTextOut WriteIf Köp ELLER Långt KÖP Signal På WriteVal Buy2show, 1 2,, 10, 185 GfxTextOut WriteIf Sälj ELLER shrt SÄLJ Signal På WriteVal Sell2show, 1 2,, 10, 185.GfxSetTextColor colorYellow GfxTextOut WriteIf Långt och inte Köp, KÖP Vinst WriteVal C-Buy2show, 1 2,, 10, 205 GfxTextOut WriteIf shrt OCH INTE SÄLJ, SÄLJ Profit WriteVal Sell2show-C, 1 2,, 10, 205 GfxTextOut WriteIf Lång eller shrt CMP WriteVal C, 1 2,, 10, 215.GfxSetOverlayMode mod 8, 25.GfxSetTextColor colorRed GfxTextOut WriteIf nw, Trailing SL SkrivVal nw, 1, 8, 43 GfxTextOut WriteIf Omslag OCH INTE Köp, Trailing SL SkrivVal nw, 1, 8, 43 GfxSetTextColor colorGold GfxTextOut WriteIf nw, Trailing SL WriteVal nw, 1, 8, 43 GfxTextOut WriteIf Short OCH INTE Sälj, Trailing SL SkrivVal nw, 1, 8, 43.PlotShapes IIf Köp, shapeUpArrow, shapeNone, colorWhite, 0, HAL, -40.PlotShapes IIf Kort, shapeDownArrow, shapeNone, ColorWhite, 0, HAH, -40.fibs ParamToggle Plot Fibs, Av På, 1 pctH 0 325 Param Pivot Hej, 0 325,0 001,2 0,0 002 HiLB 1 Param Up LookBack, 1,1, BarCount-1, 1 pctL 0 325 Param Pivot Lo, 0 325,0 001,2 0,0 002 LoLB 1 Param Down Lookback, 1,1, BarCount-1,1 Tillbaka 1 Param Förläng vänster 2, 1,1,500,1 Fwd 0 Param Plot Framåt, 0, 0, 500, 1 text ParamToggle Plot Text, Av På, 1 hts -14 Param Text Shift, -14, -50,50,0 10 Style ParamStyle Line Style, StyleLine, StyleNoLabel x BarIndex pRp PeakBars H, pctH , 1 0 yRp0 LastValue ValueWhen pRp, H, HiLB xRp0 La StValue 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 och xSp0 xRp0 , YRp0 - retval, IIf rätt 1 0 OCH xSp0 xRp0, ySp0 retval, IIf rätt 1 0 OCH xSp0 xRp0, yRp0 - retval, IIf rätt 1 0 OCH xSp0 xRp0, ySp0 retval, Null return LFIVal. xo Min xSp0, 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 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 Status barvisible fraktion IIf StrRight Namn, 3, 3 2, 3 2. Om text 1 PlotText 0 WriteVal p00,1, LastValue BarIndex - numbars hts, p00I 0 05, color00 PlotText 23 WriteVal r236,1, LastValue BarIndex - numbars Ht, r236I 0 05, färg00 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, färg00 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, färg00 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 BarInde X - numbars hts, e262I 0 05, color00 PlotText 424 WriteVal e424,1, LastValue BarIndex - numbars hts, e424I 0 05, color00.YH TimeFrameGetPrice H, inDaily, -1 yesterdays high YL TimeFrameGetPrice L, inDaily, -1 låg YC TimeFrameGetPrice C, inDaily, -1 stäng YO TimeFrameGetPrice O, inDaily aktuell dag öppen. Normal 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 --------- -------------------------------------------------- ------------------------ AVSNITT AVSNITT BEGIN BuySell Trend Köp eller sälj villkor Köp Cross EMA Stäng 3, EMA Stäng 23 Sälj Kors EMA Stäng 23, EMA Stäng 3 . Plot EMA Plot EMA Stäng, 23, 23 EMA, ParamColor Färg, färg Svart, styleNoRescale Plot EMA Stäng, 3, 3 EMA, ParamColor Färg, färg Svart, styleNoRescale. Styck Ribbon1 IIf EMA Stäng 3 EMA Stäng 23, colorGreen, IIf EMA Stäng 23 EMA Stäng 3, colorRed, colorYellow Plot 3, Ribbon, Ribbon1, styleOwnScale styleArea styleNoLabel, -0 5,100 SECTIONEND. upt C MA C, 21 OCH C EMA C , 8 dnt C MA C, 21 OCH C EMA C, 8 mutter C MA C, 21 OCH C EMA C, 8 ELLER C MA C, 21 OCH C EMA C, 8 Col IIf dnt, colorRed, IIf upt, colorBlueGrey, IIf Nut, colorYellow, colorTan Plot C, Stäng, col, styleNoTitle ParamStyle Style GetPriceStyle Filter 1 AddColumn C, stäng, 1 2,1, Col. AFL BHS Trading System Hög Efterfrågan. Jag kom över en Afl som alla kräver här Här är koderna för samma och en del information också om afl, det här är bara en blandning av heikin ashi och pivot nma swing system Jag tillhandahåller också koderna för Heikin ashi Candel, Pivot med NMA swing avl parametor som ska användas Atr 20 och k 2 för samma för effektiva resultat, och personligen tror att bhs-systemet skulle torka såg dina pengar och det är inte en drivkraft skapad och konstruerad av någon En, ingen ånger, men man kan korsa, kontrollera detsamma, det är en mix, men jag har inget att göra med detsamma, jag gör bara människor medvetna om det och man kan använda den andra kraften även om de vill använda PARE YOUR SELF WHICH EN ÄR BÄTTRE OCH DAM SÄKER AT DU VAR ATT ÄR BÄSTA BÄTTRE ÄN BHS ONE. BHS TRADING SYSTEM AFL. SECTIONBEGIN MA Diff T 26 KMA C-MA C, T MA C, T 100 Graf0 KMA Graph0Style 2 4 Graph0BarColor IIf KMA 0, 5,4 GraphXSpace 5.SECTIONBEGIN Pris SetChartOptions 0, chartShowArrows chartShowDates Plot C, Stäng, ParamColor Färg, färg Svart, stilNotitiv Parametylstil GetPriceStyle SECTIONENDSECTIONBEGIN ZIG-ZAG P ParamField Prisfältbyte Paramförändring, 5,0 1,25,0 1 SEKTIONEND. SECTIONBEGIN EMA P ParamField Prisfält, -1 Period Param Period, 15, 2, 300, 1, 10 SEKSNITTSÄTTNINGBEGIN MACD Exploration r1 Param Fast avg, 12, 2, 200, 1 r2 Param Slow avg, 26, 2, 200, 1 r3 Param Signal avg, 9, 2, 200, 1 Z Param zig, 1,0,10,0 1.Cond3 Zig C, z Ref Zig C, z, -4 Köp Cond1 och Cond3.Cond6 Zig C, Z Ref Zig C, Z, -4 Sälj Cond4 OCH Cond6 Trigger WriteIf Köp, Köp, SkrivIf Sälj, Sälj. BG IIf Köp, colorPaleGreen, IIf Sälj, colorRose, colorDefault FG IIf Köp, colorDarkGreen , IIf Sälj, colorDarkRed, colorDefault. if Status action actionIndicator Plot C, färgGrey50, styleBar PlotShapes IIf Köp, shapeUpArrow, shapeNone, colorWhite, 0, L, Offset -30 PlotShapes IIf Sälj, shapeDownArrow, shapeNone, colorWhite, 0, H, Offset -30.Filter Köp eller Sälj SetOption NoDefaultColumns, True. AddTextColumn Name, Symbol, 77, FG, BG, 120 AddColumn DateTime, Date, formatDateTime, FG, BG, 100 AddColumn TimeNum, Time, 1 AddColumn C, Stäng, 1 3 AddColumn H, High, 1 3 AddColumn V, Volym AddColumn Ref V, -1, P-Vol AddColumn V Ref V, -1 100, Ökning av Vol AddColumn Köp, Köp, 1 AddColumn Sälj, Sälj, 1.shape Köp shapeHollowUpTriangle Sälj shapeHollowDownTriangle. PlotShapes form, IIf Köp, colorBlue, colorBlue, 0, IIf Köp, Låg, Hög. GraphXSpace 7 SECTIONEND. SE CTIONBEGIN EMA3 P ParamField Prisfält, -1 Period Param Period, 15, 2, 300, 1, 10 SEKSNITTSÄTTNINGSBEGIN Bakgrundstext C13 Param-teckensnitt, 20,10,30,1 C14 Param vänster-höger, 2 1,1 0, 5 0,0 1 C15 Param uppåt, 12,1,20,1 Miny Status axel Maxy Status axelmax lvb Status lastvisiblebar fvb Status firstvisiblebar pxwidth Status pxwidth pxheight Status pxheight GfxSetBkMode transparent 1 GfxSetOverlayMode 1 GfxSelectFont Tahoma, Status pxheight C13 GfxSetTextAlign 6 GfxSetTextAlign 6 GfxSetTextColor ColorRGB 217.217.213 GfxTextOut Namn, Status pxwidth C14, Status pxheight C15 GfxSelectFont Tahoma, Status pxheight C13 0 5 GfxSetTextColor ColorRGB 103.103.103 GfxTextOut, Status pxwidth C14, Status pxheight C15 2 5 GfxSelectFont Tahoma, Status pxheight C13 0 5 GfxSetTextColor ColorRGB 103.103.103 GfxTextOut, Status pxwidth C14 , Status pxheight C15 4 GfxSelectFont MS Sans Serif , 10, 500, False, False, 0 Second phase starts Here File BHS Chart SECTIONBEGIN BHS1 02 SetChartB kColor 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 FC 4 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 A B 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,BuyS top2,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,Last Value 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, EncodeC olor 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 P lotShapes 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, colorYell ow 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-Da y 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 R ef 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 HaOpe n, 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 base x, 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 Li neArray 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, Cu rrent 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 st yleNoRescale 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 T HE SPACES AND THE AFL WOULD WORK PERFECTLY.
No comments:
Post a Comment