Thursday 13 July 2017

Bhs Handelssystem

ABSCHNITTBEGINN (quotBuySell-nodllquot) --------------------------------------------- ----------------------------- SetChartOptions (0, chartShowArrowschartShowDates) N (Titel StrFormat (Öffnen g, Hi g, Lo g, Schließen Sie g (.1f), O, H, L, C, SelectedValue (ROC (C, 1)))) T26 BHSda (C-MA (C, T)) MA (C, T) Graph0BHSda Graph0Style24 Graph0BarColorIIf (BHSdagt0,5,4) GraphXSpace5 SetChartOptions (0, chartShowArrowschartShowDates) Plot (C, quotClosequot, ParamColor (quotColorquot, Farbeschwarz), styleNoTitle styleCandle) Grundstück (O, quotOpenquot, ParamColor (quotColorquot, Farbeschwarz), styleNoDraw) Plot ( H, quotHighquot, ParamColor (quotColorquot, Farbeschwarz), styleNoDraw) Grundstück (L, quotLowquot, ParamColor (quotColorquot, Farbeschwarz), styleNoDraw) BSAU EMA. (Max (C - Ref (C, -1), 0) BHEXPerc) BSAC EMA BHSMPPER-1) (BSAC-Wert 1) (100-Wert1) - BSAU) BSR & sub1; IIf (x & sub1; gt & sub0 ;, C & sub1; & sub1; BSR1, QQ2, X2, X2, X2, X2, X2, X1, X2, X2, colorOrange, styleDashed) Plot (BSR2, quotquot, colorPaleBlue, styleDashed) r1 12Param (quotFast avgquot, 12, 2, 200, 1) r2 26Param (quotSlow avgquot, 26, 2, 200, 1) r3 9Param (quotSignal avgquot, 9, 2, 200, 1) Z 1Param (Zehnerquot, 1,0,10,0,1) Cond1 Kreuz (MACD (r1, r2), Signal (r1, r2, r3)) Cond3 Zig (C, z) gtRef , Z), - 4) Kaufen Cond1 UND Cond3 Cond4 Kreuz (Signal (r1, r2, r3), MACD (r1, r2)) Cond6 Zig (C, z) ltRef (Zig (C, z), - 4) Cond4 UND Cond6 Trigger-WriteIf (Kauf, quotBuyquot, quotquot) WriteIf (Verkaufen, quotSellquot, quotquot) BSG IIf (Kauf, colorPaleGreen, IIf (Verkaufen, colorRose, colorDefault)) BSFG IIf (Kauf, colorDarkGreen, IIf (Verkaufen, colorDarkRed, colorDefault if)) ((Stand (quotactionquot) actionExplore) OR (Status (quotactionquot) actionScan)) Filter kaufen oder zu verkaufen SetOption (quotNoDefaultColumnsquot, True) AddTextColumn (Name (), quotSymbolquot, 77, BSFG, BSG, 120) AddColumn (Datetime ( ) AddColumn (Buy, quotBuyquot, 1, BSFG, BSG, 50) AddColumn (Sell, quotSellquot, 1, BSFG, BSG, 100) AddColumn (ZEIT, BSFG, BSG, 100) AddColumn (L, quotLowquot, 1.2, BSFG, BSG, 100) AddColumn (O, quotOpenquot, 1.2, BSFG, BSG, 100) (V (-1), 100) AddColumn (V (Ref (V, & ndash; 1) 100), & ndash; Zunahme in & ndash; 1, BSFG, BSG, 100) Volt, 1, BSFG, BSG, 100) Form (Kaufen Sie shapeHollowUpTriangle) (Verkaufen shapeHollowDownTriangle) PlotShapes (Form, IIf (Kauf, colorBlue, colorBlue), 0, IIf (Kauf, niedrig, hoch) GraphXSpace 7 ----- -------------------------------------------------- -------------------------------------------------- Miny Status (quotaxisminyquot) Maxy Status (Maximaler Status (Maximaler Status) Maxy Status (Maximaler Status (Maximaler Status) Maxy Status (Maximaler Status (Maximaler Status) quotaxismaxyquot) LVB-Status (quotlastvisiblebarquot) FVB-Status (quotfirstvisiblebarquot) pxwidth Status (quotpxwidthquot) pxheight Status (quotpxheightquot) GfxSetBkMode (transparent1) GfxSetOverlayMode (1) GfxSelectFont (quotTahomaquot, Status (quotpxheightquot) C13) GfxSetTextAlign (6) GfxSetTextColor (ColorRGB (217217213) ) GfxTextOut (Name (), Status (quotpxwidthquot) C14, Status (quotpxheightquot) C15) GfxSelectFont (quotTahomaquot, Status (quotpxheightquot) C130.4) GfxSetTextColor (ColorRGB (103103103)) GfxSelectFont (quotTahomaquot, Status (quotpxheightquot) C130.45) GfxSetTextColor (colorWhite) GfxSelectFont (Sms Serifquot, 10, 500, False, False, 0) ------------------------------ -------------------------------------------------- ---------------- SetChartBkGradientFill (ParamColor (quotBgTopquot, colorDarkOliveGreen), ParamColor (quotBgBottomquot, colorDarkGrey)) pShowtradeLines ParamToggle (quotShow Handel Linesquot, quotNoYesquot, 1) VolminParam (quotVolume minimumquot, 50, 0,10000000,50) VolmaxParam (quotVolume maximumquot, 1000000,0,10000000,50) priceRLParam (quotPrice Bereich Minquot, 50,1,120000,1) priceRHParam (quotPrice Bereich Maxquot, 20000,1,120000,1) BSPeChMi-25Param (quotPercentage ändern Min setquot, -25, -100, 100, 0,1) BSPeChMa25Param (quotPercentage ändern Max setquot, 25, -100, 100, 0,1) BSPerTkProfParam (quotTake Profit Prozent Setquot, 0.6,0.3,30,0.1) BSPerStLosParam (quotStopLoss Prozentsatz Setquot, 0,25,0,2,5,0.1) BSPHRRNG (TimeNum () gt 90000 UND TimeNum () lt 093000) AND (DateNum () LastValue (DateNum ())) ) Und (DateNum () LastValue (DateNum ())) BSFHPrc Hoch BSFHRg BSFHMrk BarsSince (BSFHRggt0) NumBars 36000 Intervall (1) TimeFrameSet (inDaily) Oben Öffnen PDH Ref (High, -1) PDL Ref (Low, -1) PDO Ref (Open, -1) PDC Ref (Schließen, -1) PDM (PDHPDL) 2 TimeFrameRestore () isAll Wahre isRth TimeNum () gt 085.400 UND TimeNum () lt 093.000 isdRth TimeNum () gt 085.400 UND TimeNum () lt 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 (gU, inDaily, expandFirst) PDC TimeFrameExpand (PDC, inDaily, expandFirst) PDM TimeFrameExpand (PDM, inDaily, expandFirst) FHH Ref (HHV (HighBSFHRg, 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) AIIf (( FC4ltFC1PDH0.005), FC1,0) BIIf ((FC4ltFC2PDH0.005 UND FC4gtFC1PDH0.005), FC2,0) ClIIf ((FC4ltFC3 UND FC4gtFC2PDH0.005), FC3,0) AF (ABCL) HaC (OHLC) 4 HaO AMA (LLV (HaL, 4) ATR (4), (8) (3) BR3LLV (HHV (hah, 4) - ATR (4), 8) zusammen IIf (HacgtBG3, Farbeblau, IIf (Hac lt BR3, Blau und Rot, colorGrey50)) BuyPrice (DayLAF) BSByTP1 (BuyPrice (BuyPrice (BSPerTkProf100))) BSByTP2 ( CgtBSByTP1) SellPrice (DayH-AF) BSSlTP1 (SellPrice - (SellPrice (BSPerTkProf100))) BSSlTP2 (CltBSSlTP1) BSPrCh (((C-TOP) TOP) 100) Vol (VgtVolmin UND VltVolmax) Prozentsatz (BSPrChgtBSPeChMi UND BSPrChltBSPeChMa) PRC (CgtpriceRL UND CltpriceRH) BuyStop1 (BuyPrice - (BuyPrice (BSPerStLos100))) BuyStop2IIf ((BuyStop1ltSellPrice) UND SellPriceltBuyPrice, SellPrice, BuyStop1) SellStop1 (SellPrice (SellPrice (BSPerStLos100))) SellStop2IIf ((SellStop1gtBuyPrice) UND SellPriceltBuyPrice, BuyPrice, SellStop1) BuyStopIIf ( (Kaufen UND NICHT BSByTP2), BuyStop2, NULL) Lizenzen BarsZAHLEN () UND ZAHLNUMMER () (X0, LastValue (PDH), x1, LastValue (PDH), 0) PDLLine LineArray (x0, LastValue (PDL), x1, LastValue (PDM), 0) PDCLine LineArray (x0, LastValue (PDC), x1, LastValue (PDC), 0) PDMLine LineArray (x0, LastValue (PDM), x1, LastValue (PDM) FHH), x1, Lastvalue (FHH), 0) FHLLine Linearray (x0, Lastvalue (FHL), x1, Lastvalue (FHL), 0) BuyPricelineLineArray (x0, Lastvalue (BuyPrice), x1, L astValue (BuyPrice), 0) BuyStoplineLineArray (x0, Lastvalue (BuyStop2), x1, La stValue (BuyStop2), 0) BuyTPlineLineArray (x0, Lastvalue (BSByTP1), x1, LastV alue (BSByTP1), 0) SellPricelineLineArray (x0, Lastvalue (SellPrice), x1, Lastvalue (SellPrice), 0) SellStoplineLineArray (x0, Lastvalue (SellStop2), x1, Lastvalue (SellStop2), 0) SellTPlineLineArray (x0, Lastvalue (BSSlTP1), x1, Letzter Wert (BSSlTP1), 0) DayHlineLineArray (x0, Lastvalue (DayH ), x1, Lastvalue (DayH), 0) DayLlineLineArray (x0, Lastvalue (Dayl), x1, Lastvalue (Dayl), 0) Grundstück (IIf (pShowtradeLines, BuyStopline, Null), quotquot, colo rBrightGreen, styleDotsstyleNoRescale styleNoLine) Plot ( IIf (pShowtradeLines, SellPriceline, Null), quotquot, co lorRed, styleDotsstyleNoRescale), wenn (Stand (quotactionquot) actionIndicator) (Titel EncodeColor (Farbeweiß) quotBuySell System quot quot - quot Name () quot - quot EncodeColor (Coloryellow) Intervall (2) EncodeColor (Coloryellow) quot - quot Date () quot - quot EncodeColor (Coloryellow) quotOpen quotEncodeColor (Farbeweiß) WriteVal (O, 8.2) EncodeColor (Coloryellow) quot, Hoch quotEncodeColor (Farbeweiß) WriteVal (H, 8.2) EncodeColor (Coloryellow) quot , Low quotEncodeColor (Farbeweiß) WriteVal (L, 8.2) EncodeColor (Coloryellow) quot, Close quotEncodeColor (Farbeweiß) WriteVal (C, 8.2) EncodeColor (Coloryellow) quot, Vol quotEncodeColor (Farbeweiß) WriteVal (V, 1) (quotnquot)) -------------------------------------------------- -------------------------------------------------- GfxSetBkMode (1) GfxSetBkMode (1) GfxSetBkMode (0) GfxSelectPen (colorLightBlue, 2) GfxSelectSolidBrush (FarbeBlack) GfxRoundRect (5,65, 250, 180, 16, 20) GfxSelectFont (quotArialquot, 12, 700, false) GfxSetTextColor (colorBrown) GfxSetTextAlign (0) GfxSetTextColor (colorPaleGreen) GfxTextOut (WriteIf (BuyPrice, quotLong Ziel 1: quotWriteVal (BuyPrice, 1.2), quotquot), 15, 73) GfxSetTextColor (colorLightBlue) GfxTextOut (WriteIf (BSByTP1. quotLong Target 2: quotWriteVal (BSByTP1,1.2), quotquot), 15, 92) GfxSetTextColor (Blau und Rot) GfxTextOut (WriteIf (SellPrice, quotShort Ziel 1: quotWriteVal (SellPrice, 1.2), quotquot), 15, 111) GfxSetTextColor (colorOrange) GfxTextOut (WriteIf (BSSlTP1, quotShort Target 2: quotWriteVal (BSSlTP1,1.2), quotquot), 15, 129) GfxSetTextColor (Farbeweiß) GfxTextOut (WriteIf (BuyStopline, quotInstant SupRes: quotWriteVal (BuyStopline, 1.2), quotquot), 15, 147 ) ShortExRem (Kurz, Cover) CoverExRem (Cover, Kurzfassung) LongFlip (Cover, Short) ShortExRem (Short, Cover) (Kauf, Verkauf) dist 1.5ATR (15) Buy2show0 Sell2show0 für (i 0 i lt BarCount i) wenn (Buyi) PlotText (z. B. Buyquot WriteVal (C i, 1.2), i-5, C i - Trendi, Farbeweiß, Farbeblau) Buy2showCi if (Selli) PlotText (quotSellquot WriteVal (C i, 1), i-5, C i Trendi, Farbeweiß, Blau und Rot) Sell2showC i AlertIf (Verkaufen, quotSOUND C: WindowsMediaDing. wavquot, quotSellquot WriteVal ( H, 1.2), 2) AlertIf (Kauf, quotSOUND C: WindowsMediaDing. wavquot, quotBuyquot WriteVal (O, 1.2), 1) GfxSetBkMode (transparent1) GfxSetOverlayMode (1) GfxSelectFont (quotTahomaquot, Status (quotpxheightquot) C13) GfxSetTextAlign (6) GfxSetTextColor (ColorRGB (217217213)) GfxTextOut (Name (), Status (quotpxwidthquot) C14, Status (quotpxheightquot) C15) GfxSelectFont (quotTahomaquot, Status (quotpxheightquot) C130.4) GfxSetTextColor (ColorRGB (103103103)) GfxTextOut (quotFromquot, Status ( quotpxwidthquot) C141.8, Status (quotpxheightquot) C1510.5) GfxSelectFont (quotTahomaquot, Status (quotpxheightquot) C130.45) GfxSetTextColor (Farbeweiß) GfxTextOut (zit buysellnifty quot, Status (quotpxwidthquot) C141.8, Status (quotpxheightquot) C1511) GfxSelectFont (quotals Sans Serifquot, 10, 500, False, False, 0) --------------------------- Plot buysell Preis GfxSetOverlayMode (Modus 0) GfxSelectPen (colorGreen, 2) GfxSelectSolidBrush (Farbeschwarz) GfxRoundRect (5, 181.250.240, 15, 15) GfxSetBkMode (1) GfxSelectFont (quotArialquot, 12, 700, false) GfxSetTextColor (colorPaleGreen) GfxSetTextAlign (0) GfxTextOut (WriteIf (oder kaufen Lange. quotBUY Signal bei quotWriteVal (Buy2show, 1.2), quotquot), 10, 185) GfxTextOut (WriteIf (Kauf oder Verkauf von shrt. quotSELL Signal an quotWriteVal (Sell2show, 1.2), quotquot), 10, 185) GfxSetTextColor (Coloryellow) GfxTextOut (WriteIf ( (Sell2show-C, 1.2), quotquot), 10, 205) GfxTextOut (WriteIf (shrt UND NICHT Verkaufen, quotSELL Profit quotWriteVal (Sell2show-C, 1.2), quotquot) GfxTextOut (WriteIf (Long OR shrt. quotCMP quotWriteVal (C, 1.2), quotquot), 10, 215) GfxSetOverlayMode (Modus 0) GfxSelectPen (colorOrange, 2) GfxSelectSolidBrush (Farbeschwarz) GfxRoundRect (5,20, 250,63, 16, 20) GfxSetBkMode (1) GfxSelectFont (quotArialquot, 12, 700, false) GfxSetTextColor (colorPaleGreen) GfxSetTextAlign (0) GfxSetTextColor (Coloryellow) GfxTextOut (WriteIf (SellPrice, quotTREND REVERSAL: quot (SellPrice), quotquot), 8, 25) GfxSetTextColor (ColorRed) GfxTextOut (WriteIf (NW, anliegendes SL. QuotWriteVal (nw, 1), quotquot), 8, 43) quotWriteVal (nw, 1), quotquot), 8, 43) GfxSetTextColor (colorGold) GfxTextOut (WriteIf (nw, quot Nachgestellte SL. quotWriteVal (nw, 1), quotquot), 8, 43) GfxTextOut (WriteIf (kurz und nicht verkaufen (IIf (Shape, ShapeDownArrow, ShapeNone), PlotShapes (IIf (Shape, ShapeDownArrow, ShapeNone), Schattierung, Farbeweiß, 0, HAH, -40) fibs ParamToggle (quotPlot Fibsquot, quotOffOnquot, 1) pctH 0.325Param (quotPivot Hallo quot, 0.325,0.001,2.0,0.002) hilb 1Param (quotUp LookBackquot, 1,1, BarCount-1,1 ) PctL 0,325Param (quotPivot Lo quot, 0,325,0.001,2,0,0.002) LoLB 1Param (quotDown LookBackquot, 1,1, BarCount-1,1) Zurück 1Param (quotExtend Left 2quot, 1,1,500,1) Fwd 0Param (quotPlot Forwardquot, 0, 0, 500, 1) Text ParamToggle (quotPlot Textquot, quotOffOnquot, 1) hts -14Param (quotText Shiftquot, -14, -50,50,0.10) Stil ParamStyle (quotLine Stylequot, 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 Funktion LFI (ret) Retval (Delta ret) LFIVal IIf (ret 1,0 und xSp0 lt xRp0 lt, yRp0 - Retval, IIf ( ret lt 1,0 und xSp0 gt xRp0, ySp0 Retval, IIf (ret gt 1,0 und xSp0 lt xRp0, yRp0 - Retval, IIf (ret gt 1,0 und xSp0 gt xRp0, ySp0 Retval, Null)))) return LFIVal xoMin (xSp0, xRp0 ) - Back x1BarCount-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 gt xRp0, ySp0, yRp0) p00I Lastvalue (p00,1) p100 IIf (xSp0 lt xRp0 , ySp0, yRp0) P100i Lastvalue (p100,1) color00 IIf (xSp0 gt xRp0, colorLime, Blau und Rot) color100 IIf (xSp0 lt xRp0, colorLime, Blau und Rot) numbars Lastvalue (Cum (Stand (quotbarvisiblequot))) Fraktion IIf (StrRight ( (1) PlotText (Wert 0), LastValue (BarIndex ()) - (numbarshts), p00I 0,05, Farbe 100) (R382I), LastValue (BarIndex ()) - (numbarshts), r382I 0,05, Farbe00) PlotText (rIndex () (Numbarshts), r050I 0,05, color00) PlotText (quot62 WriteVal (r618,1), LastValue (BarIndex ()) - (numbarshts), r618I 0,05, (Numbarshts), r786I 0.05, colour00) PlotText (quotColl (p100,1), LastValue (BarIndex ()) - (numbarshts) (1612,1), LastValue (BarIndex ()) - (numbarshts), e127I 0,05, color00) PlotText (quot127 WriteVal (e127,1), LastValue - (numbarshts), e162I 0,05, color00) PlotText (quot200 quot WriteVal (e200,1), Lastvalue (BarIndex ()) - (numbarshts), E200i 0,05, color00) PlotText (quot262 quot WriteVal (e262,1), Lastvalue ( BarIndex ()) - (numbarshts), e262I 0,05, color00) PlotText (quot424 quot WriteVal (e424,1), Lastvalue (BarIndex ()) - (numbarshts), e424I 0,05, color00) YH TimeFrameGetPrice (quotHquot, inDaily, -1 ) yesterdays hohe YL TimeFrameGetPrice (quotLquot, inDaily, -1) niedrig YC TimeFrameGetPrice (quotCquot, inDaily, -1) in der Nähe YO TimeFrameGetPrice (quotOquot, inDaily) aktuellen Tag geöffnet Normale Pivot PP (YH YL YC) 3 R1 (2 PP) - (YH - YL) S3 YL - 2 (YH - PP) - & ndash; -------------------------------------------------- ----------------------- SECTIONEND () SECTIONBEGIN (quotBuySell Trendquot) Kauf oder Verkauf Zustand Kaufen Cross (EMA (Close. (EMA), EMA (Close, 23), EMA (EMA), EMA (Schließen 23), EMA (Schliessen 23), EMA (Schliessen 3), Plot EMAquot, ParamColor (quotColorquot), styleNoRescale) (EMA (Schließen, 3), quot3 EMAquot, ParamColor (quotColorquot, colorBlack), styleNoRescale) Zeichnungsband Ribbon1IIf (EMA (Schließen 3) gtEMA (Close 23), colorGreen, (C, 8) dntCltMA (C, 21) AND (3), FarbeRed, FarbeYellow)) Zeichnung (3, quotRibbonquot, Ribbon1, styleOwnScale styleArea styleNoLabel, -0.5,100) SECTIONEND () uptCgtMA (C, CltEMA (C, 8)) ODER (CgtMA (C, 21) UND CltEMA (C, 8)) ColIIf (dnt, colorRed, IIf (upt, colorBlueGrey, IIf (Nuss, colorYellow, colorTan))) Plot (C, quotClosequot, col, styleNoTitle ParamStyle (quotStylequot) GetPriceStyle ()) Filter1 AddColumn (C, quotClosequot, 1.2,1, Col) Neue bhs Systeme kaufen verkaufen nifty Unten ist ein ähnliches Nach oben, die ich aus ---- vielleicht nur dieses Forum kopiert hatte: SECTIONBEGIN (quotMA Diffquot) T26 KMA (C-MA (C, T)) MA (C, T)) 100 Graph0KMA Graph0Style24 Graph0BarColorIIf (KMAgt0,5 , 4) GraphXSpace5 SECTIONBEGIN (quotPricequot) SetChartOptions (0, chartShowArrowschartShowDates) Plot (C, quotClosequot, ParamColor (quotColorquot, Farbeschwarz), styleNoTitle ParamStyle (quotStylequot) GetPriceStyle ()) SectionEnd () SECTIONBEGIN (quotZIG-ZAGquot) P ParamField (quotPrice fieldquot ) Param (quotPeriodsquot, 15, 2, 300, 1, 10) SECTIONBEGIN (quotEMAquot) P ParamField (quotPrice-Feldquot, -1) Param (Änderungsquot, 5,0.1,25,0.1) SEKTIONEND () (Z. B. MACD-Explorationsquot) r & sub1; Param (Quotavquot, 12, 2, 200, 1) r2 Param (z. B. Avgquot, 26, 2, 200, (C, z) gtRef (Zig (C, z), - 4) Kaufen Sie Cond1 und Cond3 Cond6 Zig (C, z) Verkaufen Cond4 UND Cond6 Trigger-WriteIf (Kauf, quotBuyquot, quotquot) WriteIf (Verkaufen, quotSellquot, quotquot) BG IIf (Kauf, colorPaleGreen, IIf (Verkaufen, colorRose, colorDefault)) FG IIf (Kauf, colorDarkGreen, IIf (Verkaufen, colorDarkRed, colorDefault)), wenn (Stand (quotactionquot) actionIndicator) Plot (C, quotquot, colorGrey50, stylebar) PlotShapes (IIf (Kauf, shapeUpArrow, shapeNone), Farbeweiß, 0, L, Offset-30) PlotShapes (IIf (Verkaufen, shapeDownArrow, shapeNone), Farbeweiß, 0, H, Offset-30) Filter kaufen oder zu verkaufen SetOption (quotNoDefaultColumnsquot, True) AddTextColumn (Name (), quotSymbolquot, 77, FG, BG, 120) AddColumn (Datetime (), quotDatequot, format, FG (H, quotHighquot, 1.3) AddColumn (V, quotVolumequot) AddColumn (Ref (V, -1), quotP-Volquot (1) AddColumn (TimeNum (), quotTimequot, ) AddColumn (VRef (V, -1) 100, quotIncrease in Volquot) AddColumn (Kauf, quotBuyquot, 1) AddColumn (Verkaufen, quotSellquot, 1) Form Kaufen shapeHollowUpTriangle Verkaufen shapeHollowDownTriangle PlotShapes (Form, IIf (Kauf, Farbeblau, Farbeblau), 0, IIf (Kauf, Niedrig, Hoch)) GraphXSpace 7 SectionEnd () SECTIONBEGIN (quotEMA3quot) P ParamField (quotPrice fieldquot, -1) Perioden Param (quotPeriodsquot, 15, 2, 300, 1, 10) SectionEnd () SECTIONBEGIN (quotBackground (Quotextrequot, 12,1,20,1) Miny-Status (quotaxisminyquot) Maxy-Status quotaxismaxyquot) LVB-Status (quotlastvisiblebarquot) FVB-Status (quotfirstvisiblebarquot) pxwidth Status (quotpxwidthquot) pxheight Status (quotpxheightquot) GfxSetBkMode (transparent1) GfxSetOverlayMode (1) GfxSelectFont (quotTahomaquot, Status (quotpxheightquot) C13) GfxSetTextAlign (6) GfxSetTextColor (ColorRGB (217217213) ) GfxTextOut (Name (), Status (quotpxwidthquot) C14, Status (quotpxheightquot) C15) GfxSelectFont (quotTahomaquot, Status (quotpxheightquot) C130.5) GfxSetTextColor (ColorRGB (103103103)) GfxTextOut (quotquot, Status (quotpxwidthquot) C14, Status ( quotpxheightquot) C152.5) ​​GfxSelectFont (quotTahomaquot, Status (quotpxheightquot) C130.5) GfxSetTextColor (ColorRGB (103103103)) GfxTextOut (quot quot, Status (quotpxwidthquot) C14, Status (quotpxheightquot) C154) GfxSelectFont (quotMS Sans Serifquot, 10, 500, Falsch, Falsch, 0) Zweite Phase beginnt Hier Datei: BHS-Diagramm SECTIONBEGIN (quotBHS1.02quot) SetChartBkColor (ParamColor (quotOuter Panel Farbe quot, colorLightYellow)) SetChartBkColor (ParamColor (quotBackGround Colorquot, Farbeschwarz)) pShowtradeLines ParamToggle (quotShow Handel Linesquot , quotNoYesquot, 1) pShowMarkers ParamToggle (quotShow Markersquot, quotNoYesquot, 1) synchParamToggle (quotSynchronize buyshort mit ausländischen indexquot, quotNoYesquot, 1) VolminParam (quotVolume minimumquot, 5000,0,10000000,50) VolmaxParam (quotVolume maximumquot, 1000000,0,10000000 PercChangemaxParam (quotPrice Range Minquot, 3000,1.20000,1) PercChangeminParam (quotPercentage Änderung Min Setquot, -25, -100, 100, 0,1) PreisRPParam PercentakeProfitParam (Quotake Profit Percent Setquot, 0.5.0.3,30.0.1) PercStoplossParam (quotStopLoss Percent Setquot, 1,0.2,5,0.1) PlotOHLC (offen, hoch, niedrig (DatumNum () LastValue (DateNum ())) FHRange (TimeNum () gt 085500 AND TimeNum (TimeNum () gt 85500 UND TimeNum () lt 153500) AND (DateNum () ) Lt 093000) AND (DateNum () LastValue (DateNum ())) FHPrices High FHRange FHMarker BarsSince (FHRangegt0) NumBars 36000 Intervall (1) TimeFrameSet (inDaily) Oben Öffnen PDH Ref (High, -1) PDL Ref (Low, 1) PDO Ref (offen, -1) PDC Ref (Schließen, -1) PDM (PDHPDL) 2 TimeFrameRestore () isAll True isRth TimeNum () gt 085400 UND TimeNum () Lt 093000 isdRth TimeNum () gt 085400 AND TimeNum () lt 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 (gU, inDaily, expandFirst) PDC TimeFrameExpand (PDC, inDaily, expandFirst) PDM TimeFrameExpand (PDM, inDaily, expandFirst) FHH Ref (HHV (HighFHRange, 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) AIIf ((FC4ltFC1PDH0.005), FC1,0) BIIf ((FC4ltFC2PDH0.005 UND FC4gtFC1PDH0.005), FC2,0) ClIIf ((FC4ltFC3 UND FC4gtFC2PDH0.005), FC3,0) AF (ABCL) ausländische SECTIONBEGIN (quotforeign Index bar graphquot) VrParamList (QuotAng, ListeNNSI, NSEBANK, CNXIT, NSMIDCP, RELIANCE. NS, SB IN. N Squot, 0) SetForeign (Vr) HaC (OHLC) 4 HaO AMA (Ref (HaC, -1), 0,5 ) HaH Max (H, Max (HaC, HaO)) HaL Min (L, Min (HaC, HaO)) BG3HHV (LLV (HaL, 4) ATR (4), 8) BR3LLV (HHV (HaH, 4) - ATR (4), 8) zusammen IIf (HacgtBG3, colorBrightGreen, IIf (Hac lt BR3, Blau und Rot, colorGrey50)) Grundstück (4, quotquot, Co, styleAreastyleOwnScale styleNoLabel, -1, 100) RestorePriceArrays () SectionEnd () BuyPrice (DayLAF) BuyTP1 (BuyPrice (BuyPrice (PerctakeProfit100))) BuyTP2 (CgtBuyTP1) SellPrice (DayH-AF) SellTP1 (SellPrice - (SellPrice (PerctakeProfit100))) SellTP2 (CltSellTP1) percchange (((C-TOP) TOP) 100) Vol (VgtVolmin UND VltVolmax) Prozentsatz (percchangegtPercChangemin UND percchangeltPercChangemax) PRC (CgtpriceRL UND CltpriceRH) BuyStop1 (BuyPrice - (BuyPrice (PercStoploss100))) BuyStop2IIf ((BuyStop1ltSellPrice) UND SellPriceltBuyPrice, SellPrice, BuyStop1) SellStop1 (SellPrice (SellPrice (PercStoploss100))) SellStop2IIf ( (SellStop1gtBuyPrice) UND SellPriceltBuyPrice, BuyPrice, SellStop1) BuyStopIIf ((kaufen AND NOT BuyTP2), BuyStop2, Null) BuyTPIIf (kaufen AND NOT BuyStop, BuyTP2, Null) Bars BarsSince (TimeNum () gt 85400 UND TimeNum () lt 092900) x0 BarCount-Lastvalue (Balken) 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) BuyPricelineLineArray (x0, Lastvalue (BuyPrice ), x1, L astValue (BuyPrice), 0) BuyStoplineLineArray (x0, Lastvalue (BuyStop2), x1, La stValue (BuyStop2), 0) BuyTPlineLineArray (x0, Lastvalue (BuyTP1), x1, Lastva lue (BuyTP1), 0) SellPricelineLineArray (x0, Lastvalue (SellPrice), x1, Lastvalue (SellPrice), 0) SellStoplineLineArray (x0, Lastvalue (SellStop2), x1, Lastvalue (SellStop2), 0) SellTPlineLineArray (x0, Lastvalue (SellTP1), x1, Letzter Wert ( SellTP1), 0) DayHlineLineArray (x0, Lastvalue (DayH), x1, Lastvalue (DayH), 0) DayLlineLineArray (x0, Lastvalue (Dayl), x1, Lastvalue (Dayl), 0) Grundstück (IIf (pShowtradeLines, BuyStopline, Null ), quotBuySto pquot, colorBrightGreen, styleDotsstyleNoRescale styleNoLine) Plot (IIf (pShowtradeLines, SellPriceline, Null), quotShor t Herequot, Blau und Rot, styleDotsstyleNoRescale) PlotShapes (IIf (pShowMarkers und kaufen, shapeHollowUpArrow, Null), colorDarkGreen, 0, L, Offset - 30) if (Status (quittierungsquot) actionIndicator) (Titel EncodeColor (colorWhite) quotBHS2 Systemquot - quot Name () quot EncodeColor (colorYellow) Interval (2) EncodeColor (colorYellow) (C, 1) EncodeColor (colorYellow) quot - Vol-Wert WriteVal (H, 1) EncodeColor (colorYellow) quot - 1) WriteIf (Percchange, quot ändern quot (Percchange) quot quot, quotquot) (quotnquot) quot Zurück DayHighquotWriteVal (PDH, 1) quot, Zurück DayLowquotWriteVal (PDL, 1) quot, Heute HighquotWriteVal (DayH, 1) quot, Todays LowquotWriteVal (Dayl, 1) Comm2 (quotn quotVrquot Phase: quot) WriteIf (HacgtBG3, EncodeColor (colorBrightGreen) quotUp quot, WriteIf (HacltBR3, EncodeColor (Blau und Rot) quot-Downquot, EncodeColor (colorLightYellow) quotlt Wohnung gtquot))) GfxSetOverlayMode (Modus 0 ) GfxSelectPen (colorLightBlue, 3) GfxSelectSolidBrush (colorLightYellow) GfxRoundRect (20, 55, 180, 175, 15, 15) GfxSetBkMode (1) GfxSelectFont (quotArialquot, 10, 700, false) GfxSetTextColor (colorBrown) GfxSetTextAlign (0) GfxTextOut (WriteIf (Buystop2, quotTRP Ebene: quot (Buystop2), quotquot), 30, 60) GfxTextOut (WriteIf (BuyPrice, quotBuy Oben: quot (BuyPrice), quotquot), 30, 75) GfxTextOut (WriteIf (BuyStop2, quotLong SL: quot ( BuyStop2), quotquot), 30, 90) GfxTextOut (WriteIf (BuyTP1. quotLong Ziel 1: quot (BuyTP1), quotquot), 30, 105) GfxTextOut (WriteIf (SellPrice, quotSell Unten: quot (SellPrice), quotquot), 30, 120) GfxTextOut (WriteIf (SellStop2, quotShort SL: quot (SellStop2) quotquot,), 30, 135) GfxTextOut (WriteIf (SellTP1, quotShort Ziel: quot (SellTP1), quotquot), 30, 150) AddColumn (V, quotVolumequot, 1.0) AddColumn (Percchange, quotChange quot, 1.2) AddColumn (BuyPrice, quotBuy atquot, 1.2) AddColumn (BuyStop, quotBuy Stopp atquot, 1.2) AddColumn (BuyTP1, quotBuy Profit atquot, 1.2) AddColumn (SellPrice, quotShort atquot, 1.2) AddColumn (SellTP1, quotShort Gewinn atquot, 1.2) SECTIONBEGIN (quotshort signalquot) HaClose (OH) 4 HaOpen AMA (Ref (HaClose, -1), 0,5) HaHigh Max (H, Max (HaClose, HaOpen)) HaLow Min (L, Min (HaClose, HaOpen)) BG2HHV (LLV (niedrig, 4) ATR (4), 8) BR2LLV (HHV (High, 4) - ATR (4), 8) SetBarFillColor (IIf (OLtC, colorSeaGreen, colorOrange)) k Optimieren (Quot, Param (Quot, 1,75,1,5,0,25 ), 1,5,0,25) Pro Optimize (quotatrquot, Param (quotatrquot, 10,3,30,1), 3,30,1) jHaClose-nm (HL) - Refsor WMA (nm, PER) 0 für (i 1 i l BarCount i) if (Trendi-1 1) wenn (ji lt NWi-1) Trendi -1 NWi ji Reversi sonst Trendi 1 if ((ji - Reversi) gt NWi-1) NWi ji - Reversi Sonst NWi NWi-1 wenn (Trendi-1 -1) wenn (ji gt NWi-1) Trendi 1 NWi ji - Reversi sonst Trendi -1 wenn ((ji Reversi) lt NWi-1) NWi ji Reversi sonst NWi NWi-1 (Nw, j) CoverCross (j, nw) BuyExRem (Kaufen, Verkaufen) SellExRem (NW, quotquot, IIf (Trend 1, 6, 4), 4) Verkauf, Kauf) ShortExRem (Short, Cover) CoverExRem (Cover, Short) PlotShapes (IIf (Kauf, shapeUpArrow, shapeNone), Farbeweiß, 0, halow, -30) PlotShapes (IIf (Verkaufen, shapeHollowDownTriangle, shapeNone), Farbeweiß, 0 , Hahigh, -15) PlotShapes (IIf (Cover, shapeHollowUpTriangle, shapeNone), colorWhite, 0, halow, -15) PlotShapes (IIf (kurz, shapeDownArrow, shapeNone), colorWhite, 0, hahigh, ------- end -------------- ADDED PIVOTS LINES LATER ---- Pivotpunkte DayH TimeFrameGetPrice (quotHquot, inDaily, -1) gestern hoch DayL TimeFrameGetPrice (quotLquot, inDaily , -1) niedrig DayC TimeFrameGetPrice (quotCquot, inDaily, -1) in der Nähe DayO TimeFrameGetPrice (quotOquot, inDaily) aktuellen Tag geöffnet Hiday TimeFrameGetPrice (quotHquot, inDaily) Loday TimeFrameGetPrice (quotLquot, 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 styleline styleThick styleNoRescale rcolor Farbeblau Scolor Blau und Rot pcolor Farbeweiß Plot (R1 , quotR1quot, rcolor, Stil) Plot (S1, quotS1quot, Scolor, Stil) Grundstück (R2, quotR2quot, rcolor, Stil) Grundstück (S2, quotS2quot, Scolor, Stil) Plot (PP, quotPPquot, pcolor, Stil) Plot (s3 , quotS3quot, Scolor, Stil) Grundstück (R3, quotR3quot, rcolor, Stil) RangeTitle EncodeColor (Farbeweiß) quotDay Bereich quot EncodeColor (Farbeweiß) Hintergrundfarbe SetChartBkColor (ParamColor (quotPanel Farbe quot, colorPaleBlue)) TicDiv Param (quotTic oder PIP valuequot, 1,0,1000000) Titledisplay ParamToggle (quotDisplay Schwenk statsquot, quotNoYesquot, 1) barColor IIf (C gt Open, Farbeweiß, IIf (C Open, Farbeweiß, Farbeweiß)) Plot (C, quotClosequot, barColor, styleCandle styleNoLabel) EMA34 EMA ( C, 34) LSMA LinearReg (C, 25) PI atan (1.00) 4 Perioden 30 Highhigh HHV (H, Perioden) LowLow LLV (L, Perioden) reichen 25 (Highhigh - LowLow) LowLow x1EMA34 0 x2EMA34 2 y1EMA34 0 y2EMA34 (Ref (EMA34, -2) - EMA34) Durchschn Bereich cEMA34 sqrt ((x2EMA34 - x1EMA34) (x2EMA34 - x1EMA34) (y2EMA34 - y1EMA34) (y2EMA34 - y1EMA34)) angleEMA34 Runde (180 acos ((x2EMA34 - x1EMA34) cEMA34) PI) TitleAngleEMA34 EncodeColor (Farbeweiß) quotnEMA34 Winkel quot angleEMA34 IIf (y2EMA34 gt 0, - angleEMA34, angleEMA34) ColorANGLEEMA IIf (angleEMA34 gt5, colorTurquoise, IIf (angleEMA34 LT5 UND angleEMA34 gt3.57, colorDarkGreen, IIf (angleEMA34 lt3.57 UND angleEMA34 GT2. 14, colorPaleGreen, IIf (angleEMA34 lt2.14 UND angleEMA34 gt.71, colorLime, IIf (angleEMA34 lt-15, colorDarkRed, IIf (angleEMA34 gt-15 und angleEMA34 lt-13.57, Blau und Rot, IIf (angleEMA34 gt-13.57 UND angleEMA34 lt -12.14,colorOrange, IIf(angleEMA34 gt-12.14 AND angleEMA34 lt-1.71,colorLightOrange, colorYellow)))))))) Plot(EMA34,quotEMA 34quot, ColorANGLEEMA, styleLine styleThick styleNoLabel ) Plot(lsma, quotLSMA 25quot, IIf( C gt lsma, colorBrightGreen, IIf(C lsma, colorTeal, colorRed)), styleLine styleThick styleNoLabel) Hld IIf(C gt Ref(MA(H, 7), -1), 1, IIf(C lt 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(CgtHilo, colorBlue, colorPink) Plot(Hilo, quotHiLoquot, Trigger, styleStaircase) Title EncodeColor(colorWhite) Name() quot - quot EncodeColor(colorRed) Interval(2) EncodeColor(colorTan) quot - quot Date() quot - quotquotOp-quotOquot quotquotHi - quotHquot quotquotLo-quotLquot quot quotCl-quotCquot quot quotnquot quotVol quot WriteVal(V)quot, Today HighquotWriteVal(DayH,2)quot, Todays LowquotWriteVal(DayL,2)


No comments:

Post a Comment