GraphXSpace 7 SetChartOptions (0, chartShowArrowschartShowDates) HACLOSE (OmHmLmCm) 4 haOpen AMA (Ref (HaClose, -1), 0,5) HaHigh Max (Hm, Max (HaClose, haOpen)) Halow Min (Lm, Min (HaClose, haOpen)) OfMA (haOpen, per2) CFMA (Haclose, per2) LfIIf (haOpenlthaClose, MA (Halow, per2), MA (Hahigh, per2)) HfIIf (haOpenlthaClose, MA (Hahigh, per2), MA (Halow, per2)) Farbe IIf (Cf gt Of, colorGreen, colorRed) TrailStop HHV (C-2 ATR (10), 15) ProfitTaker EMA (H, 13) 2 ATR (10) Code zur automatischen Erkennung von Pivots - was wird unser Lookback-Bereich für die hh sein Und ll farback140 Wie weit zurück gehen nBars 12 Anzahl der Balken - Erstellen von 0-initialisierten Arrays die Größe von barcount - Mehr für die zukünftige Verwendung, nicht notwendig für das grundlegende Plotten aHPivHighs H - H aLPivLows L - L aHPivIdxs H - H aLPivIdxs L - L - Blick zurück aus der aktuellen Bar, wie viele Bars waren wieder die HHV und llv Werte der vorherigen aHHVBars HHVBars (H, nBars) aLLVBars LLVBars (L, nBars) aHHV HHV (H, nBars) aLLV LLV (L, NBars) - Möchten Sie dies so einstellen, dass Pivots aus der letzten sichtbaren Leiste berechnet werden, um es einfach zu machen, zurückzugehen und die Pivots zu sehen, die dieser Code finden würde. Initialisieren Wert von curTrend if (aLLVBarscurBar ltAmazing AFL -: die erste Instanz von Trace-Ausgabe nLastVisBar Lastvalue (Höchste (IIf (aVisBars, BarIndex (), 0))) TRACE (nLastVisBar Last sichtbar bar) jedoch einen Wert von 0 zeigt Für NIFTY Intraday Trading Erstaunliche AFL für NIFTY Intraday Trading Ich habe von Google-Suche gefunden, aber ich weiß nicht, wie es zu benutzen, Senioren Pleasse Führer SEKTIONBEGIN (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 , 1, 2, 200, 1) r2 Param (quasi avgquot, 26, 2, 200, 1) r3 Param (Quersignal, 9 (C, z) gtRef (Zig (C, z), - 4) Kaufen Sie Cond1 und Cond3 Cond6 Zig (C, z) ltRef (Zig (C, z), - 4) 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, shapeCircle, shapeNone), Farbeblau, 0, L, Offset -60) PlotShapes (IIf (Verkaufen, shapeCircle, shapeNone), Farbeblau, 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 ( Ref (V, -1), quotP-Volquot) AddColumn (VRef (V, -1) 100, quotIncrease in Volquot) AddColumn (Kauf, quotBuyquot, 1) AddColumn (Verkaufen, quotSellquot, 1) Form Kaufen shapeHollowUpTriangle shapeHollowDownTriangle PlotShapes Verkaufen ( 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-Textquot) C13Param (quotontsquot, 20,10,30,1) C14Param (rechts unten, 2.1,1.0,5.0,0.1) C15Param (quotup-downquot, 12,1,20 Miny Status 1) (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 (quotAJEET SINGHquot, Status (quotpxwidthquot) C14, Status (quotpxheightquot) C152.5) GfxSelectFont (quotTahomaquot, Status (quotpxheightquot) C130.5) GfxSetTextColor (ColorRGB (103103103)) GfxTextOut (quotmr. ajeetsinghyahooquot, Status (quotpxwidthquot) C14, Status (quotpxheightquot) C154) GfxSelectFont (quotMS Sans Serifquot, 10, 500, false, false, 0) Zweite Phase beginnt Hier Datei: BHS-Diagramm SECTIONBEGIN (quotTradingquot) 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.6,0.3,30,0.1) PercStoplossParam (quotStopLoss Prozent Setquot, 0.25,0.2, (DatumNum () LastValue (DateNum ()) (0) (0) (0) (0) (0) ) 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) nach oben öffnen PDH Ref ( Hoch, -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, SBIN. N squot, 0) SetForeign (Vr) HaC (OHLC) 4 HaO AMA (LLV (HaL, 4) ATR (4), (8) (3) 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), wenn (Stand (quotactionquot) actionIndicator) (Titel EncodeColor (Farbeweiß) quotTrading Systemquot quot - quot Name () quot - quot EncodeColor (Coloryellow) Intervall (2) EncodeColor (Coloryellow) quot (1) EncodeColor (colorYellow) quot - Hocherhöhter WriteVal (H, 1) EncodeColor (colorYellow) quot - Niedriger Wert WriteVal (L, 1) EncodeColor Farbe Quittung (Quark) Quittung Zuerst DayHighquotWriteVal (PDH, z. 1) quot, Zurück DayLowquotWriteVal (PDL, 1) quot, Heute HighquotWriteVal (DayH, 1) quot, Todays LowquotWriteVal (Dayl, 1) 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 (SellPrice, quotTRP Ebene: quot (SellPrice), quotquot), 30, 60) GfxTextOut (WriteIf (BuyPrice, quotBuy Oben: quot (BuyPrice), quotquot) , 30, 75) GfxTextOut (WriteIf (BuyTop1, quotLong SL: quot (BuyStop2), quotquot), 30, 90) 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) dist 1.5ATR (15) für (i 0 i lt BarCount i) wenn (Buyi) PlotText (quotBuyquot O i, i, L i - Trendi, colorDarkBlue, Coloryellow) if (Selli) PlotText (quotSellquot H i, i-4, L i Trendi, Blau und Rot, Coloryellow) PlotShapes (IIf (Kauf, shapeUpArrow, shapeNone), Farbeweiß, 0, halow, -30) PlotShapes (IIf (Verkaufen, shapeHollowDownTriangle, shapeNone), Farbeweiß, 0, hahigh, -15) PlotShapes (IIf (Cover, shapeHollowUpTriangle, shapeNone), Farbeweiß, 0, halow, -15) PlotShapes (IIf (Short, shapeDownArrow, shapeNone), Farbeweiß, 0, hahigh , -30) ----------- end -------------- Re: Erstaunliche AFL für NIFTY Intraday Trading Bitte überprüfen Sie mit diesem, jetzt arbeiten 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) ä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) SectionEnd () SECTIONBEGIN (quotMACD Explorationquot) r1 Param (quotFast avgquot, 12, 2, 200, 1) r2 Param (quotSlow (C, z) gtRef (Zig (C, z) gtRef (Zig (C, z) gtRef (Zig (C, z) ), - 4) Kaufen Cond1 UND Cond3 Cond6 Zig (C, z) ltRef (Zig (C, z), - 4) Verkaufen Cond4 UND Cond6 Trigger WriteIf (Kauf, quotBuyquot, quotquot) WriteIf (Verkauf, 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, shapeCircle, shapeNone), Farbeblau, 0, L, Offset-60) PlotShapes (IIf (Verkaufen, shapeCircle, shapeNone), Farbeblau, 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 (Ref (V, -1), quotP-Volquot) 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 textquot) C13Param (quotfontsquot, 20,10,30,1) C14Param (quotleft-rightquot, 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 (103103103)) GfxTextOut (quotAJEET SINGHquot, Status (quotpxwidthquot) C14, Status (quotpxheightquot) C152.5) GfxSelectFont (quotTahomaquot, Status (quotpxheightquot) C130.5) GfxSetTextColor (ColorRGB (103103103)) GfxTextOut (quotmr. ajeetsinghyahooquot, Status (quotpxwidthquot) C14, Status (quotpxheightquot) C154) GfxSelectFont (quotMS Sans Serifquot, 10, 500, false, false, 0) Zweite Phase beginnt Hier Datei: BHS-Diagramm SECTIONBEGIN (quotTradingquot) 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,6 , 0.3,30,0.1) PercStoplossParam (quotStopLoss Prozent Setquot, 0.25,0.2,5,0.1) PlotOHLC (Open, High, Low, Close, quotquot, Farbeweiß, styleCa ndle) Bars 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 ( (PDH (PDHPDL)) PDM Ref (geschlossen, -1) PDO Ref (geschlossen, -1) PDC Ref (geschlossen, -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 (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 (HaC, HaO)) HaLMax (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 (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), wenn (Stand (quotactionquot) actionIndicator) (Titel EncodeColor (Farbeweiß) quotTrading Systemquot quot - quot Namen (ColorYellow) quotCollor (colorYellow) quotCollor (colorYellow) quotCollor (colorYellow) quotCollor (colorYellow) quotCollor (FarbeGlanz) quadratisch (H, 1) EncodeColor (colorYellow) quot - Niedriger Wert WriteVal (L, 1) EncodeColor (colorYellow) quot - Schließen Sie den Wert WriteVal (C, 1) EncodeColor (colorYellow) quot - Vol "WriteVal (V, 1) (quotnquot) WriteIf (Percchange , quot ändern quot (Percchange) quot quot, quotquot) quot Zurück DayHighquotWriteVal (PDH, 1) quot, Zurück DayLowquotWriteVal (PDL, 1) quot, Heute HighquotWriteVal (DayH, 1) quot, Todays LowquotWriteVal (Dayl, 1) 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 (SellPrice, quotTRP Ebene: quot (SellPrice), 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 (Hoch, 4) - ATR (4), 8) SetBarFillColor (IIf (O ltc, colorSeaGreen, colorOrange)) k Optimize (quotKquot, Param (quotKquot, 1.75,1,5,0.25 ), 1,5,0,25) 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) Verkaufen, Kaufen) ShortExRem (Short, Cover) CoverExRem (Cover, Short) dist 1.5ATR (15) für (i 0 i lt BarCount i) wenn (Buyi) PlotText (quotBuyquot O i, i, L i - Trendi, colorDarkBlue, Coloryellow) if (Selli) PlotText (quotSellquot H i, i-4, L i Trendi, Blau und Rot, Coloryellow) PlotShapes (IIf (Kauf, shapeUpArrow, shapeNone), Farbeweiß, 0, halow, -30) PlotShapes (IIf (Verkaufen, shapeHollowDownTriangle, shapeNone), Farbeweiß, 0, hahigh, -15) PlotShapes (IIf (Cover, shapeHollowUpTriangle, shapeNone), Farbeweiß, 0, halow, -15) PlotShapes (IIf (Short, shapeDownArrow, shapeNone), Farbeweiß, 0, hahigh , -30) ----------- Ende --------------
No comments:
Post a Comment