Friday 6 January 2017

Bhs Handelssystem Afl

C lear, Präzise, ​​leicht ablesbare Zielsignale für jeden Handel Marktorientierte Handels-, Forex - und Futures-Märkte Daytrading, Swing - und Positionshandel L ogische Handelsentscheidungen basieren auf Preis - und Mengenbewegungen. Die Systeme kaufen und verkaufen Signale werden von einem proprietären, getesteten Algorithmus basiert ausschließlich auf Echtzeit-oder End-of-Day-Preis Daten berechnet - so dass Sie rechtzeitig, spezifische und objektive Signale für jeden Handel, Amibroker Formeln optimal für die Suche eingestellt Maximale Gewinne. Alle folgenden AFLs sind für AmiBroker Formeln (AFL) geschrieben. Fast jede Amibroker-Formel ist mit vielen leicht variablen Parametern und Analysefunktionen ausgestattet, um die für Sie wichtigen Informationen darzustellen. Alle Amibroker Formeln werden für jeden Markt und jedes Mal geschrieben. 1. 9TradingSupport und ResistanceNew bhs Systeme kaufen verkaufen nifty unten ist afl ähnlich wie oben, die ich kopiert hatte aus ---- vielleicht nur dieses Forum: ABSCHNITTBEGIN (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) ändern Param (zit changequot, 5,0.1,25,0.1) SectionEnd () SECTIONBEGIN (quotEMAquot) P ParamField (quotPrice fieldquot, -1) Perioden Param (quotPeriodsquot, 15, 2, 300, 1, 10) ABSCHNITTEND () SEKTIONSBEGINN (MACD-Erkundungsquot) r1 Param (quasiquant, 12, 2, 200, 1) r2 Param (Parallelsignal, 26, 2, 200, (C, z) gtRef (Zig (C, z), - 4) Kaufen Cond1 UND Cond3 Cond6 Zig (C, (Kauf, quotBuyquot, quotquot) BG IIf (Kaufen, colorPaleGreen, IIf (Verkauf, FarbeRose, 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, BG, 100) AddColumn (TimeNum (), quotTimequot, 1) AddColumn (C, quotClosequot, 1.3) AddColumn (H, quotHighquot, 1.3) AddColumn (V, quotVolumequot ) AddColumn (V, -1), quotP-Volquot) AddColumn (VRef (V, -1) 100, Erhöhung in Volquot) AddColumn (Kaufen, quotBuyquot, 1) AddColumn (Verkauf, quotSellquot, 1) Form kaufen FormHollowUpTriangle 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 C13Param (quadratischer Quot, 20,10,30,1) C14Param (quadratisch rechts, 2.1,1.0,5.0,0.1) C15Param (quotup-downquot, 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 (103.103.103 )) GfxTextOut (quotquot, Status (quotpxwidthquot) C14, Status (quotpxheightquot) C152.5) ​​GfxSelectFont (quotTahomaquot, Status (quotpxheightquot) C130.5) GfxSetTextColor (ColorRGB (103103103)) GfxTextOut (quot quot, Status (quotpxwidthquot) C14, Der Status (quotpxheightquot) C154) GfxSelectFont (quotMS Sans Serifquot, 10, 500, false, false, 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,50) priceRLParam (quotPrice Bereich Minquot, 150,1,20000,1) priceRHParam (quotPrice Bereich Maxquot, 3000,1,20000,1) PercChangeminParam (quotPercentage ändern Min setquot, -25, -100, 100, 0,1) PercChangemaxParam (quotPercentage ändern Max setquot, 25, -100, 100, 0,1) PerctakeProfitParam (quotTake Profit Prozent Setquot, 0.5,0.3,30,0.1) PercStoplossParam (quotStopLoss Prozent Setquot, 1 , 0,2,5,0.1) PlotOHLC (Open, High, Low, Close, quotquot, colorWhite, styleCa ndle) Stäbe 0 xpdh 90 PlotRange (TimeNum () gt 85500 UND TimeNum () lt 153500) UND (DateNum () LastValue (DateNum ())) FHRange (TimeNum () gt 085.500 UND TimeNum () lt 093000) und (DATENUM () Lastvalue (DATENUM ())) FHPrices Hoch FHRange FHMarker BarsSince (FHRangegt0) NumBars 36000 Intervall (1) TimeFrameSet (inDaily) oben offen PDH Ref (High, -1) PDL Ref (Low, -1) PDO Ref (Offen, -1) PDC Ref (Schließen, -1) PDM (PDHPDL) 2 TimeFrameRestore () istAlles True isRth TimeNum () gt 085400 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 (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 (quotIndexquot, List quotNSEI, NSEBANK, CNXIT, NSMIDCP, RELIANCE. NS, SB IN. N squot, 0) SetForeign (Vr) HaC (EHTS - ) HaHMax (H, Max (HaC, HaO)) HaLMin (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 (0) PDLine LineArray (x0, LastValue (TOP), x1, LastValue (TOP), 0) (PDC), x1, LastValue (PDC), 0) PDCLine LineArray (x0, LastValue (PDC), x1, LastValue (PDH), 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 (ZeichenketteColor (colorWhite) quotBHS2 Systemquot "- Name () quot EncodeColor (colorYellow) Interval (2) EncodeColor (ColorYellow) quotCollor (colorYellow) quotCollor (colorYellow) quot - Hochwertiges WriteVal (H, 1) EncodeColor (colorYellow) quot - Schließen Sie den Wert WriteVal (C, 1) EncodingColor (colourYellow) quot - Vollwert WriteVal (V, 1) WriteIf (Percchange, quot Quittung) Quittung (Quotum) Vorheriges DayHighquotWriteVal (PDH, 1), Vorheriges 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) Verkaufen, kaufen) ShortExRem (Short, Cover) CoverExRem (Cover, Short) PlotShapes (IIf (Buy, shapeUpArrow, shapeNone), colorWhite, 0, halow, -30) PlotShapes (IIf (Sell, shapeHollowDownTriangle, shapeNone), colorWhite, , 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 (S2, quotS2quot, scolor, style) Plot (S2, quotS2quot, scolor, style) Zeichnung (S3, quotS1quot, scolor, 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 UND 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, Triggere IIf (CgtHilo, 1H, 7), -1), -1, 0)) HlvWert (Hld & sub0 ;, Hld, 1) HiloIIf (Hlv & Farbeblau, colorPink) Plot (Hilo, quotHiLoquot, Trigger, styleStaircase) Titel EncodeColor (Farbeweiß) Name () quot - quot EncodeColor (Blau und Rot) Intervall (2) EncodeColor (colorTan) quot - quot Date () quot - quotquotOp-quotOquot quotquotHi - quotHquot quotquotLo-quotLquot quot quotCl-quotCquot quot quotnquot quotVol quot WriteVal (V) quot, Heute HighquotWriteVal (DayH, 2) quot, Todays LowquotWriteVal (Dayl, 2) SECTIONBEGIN (quotBuySell-nodllquot) ---------- -------------------------------------------------- ------------- SetChartOptions (0, chartShowArrowschartShowDates) N (Titel StrFormat (offenes G, Hi g, Lo g, Schließen g (.1f) O, H, L, C, SelectedValue (ROC (C, 1)))) T26 BHSda ((C-MA (C, T)) MA (C, T)) 100 func festen Graph0BHSda Graph0Style24 Graph0BarColorIIf (BHSdagt0,5,4) GraphXSpace5 SetChartOptions (0, chartShowArrowschartShowDates ) Grundstück (C, quotClosequot, ParamColor (quotColorquot, Farbeschwarz), styleNoTitle styleCandle) Grundstück (O, quotOpenquot, ParamColor (quotColorquot, Farbeschwarz), styleNoDraw) Plot (H, quotHighquot, ParamColor (quotColorquot, Farbeschwarz), styleNoDraw) Plot (L , & Delta; C (C - Ref (C, & ndash; 1), 0). BHEXPerc) (BSAC-Wert1) (100-Wert1) - BSAU) BSR1 IIf (x & sub1; gt & sub0 ;, Cx & sub1 ;. (100-Wert2) - BSAU) BSR2 IIf (x2 gt 0, C x2, C x2 (100-Wert2) Wert1) x2 (BHSMPPer-1) BSR1, quotquot, 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 (R1, R2, R3)) Cond3 Zig (C, z) gtRef (Z1, Z2, Z3) (Z1, R2, R3), MACD (r1, r2)) Cond6 Zig (C, z) ltRef (Zig (C, z), -4) Verkaufen 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 (), quotDatequot, format, BSFG, BSG, 100) AddColumn (TimeNum (), quotTimequot, 1, BSFG, BSG, 100) AddColumn (Kauf, quotBuyquot, 1, BSFG, BSG, 50) AddColumn (Verkaufen, (L, quotLowquot, 1.2, BSFG, BSG, 100) AddColumn (H, quotHighquot, 1.2, BSFG, BSG, 100) AddColumn (O, 100) AddColumn (V (Ref (V, -1) 100) AddColumn (C, quotClosequot, 1.2, BSFG, BSG, 100) AddColumn (Ref (V, -1), P-Volquot, 1, BSFG, ), quotIncrease in Volquot, 1, BSFG, BSG, 100) Form (Buy shapeHollowUpTriangle) (Verkaufen shapeHollowDownTriangle) PlotShapes (Form, IIf (Kauf, Farbeblau, Farbeblau), 0, IIf (Kauf, Niedrig, Hoch)) GraphXSpace 7 - -------------------------------------------------- -------------------------------------------------- ---- C1320Param (quotfontsquot, 20,10,30,1) C142.1Param (rechts unten, 2.1,1.0,5.0,0.1) C1512Param (quotup-downquot, 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.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 Mindestquot, 50,0,10000000,50) VolmaxParam (quotVolume maximumquot, 1000000,0,10000000,50) PreisRParam (quotPrice Range Minquot, 50,1,120000,1) PreisRHParam (quotPreisbereich 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 Prozent Setquot, 0.25,0.2,5,0.1) BSPlRng (TimeNum () gt 90000 UND TimeNum () lt 153000) und (DATENUM () Lastvalue (DATENUM ())) BSFHRg (TimeNum () gt 090,000 UND TimeNum () lt 093000) und (DATENUM () Lastvalue (DATENUM ())) BSFHPrc Hoch BSFHRg BSFHMrk BarsSince (BSFHRggt0) NumBars 36000 Intervall (1) TimeFrameSet (inDaily) nach oben öffnen PDH Ref (Hoch, -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 (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 (EHTS - ) HaHMax (H, Max (HaC, HaO)) HaLMin (L, Min (HaC, HaO)) BG3HHV (LLV (HaL, 4) ATR (4 ), 8) 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 AND NOT BSByTP2), BuyStop2, Null) BuyTPIIf (kaufen AND NOT BuyStop, BSByTP2, Null) Bars BarsSince (TimeNum () gt 85400 UND TimeNum () lt 092900) x0 BarCount-Lastvalue (Balken) x1 BarCount (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 (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) (Quotquot)) ----------------------------------------------- -------------------------------------------------- --------------------- GfxSetOverlayMode (Modus 0) GfxSelectPen (colorLightBlue, 2) GfxSelectSolidBrush (colorBlack) GfxRoundRect (5,65, 250, 180, 16, 20) GfxSetBkMode (1) 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 ( Lange und nicht kaufen, quotBUY Profit quotWriteVal (C-Buy2show, 1.2), quotquot), 10, 205) GfxTextOut (WriteIf (shrt UND NICHT Verkaufen, quotSELL Profit quotWriteVal (Sell2show-C, 1.2), quotquot), 10, 205) 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 quot, SL Nachgestellte. quotWriteVal (nw, 1), quotquot), 8, 43) PlotShapes (IIf (Kauf, shapeUpArrow, shapeNone), Farbeweiß, 0, HAL, -40) PlotShapes (IIf (Short, shapeDownArrow, shapeNone), 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 high YL TimeFrameGetPrice(quotLquot, inDaily, -1) low YC TimeFrameGetPrice(quotCquot, inDaily, -1) close YO TimeFrameGetPrice(quotOquot, inDaily) current day open 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) ---------- -------------------------------------------------- ----------------------- SECTIONEND() SECTIONBEGIN(quotBuySell Trendquot) Buy or Sell Condition Buy Cross(EMA( Close. 3 ),EMA( Close. 23 )) Sell Cross(EMA( Close. 23 ),EMA( Close. 3 )) Plot EMA Plot( EMA( Close,23), quot23 EMAquot, ParamColor(quotColorquot, colorBlack ),styleNoRescale) Plot( EMA( Close,3), quot3 EMAquot, ParamColor(quotColorquot, colorBlack ),styleNoRescale) Plot Ribbon Ribbon1IIf( EMA( Close. 3 )gtEMA( Close. 23 ),colorGreen, IIf(EMA( Close. 23 )gtEMA( Close. 3 ), colorRed, colorYellow)) Plot(3, quotRibbonquot, Ribbon1, styleOwnScale styleArea styleNoLabel,-0.5,100) SECTIONEND() uptCgtMA(C,21) AND CgtEMA(C,8) dntCltMA(C,21) AND CltEMA(C,8) nut( CltMA(C,21) AND CgtEMA(C,8)) OR ( CgtMA(C,21) AND CltEMA(C,8)) ColIIf(dnt, colorRed, IIf( upt, colorBlueGrey, IIf(nut, colorYellow, colorTan))) Plot( C, quotClosequot, col, styleNoTitle ParamStyle(quotStylequot) GetPriceStyle() ) Filter1 AddColumn(C, quotclosequot,1.2,1,Col)


No comments:

Post a Comment