SECTIONBEGIN (quotSDA2 Channel Trading System ver 2.0quot) SetChartOptions (0, chartShowArrowschartShowDates) Trailing0 N (Titel StrFormat (Open - G, Hi g, Lo g, Schließen Sie g (.1f), O, H, L, C, SelectedValue (WMA (WMA ((HL) 2) (OC), 2), 2), 2) iWMA (WMA (WMA ((HL) 2) (OC), 2), 2) Abgeleitete, 3) Obere (abgeleiteteStDev (Abgeleitete, 7)) ATR (2) 1,5 Niedrig (Abgeleitet-StDev (Abgeleitet, 7)) - ATR (2) 1 colorIIf (BarsSince (Cross (Lower, Low)) gt BarsSince (Cross (C, Upper)), ColorBrightGreen, colorRed) Plot (C, Quotch, Farbe, 64) Plot (Obere, Quanten-Bandquot, ColorGreen) Plot (Niedrigere, quotlower Bandquot, colorDarkRed) Kaufen oder Verkaufen Kaufen Cross (Close, Upper) Selling Cross (Lower, Low) Kaufen ExRem (Kaufen, Verkaufen) Verkaufen ExRem (Verkaufen, Kaufen) CoverBuy ShortSell Filter Kaufen ODER Verkauf Explorationsparameter AddTextColumn (FullName (), quotCompany Namequot) AddColumn (Buy, quotBuyquot, 1) AddColumn (Verkauf, "AddColumn (C, quotClosequot, 1.3) AddColumn (H, quotHighquot, 1.3) AddColumn (Lower, quotLower Bandquot, 1.3) AddColumn (Upper, quotUpper Bandquot, 1.3) PlotShapes (IIf (Buy, shapeSquare, shapeNone), colorGreen , 0, L, Offset-50) PlotShapes (IIf (Buy, shapeSpace, shapeNone), colorWhite, 0, L, Offset-45 ) PlotShapes (IIf (Sell, shapeSquare, shapeNone), colorRed, 0, H, Offset40) PlotShapes (IIf (Sell, shapeSquare, shapeNone), colorOrange, 0, H, Offset50) PlotShapes (IIf (Sell, shapeDownArrow, shapeNone) (1) GfxSetOverlayMode (1) GfxSetOverlayMode (1) GfxSetTextColor (ColorHSB (42, 42, 42)) GfxSetBkMode (0) transparent. Deutsch: www. germnews. de/archive/gn/1997/04/23.html. Englisch: v3.espacenet. com/textdoc? DB = EPODOC & ... PN = GfxTextOut (quotBudget 2012quot, Status (quotpxwidthquot) 4, Status (quotpxheightquot) 4) Du kannst deinen eigenen Anzeigenamen ändern GfxSelectFont (quotTahomaquot, Status (quotpxheightquot) 12) GfxTextOut (Traderjiquot, Status (quotpxwidthquot) 4, Status (quotpxheightquot) 490 ) Sie können Ihren eigenen Anzeigenamen ändern SECTIONEND () synchParamToggle (quotSynch mit Indexquot, quotNoYesquot, 0) VrParamList (quotIndex zu Synchquot, ListNNSI, NSEBANK, CNXIT, NSMIDCP, RELIANCE. NS, SBIN. NSquot, 0) SECTIONBEGIN (quotPL Settingsquot ) PerctakeProfitParam (quotTake Profit Percentquot, 0.65,0.3,30,0.1) PercStoplossParam (quotStopLoss Percentquot, 0,8,0,2,5,0,1) Trades1Param (quotTrade Abovequot, 1,1,10,1) RisikoAmountParam (quotRisk Amountquot, 240.2000000, 100) SECTIONBEGIN (quotTrade Variablesquot) VolminParam (quotVolume Minquot, 0,0,10000000,50) VolmaxParam (quotVolume Maxquot, 10000000,0,10000000,50) priceRLParam (quotPrice Range Minquot, 15,1.20000,1) PreisRHParam (quotPrice Reichweite Maxquot, 20000,1,20000,1) PercChangeminParam (quotPercentage Change Min setquot, -50, -100, 100, 0.1) PercChangemaxParam (quotPercentage Change Max setquot, 50, -100, 100, 0.1) Programm berechnet und zeigt verschiedene Preise an Werte in Echtzeit Heutiger Tag Nächster Tag Nächster Tag Nächster Tag Offener Tag Vor Ort Nächster Tag Mittlerer Tag 1015 Hochtag 1015 Niedrig PlotOHLC (Offen, Hoch, Niedrig, Schließen, Quotot, FarbeWhite, StyleCandle) Bars 0 xpdh 90 SECTIONBEGIN (quotSARquot ) Acc Param (quotAccelerationquot, 0,02, 0, 1, 0,001) accm Param (z. B.Max. Beschleunigungquot, 0,2, 0, 1, 0,001) Plot (SAR (acc, accm), DEFAULTNAME (), ParamColor (quotcolorquot, colorBlack), ParamStyle (quotStylequot, styleDots styleNoLine, maskDefault styleDots styleNoLine)) SECTIONEND () SECTIONBEGIN (quotSMAquot) P ParamField (quotPrice fieldquot, -1) Perioden Param (quotPeriodsquot, 20, 2, 300, 1, 10) Plot (MA (P, Perioden), DEFAULTNAME (), ParamColor (quotColorquot, colorYellow), ParamStyle (quotStylequot, styleThick) (MA (P, Perioden) ltL) UND Ref (MA (P, Perioden), - 1) gtRef (MA (P, Perioden), - 2) UND Ref (MA (P, Perioden), - 2) gtRef (MA (P, Perioden), - 3) UND Ref (MA (P, Perioden), - 3) gtRef (MA (P, Perioden), - 4) UND Ref (MA (P, Perioden), - 4) gtRef (MA (P, Perioden), - 5) und Ref (MA (P, Perioden), - 5) gtRef (MA (P, Perioden), - 6) isSlopeDN (MA (P, Perioden) gtH) UND (MA (P, Perioden), - 1) ltRef (MA (P, Perioden), - 2) UND Ref (MA (P, Perioden), - 2) ltRef (MA (P, Perioden), - 3) UND (MA (P, Perioden), - 3) ltRef (MA (P, Perioden), - 4) UND Ref (MA (P, Perioden), - 4) ltRef (MA (P, Perioden), - 5) UND (MA (P, Perioden), - 5) ltRef (MA (P, Perioden), - 6) isSlpeUP (MA (P, Perioden) ltC) UND Ref (MA (P, Perioden), - 1) gtRef (MA (P, Perioden), - 2) UND Ref (MA (P, Perioden), - 1) gtRef (MA (P, Perioden), - 3) UND Ref (MA (P, Perioden), - 1) gtRef (MA (P, Perioden), - 4) UND Ref (MA (P, Perioden), - 1) gtRef (MA (P, Perioden), - 5) UND Ref (MA (P, Perioden), - 1) gtRef (MA (P, Perioden), - 6) isSlpeDN (MA (P, Perioden) gtC) UND Ref (MA (P, Perioden), - 1) ltRef (MA (P, Perioden), - 2) UND Ref (MA (P , Perioden), - 1) ltRef (MA (P, Perioden), - 3) UND Ref (MA (P, Perioden), - 1) ltRef (MA (P, Perioden), - 4) UND Ref (MA (P , Perioden), - 1) ltRef (MA (P, Perioden), - 5) UND Ref (MA (P, Perioden), - 1) ltRef (MA (P, Perioden), - 6) Daten in die tägliche PlotRange umwandeln ( TimeNum () gt 95500 UND TimeNum () lt 153500) UND (DatumNum () LastValue (DateNum ())) FHRange (TimeNum () gt 095500 UND TimeNum () lt 101459) UND (DatumNum () LastValue (DateNum ())) FHPrices High FHRange FHMarker BarsSince (FHRangegt0) Finden Sie die Anzahl der Takte in 60 Minuten NumBars 3600 Interval (1) TimeFrameSet (inDaily) TOP Open PDH Ref (High, -1) PDL Ref (Low, -1) PDO Ref (Open, -1 ) PDC Ref (Schließen, -1) PDM (PDHPDL) 2 TimeFrameRestore () isAll True isRth TimeNum () gt 095400 UND TimeNum () lt 101459 isdRth TimeNum () gt 095400 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 ( PDA TimeFrameExpand (PDC, inDaily, expandFirst) PDM TimeFrameExpand (PDM, inDaily, expandFirst) FHH Ref (HHV (HighFHRange, NumBars), - FHMarker) FHL TimeFrameCompress (aRthL, inDaily, compressLow) FHL TimeFrameExpand (FHL (DayH TimeFrameExpand) DayL TimeFrameExpand (DayL, inDaily, compressLow) DayL TimeFrameExpand (DayL, inDaily, compressFirst) DayH TimeFrameExpand (DayL, inDaily, compressHigh) DayH TimeFrameExpand (DayH, InDaily, 0.433) FC2 ((PDH-PDL) 0.7666) FC3 ((PDH-PDL) 1.355) FC4 (FHH-FHL) JETZT FILTER ZUM FINDEN DES ANWENDBAREN FAKTORS F11IIf ((FC4ltFC1PDH0.005), FC1,0) F22IIf ((FC4ltFC2PDH0. 002 UND FC4gtFC1PDH0.005), FC2,0) F33IIf ((FC4ltFC3 UND FC4gtFC2PDH0.005), FC3,0) Element1IIf (F11gt0, F11,0) Element2IIf (F22gt0, F22,0) Element3IIf (F33gt0, F33,0) AF (F11F22F33) seit (TimeNum () gt 101459 UND TimeNum () lt Limit) AND (DateNum () LastValue (DateNum ())) rangHigh-Low nr7sIIf (rangLLV (rang, 7), shapeDigit7shapePositionAbove, shapeNone) nr8sIIf (Ref (nr7s , Nr7IIf (synch1, nr7s, 0) nr8IIf (synch1, nr8s, 0) InsideBar Inside () nr1IIf (nr7 UND InsideBar, shapeDigit1, shapeNone) Fremd SetForeign (Vr ) HaC (OH) (Ha, HO) (H, Max (HaC, HaO)) HaL Min (L, Min (HaC, HaO)) BG3HHV (LLV (HaL, 4) ) ATR (4), 8) BR3LLV (HHV (HaH, 4) - ATR (4), 8) co IIf (HacgtBG3, colorBrightGreen, IIf (Hac lt BR3, colorRed, colorGrey50)) Plot (4, quotquot, Co, StyleEreastyleOwnScale styleNoLabel, -1, 100) RestorePriceArrays () SECTIONEND () weitere Filter GLong (TOPFHL) UND TimeNum () lt 101600 Gshort (TOPFHH) UND TimeNum () lt 101600 GLS (AFlt (FHH-FHL) (BuyPrice (BuyPrice (PerctakeProfit100))) BuyTP2 (CgtBuyTP1 ODER HgtBuyTP1) SellPrice (DayH-AF) SellPrice (SellPrice - (SellPrice (PericakeProfit100) ))) SellTP2 (CltSellTP1 ODER LltSellTP1) TSB IIf (SAR (acc, accm) gtBuyTP1 UND SAR (acc, accm) ltL, SAR (acc, accm), BuyTP1) TSB1Cross (TSB, C) TSS IIf (SAR (acc, (C-PDC) PDC) 100) Vol (VgtVolmin UND VltVolmax) Prozentsatz (percchangegtPercChangemin UND percchangeltPercChangemax.).Te1Cross (C, TSS) (C & sub9; & sub0; & sub1; & sub1; & sub1; & sub1; & sub1; & sub0; & sub1; & sub1; & sub0;) & ))) Short2 (Vol. UND Prozentsatz AND prc UND seit AND advanceltDecline AND (Cross (SellPrice, C))) (Stipendium) (Stammbaum (BuyTrice (PercStoploss100)) BuyStop1 (FPHice) (Stammbaum (BuyTrice) )) SellStop1IIf (SellStop1 gt BuyPrice, BuyPrice, SellStop1) SellStop2 (HgtSellStop1 OR CgtSellStop1) Kumulative Trades Tradebase (Buy3 ODER Short3 UND seit) TradesCum (Tradebase) Trades2 (Tradesgttrades1) buyTargetHit IIf (BuySincegt1 UND BuyTPSincegt1 UND BuyStopSince lt 0, 1, 0) buyStoplossHit IIf (buySincegt1 UND buyStopSincegt1 UND buyTPSince lt 0, 1, 0) Buy (Buy3 UND Trades2 UND isSlopeUP UND (NICHT Ref (Buy3, -1) UND NICHT Ref (Buy3, -2) UND NICHT Ref (Buy3, - 3) UND NICHT Ref (Buy3, -4) UND NICHT Ref (Buy3, -5))) Kurz (Short3 UND Trades2 UND isSlopeDN UND (NICHT Ref (Short3, -1) UND NICHT Ref (Short3, -2) UND NICHT (Short3, -3) UND NICHT Ref (Short3, -4) UND NICHT Ref (Short3, -5))) BuyStopIIf ((Buy AND NOT BuyTP2), BuyStop1, Null) SellStopIIf (Kurz und NICHT SellTP2, SellStop1, Null ) BuyTPIIf (Buy AND NOT BuyStop, BuyTP2, Null) SellTPIIf (Short AND NOT SellStop, SellTP2, Null) Experiment TradebaseB (Buy) TradesBCum (TradeBaseB) BuyTP3BuyTP2 UND TradesBgt1 TradebaseBTP (BuyTP3) TradesBTPCum (TradeBaseBTP) Buystop3Buystop2 UND TradesBgt1 tradebaseBSL (Buystop3 UND da) tradesBSLCum (tradebaseBSL) SellTP3SellTP2 UND TradesSgt1 tradebaseSTP (SellTP3) tradesSTPCum (tradebaseSTP) Sellstop3Sellstop2 UND TradesSgt1 tradebaseSSL (Sellstop3 und da) tradesSSLCum (tradebaseSSL) buyTriggered (TradesB1) buyTargetHit (TradesBTPgt1) buyStoplossHit (TradesBSLgt1) shortTriggered TradesS1 shortTargetHit (TradesSTPgt1) shortStoplossHit ( TradesSSLgt1) Endlinie Plot Grundlagen Bars BarsSince (TimeNum () gt 95400 UND TimeNum () lt 101459), BarIndex (), 1) AND DateNum () LastValue (DateNum ()) x0 BarCount-LastValue (Bars) x1 BarCount-1 TOPLine (X0, LastValue (PDH), x1, LastValue (PDH), x1, LastValue (PDH), x1, LastValue (PDH), x1, LastValue (x0, LastValue (TOP) (PDC), 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, LastValue (BuyPrice), 0) (X0, SelectedValue (TSB), x1, SelectedValue (TSB), 0) SellPricelineLineArray (x0, LastValue (BuyStop1), x1, LastValue (BuyStop1), x1, LastValue (BuyStop1), 0) BuyTPlineLineArray (x0, ), 0) SellStoplineLineArray (x0, LastValue (SellStop1), x1, LastValue (SellStop1), 0) SellTPlineLineArray (x0, SelectedValue (TSS), x1, SelectedValue (TSS), 0) DayHlineLineArray (x0, LastValue (DayH), x1 , LastValue (DayH), 0) DayLlineLineArray (x0, LastValue (DayL), x1, LastValue (DayL), 0) Ready-Codes Cshavebuy1IIf ((Cgt ((BuyStopline)) UND HltBuyPriceline) UND NICHT Kurz, Buystopline (2 ((Ref (High, -1) - Ref (Niedrig, -1)) Faktor100)), 0) Cshavesell1IIf ((Clt ((Sellstopline)) UND LgtSellPriceline) UND NICHT Buy, SellStopline - (2 ((Ref (High, -1) - Ref (Niedrig, -1)) Faktor100)), 0) Cshavebuy1IIf ((CgtBuyStopline UND HltBuyPriceline UND H gt BuyPriceline0.997) UND NICHT Kurz UND da (BuyPriceline0.997), 0) Cshavesell1IIf ((CltSellstopline AND LgtSellPriceline AND LltSellPriceLine1) .002) UND NICHT Buy UND seit, (SellPriceLine1.002), 0) Cshavebuy2Cshavebuy1 UND (NICHT Ref (Cshavebuy1,1) UND isSlopeUP) Cshavebuy3Cshavebuy1 UND (NICHT Ref (Cshavebuy1,1) UND ((HacgtBG3) ODER (NICHT (HacgtBG3 (HacltBR3) UND (HacltBR3) UND (NICHT (HacltBR3) UND NICHT (HacltBR3) UND NICHT (HacltBR3) UND NICHT (HacltBR3) UND NICHT (HacltBR3) UND NICHT (HacltBR3) UND NICHT (HacltBR3) )) Und LSSPP (CLavebuy1, -1) UND NICHT Ref (Cshavebuy1, -1) und NICHT Ref (Cshavebuy1, -1) und NICHT Ref (Cshavebuy1, -1) und NICHT Ref (Cshavebuy1, Cshaveell11)) UND synchAND isSlopeDN Titel BuySince BarSince (Buy) Kauf ist ausgelöst, seit wie viele Bars zurück kaufenStopSince BarsSince (IIf (Buysincegt0, BuyStop2 und seit, 0)) kaufen SL ist ausgelöst, seit wie viele Bars zurück buyTPSince BarsSince (IIf (Buysincegt0, BuyTP2 UND seit, 0)) kaufen TP wird ausgelöst, seit wie viele Bars zurück kaufenTriggered IIf (buySincegt0, 1,0 ) BuyTargetHit IIf (buySincegt0 UND buyTPSincegt0 UND buySince gt buyTPSince. 1, 0) buyStoplossHit IIf (buySincegt0 UND buyStopSincegt0 UND buySince gt buyStopSince 1, 0) shortSince BarsSince (Short) Kurz ist ausgelöst, seit wie viele Bars zurück ShortStopSince BarsSince (IIf (shortSincegt0, SellStop2 UND seit, 0)) Short SL wird ausgelöst Seit wie viele Bars zurück shortTPSince BarsSince (IIf (shortSincegt0, SellTP2 UND seit, 0)) kurz TP wird ausgelöst, da wie viele Bars zurück shortTriggered IIf (shortSincegt0,1,0) shortTargetHit IIf (shortSincegt0 UND shortTPSincegt0 UND shortSincegtshortTPSince, 1, 0) shortStoplossHit IIf (shortSincegt0 UND shortStopSincegt0 UND shortSincegtshortStopSince, 1, 0) Geld-Management Mengengröße round ((riskAmount (BuyPrice-BuyStop1))) Plotlinien Plot (IIf (pShowtradeLines, BuyPriceline, Null), quotBuy Herequot, colorBrightGreen, styleDotsstyleNoRescale) Plot (IIf (PShowtradeLines, buyStopline, Null), quotBuyStopquot, colorBrightGreen, styleDotsstyleNoRescale styleNoLine) Plot (IIf (pShowtradeLines, BuyTPline, Null), quotBuy Nehmen Sie profitquot, colorBrightGreen, styleDashedstyleNoRescale) Plot (IIf (pShowtradeLines, Cshavebuyline, Null), quotReady Longquot, colorLime, StyleDashedstyleNoRescale) Plot (IIF (pShowtradeLines, SellPriceline, Null), quotShort Herequot, colorRed, styleDotsstyleNoRescale) Plot (IIf (pShowtradeLines, SellStopline, Null), quotShortStopquot, colorRed, styleDotsstyleNoRescale styleNoLine) Plot (IIf (pShowtradeLines, SellTPline, Null), quotShort Nehmen Sie Profitquot, Blau und Rot, styleDashedstyleNoRescale) Plot (IIf (pShowtradeLines, Cshavesellline, Null), quotReady Shortquot, colorOrange, styleDashedstyleNoRescale) Plot (IIf (pShowRangeLines, Topline, Null), quotOpenquot, colorGreen, styleDashedstyleNoRescale) Plot (IIf (pShowRangeLines, PDHLine, null), quotPDHquot, colorPlum, styleLinestyleNoRescale) Plot (IIf (pShowRangeLines, PDLLine, null), quotPDLquot, colorPlum, styleLinestyleNoRescale) Plot (IIf (pShowRangeLines, DayHline, null), quotDayHquot, Coloryellow, styleLinestyleNoRescale) Plot (IIf (pShowRangeLines, DayLline Null,), quotDayLquot, Coloryellow, styleLinestyleNoRescale) Plot (IIf (pShowRangeLines, FHHLine, Null), quot1015Hquot, IIf (FHRange1, Null, Farbeblau), styleLinestyleNoRescale) Plot (IIf (pShowRangeLines, FHLLine, Null), quot1015Lquot, IIf (FHRange1 (Nr7, colorGreen, 0, H) PlotShapes (nr8, colorRed, 0, (L - (HL) 4)) PlotShapes (nr1, colorGreen, 0, L) PlotShapes (nr7, colorGreen, 0, PShowMarkers AND Short, shapeDownArrow, Null), colorOrange, 0, H, Offset-15) PlotShapes (IIf (pShowMarkers AND Buy, shapeUpArrow, Null), colorWhite, 0, L, Offset-15) PlotShapes (IIf (pShowMarkers AND Cshavesell, (PF. M.Schlüssel_SchreibenSchlüssel), colorHhartSmallUpTriangle, Null), colorWhite, 0, L, Offset-35) Warnungen AlertIf (Buy, quotSOUND C: WindowsMediaWindows XP Startup. Deutsch: www. tab. fzk. de/de/projekt/zusammenf...ng/ab117.htm. Englisch: www. tab. fzk. de/en/projekt/zusammenf...ng/ab117.htm AlertIf (Buy, quotSOUND C: WindowsMediaWindows XP Startup. Wavquot, quotBuyquot, 2) AlertIf (Short, quotSOUND C: WindowsMediaWindows XP Startup. wavquot, quotShortquot, 2) AlertIf (BuyStop, quotSOUND C: WindowsMediaRingin. wavquot, quotBuyStop Hitquot, 2) AlertIf (TSB1, quotSOUND C: WindowsMediaRingin. wavquot, "AlertIf (TSS1, quotSOUND C: WindowsMediaRingin. wavquot, quotShort Take Profitquot, 2) AlertIf (Cshavebuy, quotSOUND C: WindowsMediaWindows XP Startup. wavquot, quotGet Bereit zum Buyquot, 2) AlertIf (Cshavesell, quotSOUND C: WindowsMediaWindows XP Startup. wavquot, quotGet Ready to Shortquot, 2) AlertIf (GLong, quotSOUND C: WindowsMediaWindows XP Startup. wavquot, quotOpen 1015L Buyquot, 2) AlertIf (Gshort, FOOTC: WindowsMediaWindows XP Startup. wavquot, quotOpen 1015H Shortquot, 2) AlertIf (GLS, quotSOUND C: WindowsMediaWindows XP Startup. wavquot, quotFactorgtRange, Go Long oder Short sicheres Shotquot, 2) if (Status (quotactionquot) actionIndicator) (Titel EncodeColor (colorWhite) quotDhiraj Systemquot quot - name Name () quot EncodeColor (colorYellow) Interval (2) EncodeColor (colorWhite) quot Datum () quot EncodeColor (colorYellow) quotVol quot WriteVal (V) "WriteIf (GWS", "FactorFriendlyBothSides" (GLS) quot, quotquot) WriteIf (Trades, quot - Trade: quot; Trades) quot quot quotot) WriteIf (AF, quot - AF: quot (AF) quot, quotquot) WriteIf ((lotSize) UND da, Position - Position. (F13, quotF2: Mittlerer Quotterquote, Quittierung) WriteIf (F33, quotF3: No Goodquotquot quot, quotquot) WriteIf (F33, quotF1: Best quotquot quot, quotquot) "NoTrot", "Quellcode", "Quellcode", "Quellcode", "Quellcode", "Quellcode", "Quellcode", "Ziffern" : quot) WriteIf (HacgtBG3, EncodeColor (colorBrightGreen) quotUpquot, WriteIf (HacltBR3, EncodeColor (Blau und Rot) quot-Downquot, EncodeColor (colorLightYellow) quotlt Wohnung gtquot)) quotnquotquotnquot EncodeColor (colorBrightGreen) WriteIf (BuyPrice, quotBUY: quot (BuyPrice) quot (TSB) - BUY TP: quot (TSB) quot quotquot) quotnquot EncodeColor (colorRed) WriteIf (SellPrice, quotSHORT: quot (SSSPrice) quint, quotquot) "WriteIr" ("SellStop1", "CORT SL", "Quote", "Notiz"). (Ghort, quotOpen1015L Bearish: quot (Ghort) quot quotquot) quotnquot EncodeColor (colorBrightGreen) WriteIf (Voraus, quotAdvance: quot (Vorwärts) (CSSaveSell) WriteVal (Buy)) Erforschung AddColumn (IIf (Cshavebuy, 82,),,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, IIF (Cshavesell, 82,01)), quotCADAR, formatChar, IIf (Cshavesell, colorDarkRed, colorGreen)) AddColumn (IIf (Buy, 66, IIf (Kurz, 83,01)), quotCTION, FormatChar, IIf (Kurz, ColorDarkRed, colorGreen)) AddTextColumn (WriteIf (element1, quotF1quot, WriteIf (element2, quotF2quot, WriteIf (element3, quotF3quot, quotquot))), quotELEMENTquot, 1.0, IIf ((element1 OR element2), colorDarkGreen, colorDarkRed)) AddTextColumn (WriteIf (BuyTargetHit, quotbuyTargetHitquot, WriteIf (buyStoplossHit, quotbuyStoplossHitquot, WriteIf (shortTargetHit, quotshortTargetHit quot, WriteIf (shortStoplossHit, quotshortStoplossHitquot, quotquot)))), quotStatusquot, 1.0, IIf ((buyTargetHit OR shortTargetHit OR BuyTriggered), colorDarkGreen, colorDarkRed)) AddColumn (AddStar1, quotBuyquot, 1.2) AddColumn (TSB, quotBuy TPquot, 1.2) AddColumn (SellPrice, quotShortquot, 1.2) AddColumn (SellStop1, quotShort SLquot, 1.2) AddColumn (TSS, quotShort TPquot, 1.2) ) AddColumn (GNort, quotOpen1015H Shortquot, 1.0) AddColumn (GLS, quotFactorFriendlyquot, 1.0) AddColumn (Trades, quotTradeNo. quot, 1.0) Filter IIf (AFfilter2, ((ODER ODER ODER Cshavebuy ODER Cshavesell kaufen) ODER buyTargetHit ODER buyStoplossHit ODER shortTargetHit ODER shortStoplossHit AND (element1 OR element2))) () ODER GLong ODER Gshort) ODER GLong ODER Gshort) UND handeln2 UND GLS ODER buyTargetHit ODER buyStoplossHit ODER shortTargetHit ODER shortStoplossHit Filter IIf (AFfilter2, Buy ODER Short ODER Cshavebuy ODER Cshavesell UND (Element1 OR Element2), ODER ODER ODER OST ODER GEMASSE ODER GEMASSE ODER GEMASSE ODER GEMEINSCHAFTEN ODER GEMEINSCHAFTEN Gshort) und Trades2 UND GLS SECTIONBEGIN (quotEMAquot) P ParamField (quotPrice fieldquot, -1) Perioden Param (quotPeriodsquot, 15, 2, 300, 1, 10) Plot (EMA (P, Perioden), DEFAULTNAME (), ParamColor (quotColorquot (PG), Parametrierung, ParamStyle (ParS), NIEDRIGSTECHNITT () (), ParamColor (quotColorquot, colorCycle), ParamStyle (quotStylequot)) SECTIONEND () Ich denke, ein Fehler ist da in diesem afl plz überprüfen diese afl. Datei: Dhiraj Diagramm SetChartBkColor (ParamColor (quotBackGround Colorquot, Farbeschwarz)) pShowRangeLines ParamToggle (quotShow Bereich Linesquot, quotNoYesquot, 0) pShowtradeLines ParamToggle (quotShow Handel Linesquot, quotNoYesquot, 1) pShowMarkers ParamToggle (quotShow Markersquot, quotNoYesquot, 1) synch1ParamToggle (quotShow NR , Squot, quotNoYesquot, 0) LimitParam (Handelszeit (Stunde) (Min) (Sek.), 142500,103000,153000,100) AFfilter Param (quotFactor Filterquot, 2,2,3,1) SECTIONBEGIN (quotale Index Bar graphquot) synchParamToggle (quotSynch mit Indexquot, quotNoYesquot, 0) VrParamList (quotIndex zu Synchquot, List quotNSEI, NSEBANK, CNXIT, NSMIDCP, RELIANCE. NS, SBIN. NSquot, 0) SECTIONBEGIN (quotPL Settingsquot) PerctakeProfitParam (quotTake Profit Percentquot, 0,65, 0,3,30,0,1) PercStoplossParam (quotStopLoss Percentquot, 0,8,0,2,5,0,1) Trades1Param (quotTrade Abovequot, 1,1,10,1) RisikoAmountParam (quotRisk Amountquot, 240,200,10000,100) SECTIONBEGIN (quotTrade Variablesquot) VolminParam ( QuotVolume Minquot, 0,0,10000000,50) VolmaxParam (quotVolume Maxquot, 10000000,0,10000000,50) priceRLParam (quotPrice Range Minquot, 15,1.20000,1) PreisRHParam (quotPrice Range Maxquot, 20000,1.20000, 1) PercChangeminParam (quotPercentage Change Min setquot, -50, -100, 100, 0.1) PercChangemaxParam (quotPercentage Change Max setquot, 50, -100, 100, 0.1) Programm berechnet und zeigt verschiedene Preiswerte in Echtzeit an Heute ist Open Prior Day High (Tag, niedrig, niedrig, nah, quadratisch, colorWhite, styleCandle) Stäbe 0 xpdh 90 SECTIONBEGIN (quotSARquot) acc Param (quotAccelerationquot, 0.02, 0 , 1, 0,001) accm Param (z. B.Max. Beschleunigungquot, 0,2, 0, 1, 0,001) Plot (SAR (acc, accm), DEFAULTNAME (), ParamColor (quotcolorquot, colorBlack), ParamStyle (quotStylequot, styleDots styleNoLine, maskDefault styleDots styleNoLine)) SECTIONEND () SECTIONBEGIN (quotSMAquot) P ParamField (quotPrice fieldquot, -1) Perioden Param (quotPeriodsquot, 20, 2, 300, 1, 10) Plot (MA (P, Perioden), DEFAULTNAME (), ParamColor (quotColorquot, colorYellow), ParamStyle (quotStylequot, styleThick) (MA (P, Perioden) ltL) UND Ref (MA (P, Perioden), - 1) gtRef (MA (P, Perioden), - 2) UND Ref (MA (P, Perioden), - 2) gtRef (MA (P, Perioden), - 3) UND Ref (MA (P, Perioden), - 3) gtRef (MA (P, Perioden), - 4) UND Ref (MA (P, Perioden), - 4) gtRef (MA (P, Perioden), - 5) und Ref (MA (P, Perioden), - 5) gtRef (MA (P, Perioden), - 6) isSlopeDN (MA (P, Perioden) gtH) UND (MA (P, Perioden), - 1) ltRef (MA (P, Perioden), - 2) UND Ref (MA (P, Perioden), - 2) ltRef (MA (P, Perioden), - 3) UND (MA (P, Perioden), - 3) ltRef (MA (P, Perioden), - 4) UND Ref (MA (P, Perioden), - 4) ltRef (MA (P, Perioden), - 5) UND (MA (P, Perioden), - 5) ltRef (MA (P, Perioden), - 6) isSlpeUP (MA (P, Perioden) ltC) UND Ref (MA (P, Perioden), - 1) gtRef (MA (P, Perioden), - 2) UND Ref (MA (P, Perioden), - 1) gtRef (MA (P, Perioden), - 3) UND Ref (MA (P, Perioden), - 1) gtRef (MA (P, Perioden), - 4) UND Ref (MA (P, Perioden), - 1) gtRef (MA (P, Perioden), - 5) UND Ref (MA (P, Perioden), - 1) gtRef (MA (P, Perioden), - 6) isSlpeDN (MA (P, Perioden) gtC) UND Ref (MA (P, Perioden), - 1) ltRef (MA (P, Perioden), - 2) UND Ref (MA (P , Perioden), - 1) ltRef (MA (P, Perioden), - 3) UND Ref (MA (P, Perioden), - 1) ltRef (MA (P, Perioden), - 4) UND Ref (MA (P , Perioden), - 1) ltRef (MA (P, Perioden), - 5) UND Ref (MA (P, Perioden), - 1) ltRef (MA (P, Perioden), - 6) Daten in die tägliche PlotRange umwandeln ( TimeNum () gt 95500 UND TimeNum () lt 153500) UND (DatumNum () LastValue (DateNum ())) FHRange (TimeNum () gt 095500 UND TimeNum () lt 101459) UND (DatumNum () LastValue (DateNum ())) FHPrices High FHRange FHMarker BarsSince (FHRangegt0) Finden Sie die Anzahl der Takte in 60 Minuten NumBars 3600 Interval (1) TimeFrameSet (inDaily) TOP Open PDH Ref (High, -1) PDL Ref (Low, -1) PDO Ref (Open, -1 ) PDC Ref (Schließen, -1) PDM (PDHPDL) 2 TimeFrameRestore () isAll True isRth TimeNum () gt 095400 UND TimeNum () lt 101459 isdRth TimeNum () gt 095400 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 ( PDA TimeFrameExpand (PDC, inDaily, expandFirst) PDM TimeFrameExpand (PDM, inDaily, expandFirst) FHH Ref (HHV (HighFHRange, NumBars), - FHMarker) FHL TimeFrameCompress (aRthL, inDaily, compressLow) FHL TimeFrameExpand (FHL (DayH TimeFrameExpand) DayL TimeFrameExpand (DayL, inDaily, compressLow) DayL TimeFrameExpand (DayL, inDaily, compressFirst) DayH TimeFrameExpand (DayL, inDaily, compressHigh) DayH TimeFrameExpand (DayH, InDaily, 0.433) FC2 ((PDH-PDL) 0.7666) FC3 ((PDH-PDL) 1.355) FC4 (FHH-FHL) JETZT FILTER ZUM FINDEN DES ANWENDBAREN FAKTORS F11IIf ((FC4ltFC1PDH0.005), FC1,0) F22IIf ((FC4ltFC2PDH0. 002 UND FC4gtFC1PDH0.005), FC2,0) F33IIf ((FC4ltFC3 UND FC4gtFC2PDH0.005), FC3,0) Element1IIf (F11gt0, F11,0) Element2IIf (F22gt0, F22,0) Element3IIf (F33gt0, F33,0) AF (F11F22F33) seit (TimeNum () gt 101459 UND TimeNum () lt Limit) AND (DateNum () LastValue (DateNum ())) rangHigh-Low nr7sIIf (rangLLV (rang, 7), shapeDigit7shapePositionAbove, shapeNone) nr8sIIf (Ref (nr7s , Nr7IIf (synch1, nr7s, 0) nr8IIf (synch1, nr8s, 0) InsideBar Inside () nr1IIf (nr7 UND InsideBar, shapeDigit1, shapeNone) Fremd SetForeign (Vr ) HaC (OH) (Ha, HO) (H, Max (HaC, HaO)) HaL Min (L, Min (HaC, HaO)) BG3HHV (LLV (HaL, 4) ) ATR (4), 8) BR3LLV (HHV (HaH, 4) - ATR (4), 8) co IIf (HacgtBG3, colorBrightGreen, IIf (Hac lt BR3, colorRed, colorGrey50)) Plot (4, quotquot, Co, StyleEreastyleOwnScale styleNoLabel, -1, 100) RestorePriceArrays () SECTIONEND () weitere Filter GLong (TOPFHL) UND TimeNum () lt 101600 Gshort (TOPFHH) UND TimeNum () lt 101600 GLS (AFlt (FHH-FHL) (BuyPrice (BuyPrice (PerctakeProfit100))) BuyTP2 (CgtBuyTP1 ODER HgtBuyTP1) SellPrice (DayH-AF) SellPrice (SellPrice - (SellPrice (PericakeProfit100) ))) SellTP2 (CltSellTP1 ODER LltSellTP1) TSB IIf (SAR (acc, accm) gtBuyTP1 UND SAR (acc, accm) ltL, SAR (acc, accm), BuyTP1) TSB1Cross (TSB, C) TSS IIf (SAR (acc, (C-PDC) PDC) 100) Vol (VgtVolmin UND VltVolmax) Prozentsatz (percchangegtPercChangemin UND percchangeltPercChangemax.).Te1Cross (C, TSS) (C & sub9; & sub0; & sub1; & sub1; & sub1; & sub1; & sub1; & sub0; & sub1; & sub1; & sub0;) & ))) Short2 (Vol. UND Prozentsatz AND prc UND seit AND advanceltDecline AND (Cross (SellPrice, C))) (Stipendium) (Stammbaum (BuyTrice (PercStoploss100)) BuyStop1 (FPHice) (Stammbaum (BuyTrice) )) SellStop1IIf (SellStop1 gt BuyPrice, BuyPrice, SellStop1) SellStop2 (HgtSellStop1 OR CgtSellStop1) Kumulative Trades Tradebase (Buy3 ODER Short3 UND seit) TradesCum (Tradebase) Trades2 (Tradesgttrades1) buyTargetHit IIf (BuySincegt1 UND BuyTPSincegt1 UND BuyStopSince lt 0, 1, 0) buyStoplossHit IIf (buySincegt1 UND buyStopSincegt1 UND buyTPSince lt 0, 1, 0) Buy (Buy3 UND Trades2 UND isSlopeUP UND (NICHT Ref (Buy3, -1) UND NICHT Ref (Buy3, -2) UND NICHT Ref (Buy3, - 3) UND NICHT Ref (Buy3, -4) UND NICHT Ref (Buy3, -5))) Kurz (Short3 UND Trades2 UND isSlopeDN UND (NICHT Ref (Short3, -1) UND NICHT Ref (Short3, -2) UND NICHT (Short3, -3) UND NICHT Ref (Short3, -4) UND NICHT Ref (Short3, -5))) BuyStopIIf ((Buy AND NOT BuyTP2), BuyStop1, Null) SellStopIIf (Kurz und NICHT SellTP2, SellStop1, Null ) BuyTPIIf (Buy AND NOT BuyStop, BuyTP2, Null) SellTPIIf (Short AND NOT SellStop, SellTP2, Null) Experiment TradebaseB (Buy) TradesBCum (TradeBaseB) BuyTP3BuyTP2 UND TradesBgt1 TradebaseBTP (BuyTP3) TradesBTPCum (TradeBaseBTP) Buystop3Buystop2 UND TradesBgt1 tradebaseBSL (Buystop3 UND da) tradesBSLCum (tradebaseBSL) SellTP3SellTP2 UND TradesSgt1 tradebaseSTP (SellTP3) tradesSTPCum (tradebaseSTP) Sellstop3Sellstop2 UND TradesSgt1 tradebaseSSL (Sellstop3 und da) tradesSSLCum (tradebaseSSL) buyTriggered (TradesB1) buyTargetHit (TradesBTPgt1) buyStoplossHit (TradesBSLgt1) shortTriggered TradesS1 shortTargetHit (TradesSTPgt1) shortStoplossHit ( TradesSSLgt1) Endlinie Plot Grundlagen Bars BarsSince (TimeNum () gt 95400 UND TimeNum () lt 101459), BarIndex (), 1) AND DateNum () LastValue (DateNum ()) x0 BarCount-LastValue (Bars) x1 BarCount-1 TOPLine (X0, LastValue (PDH), x1, LastValue (PDH), x1, LastValue (PDH), x1, LastValue (PDH), x1, LastValue (x0, LastValue (TOP) (PDC), 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, LastValue (BuyPrice), 0) (X0, SelectedValue (TSB), x1, SelectedValue (TSB), 0) SellPricelineLineArray (x0, LastValue (BuyStop1), x1, LastValue (BuyStop1), x1, LastValue (BuyStop1), 0) BuyTPlineLineArray (x0, ), 0) SellStoplineLineArray (x0, LastValue (SellStop1), x1, LastValue (SellStop1), 0) SellTPlineLineArray (x0, SelectedValue (TSS), x1, SelectedValue (TSS), 0) DayHlineLineArray (x0, LastValue (DayH), x1,LastValue(DayH),0) DayLlineLineArray(x0,LastValue(DayL),x1,LastValue(DayL),0) Ready codes Cshavebuy1IIf((Cgt((BuyStopline)) AND HltBuyPriceline) AND NOT Short, Buystopline(2((Ref (High,-1)-Ref(Low,-1))factor100)),0) Cshavesell1IIf((Clt((Sellstopline)) AND LgtSellPriceline) AND NOT Buy, SellStopline-(2((Ref(High,-1) - Ref(Low,-1))factor100)),0) Cshavebuy1IIf((CgtBuyStopline AND HltBuyPriceline AND H gt BuyPriceline0.997) AND NOT Short AND since,(BuyPriceline0.997),0) Cshavesell1IIf((CltSellstopline AND LgtSellPriceline AND LltSellPriceLine1 .002) AND NOT Buy AND since,(SellPriceLine1.002),0) Cshavebuy2Cshavebuy1 AND (NOT Ref(Cshavebuy1,1) AND isSlopeUP) Cshavebuy3Cshavebuy1 AND (NOT Ref(Cshavebuy1,1) AND ((HacgtBG3) OR (NOT (HacgtBG3 ) AND NOT (HacltBR3))) AND isSlopeUP) Cshavesell2CshaveSell1 AND (NOT Ref(Cshavesell1,1) AND isSlopeDN) Cshavesell3CshaveSell1 AND (NOT Ref(Cshavesell1,1) AND ((HacltBR3) OR (NOT (HacgtBG3) AND NOT (HacltBR3) )) AND isSlopeDN) Cshavebuy IIf(Synch, Cshavebuy3,Cshavebuy2) CshavesellIIf(synch, Cshavesell3,Cshavesell2) Cshavesell1 (Llt((Sellstop1)) AND LgtSellPrice AND since) CshavebuyCshavebuy1 AND (NOT Ref(Cshavebuy1,-1) AND NOT Ref( Cshavebuy1,1) ) AND synchAND isSlopeUP CshavesellCshaveSell1 AND (NOT Ref(Cshavesell1,-1) AND NOT Ref(Cshavesell1,-1)) AND synchAND isSlopeDN title buySince BarsSince(Buy ) buy is triggered since how many bars back buyStopSince BarsSince(IIf (Buysincegt0,BuyStop2 AND since,0)) buy SL is triggered since how many bars back buyTPSince BarsSince(IIf(Buysincegt0,BuyTP2 AND since,0)) buy TP is triggered since how many bars back buyTriggered IIf(buySincegt0 ,1,0 ) buyTargetHit IIf(buySincegt0 AND buyTPSincegt0 AND buySince gt buyTPSince. 1, 0) buyStoplossHit IIf( buySincegt0 AND buyStopSincegt0 AND buySince gt buyStopSince. 1, 0) shortSince BarsSince(Short) short is triggered since how many bars back shortStopSince BarsSince(IIf(shortSincegt0,SellStop2 AND since,0)) short SL is triggered since how many bars back shortTPSince BarsSince(IIf(shortSincegt0,SellTP2 AND since,0)) short TP is triggered since how many bars back shortTriggered IIf(shortSincegt0,1,0) shortTargetHit IIf(shortSincegt0 AND shortTPSincegt0 AND shortSincegtshortTPSince, 1, 0) shortStoplossHit IIf(shortSincegt0 AND shortStopSincegt0 AND shortSincegtshortStopSince, 1, 0) money management lotSize round((riskAmount(BuyPrice-BuyStop1))) PLOT LINES Plot(IIf(pShowtradeLines, BuyPriceline, Null),quotBuy Herequot, colorBrightGreen, styleDotsstyleNoRescale) Plot(IIf(pShowtradeLines, BuyStopline, Null),quotBuyStopquot, colorBrightGreen, styleDotsstyleNoRescale styleNoLine) Plot(IIf(pShowtradeLines, BuyTPline, Null),quotBuy Take profitquot, colorBrightGreen, styleDashedstyleNoRescale) Plot(IIf(pShowtradeLines, Cshavebuyline, Null),quotReady Longquot, colorLime, styleDashedstyleNoRescale) Plot(IIf(pShowtradeLines, SellPriceline, Null),quotShort Herequot, colorRed, styleDotsstyleNoRescale) Plot(IIf(pShowtradeLines, SellStopline, Null),quotShortStopquot, colorRed, styleDotsstyleNoRescale styleNoLine) Plot(IIf(pShowtradeLines, SellTPline, Null),quotShort Take Profitquot, colorRed, styleDashedstyleNoRescale) Plot(IIf(pShowtradeLines, Cshavesellline, Null),quotReady Shortquot, colorOrange, styleDashedstyleNoRescale) Plot(IIf(pShowRangeLines, TOPLine, Null),quotOpenquot, colorGreen, styleDashedstyleNoRescale) Plot(IIf(pShowRangeLines, PDHLine, Null),quotPDHquot, colorPlum, styleLinestyleNoRescale) Plot(IIf(pShowRangeLines, PDLLine, Null),quotPDLquot, colorPlum, styleLinestyleNoRescale) Plot(IIf(pShowRangeLines, DayHline, Null),quotDayHquot, colorYellow, styleLinestyleNoRescale) Plot(IIf(pShowRangeLines, DayLline, Null),quotDayLquot, colorYellow, styleLinestyleNoRescale) Plot(IIf(pShowRangeLines, FHHLine, Null),quot1015Hquot, IIf(FHRange1,Null, colorBlue),styleLinestyleNoRescale) Plot(IIf(pShowRangeLines, FHLLine, Null),quot1015Lquot, IIf(FHRange1,Null, colorBlue),styleLinestyleNoRescale) Shapes PlotShapes(nr1,colorGreen,0,L) PlotShapes(nr7,colorGreen,0,H) PlotShapes(nr8,colorRed,0,(L-(H-L)4)) PlotShapes(IIf(pShowMarkers AND Short, shapeDownArrow, Null), colorOrange, 0,H, Offset-15) PlotShapes(IIf(pShowMarkers AND Buy, shapeUpArrow, Null), colorWhite, 0,L, Offset-15) PlotShapes(IIf(pShowMarkers AND Cshavesell, shapeHollowSmallDownTriangle, Null), colorOrange, 0,H, Offset-35) PlotShapes(IIf(pShowMarkers AND Cshavebuy, shapeHollowSmallUpTriangle, Null), colorWhite, 0,L, Offset-35) Alerts AlertIf( Buy, quotSOUND C:WindowsMediaWindows XP Startup. wavquot, quotBuyquot,2) AlertIf( Short, quotSOUND C:WindowsMediaWindows XP Startup. wavquot, quotShortquot, 2 ) AlertIf( BuyStop, quotSOUND C:WindowsMediaRingin. wavquot, quotBuyStop Hitquot, 2 ) AlertIf( TSB1, quotSOUND C:WindowsMediaRingin. wavquot, quotBuy Take Profitquot, 2 ) AlertIf( SellStop, quotSOUND C:WindowsMediaRingin. wavquot, quotShort Stop Hitquot, 2 ) AlertIf( TSS1, quotSOUND C:WindowsMediaRingin. wavquot, quotShort Take Profitquot, 2 ) AlertIf( Cshavebuy, quotSOUND C:WindowsMediaWindows XP Startup. wavquot, quotGet Ready to Buyquot, 2 ) AlertIf( Cshavesell, quotSOUND C:WindowsMediaWindows XP Startup. wavquot, quotGet Ready to Shortquot, 2 ) AlertIf( GLong, quotSOUND C:WindowsMediaWindows XP Startup. wavquot, quotOpen 1015L Buyquot, 2 ) AlertIf( Gshort, quotSOUND C:WindowsMediaWindows XP Startup. wavquot, quotOpen 1015H Shortquot, 2 ) AlertIf( GLS, quotSOUND C:WindowsMediaWindows XP Startup. wavquot, quotFactorgtRange, Go Long or Short sure shotquot, 2 ) if( Status(quotactionquot) actionIndicator ) ( Title EncodeColor(colorWhite) quotDhiraj Systemquot quot - quot Name() quot - quot EncodeColor(colorYellow) Interval(2) EncodeColor(colorWhite) quot - quot Date() quot - quot EncodeColor(colorYellow) quotVol quot WriteVal(V)quot - quot WriteIf(Percchange, quot Change quot(Percchange)quot quot, quotquot) WriteIf(GLS, quot - FactorFriendlyBothSides quot(GLS)quot quot, quotquot) WriteIf(trades, quot - Trade : quot(Trades)quot quot, quotquot) WriteIf(AF, quot - AF: quot(AF)quot quot, quotquot) WriteIf((lotSize) AND since, quot - Position Size. quot( lotSize )quot quot, quotquot) quotnquotquotnquot WriteIf(F11, quotF1: Best quotquot quot, quotquot) WriteIf(F22, quotF2: Medium quotquot quot, quotquot) WriteIf(F33, quotF3: No Goodquotquot quot, quotquot) WriteIf(F33, quotF3: No Goodquotquot quot, quotquot) Comm2(quotnquotquotSlope: quot) WriteIf(isSlopeUP, EncodeColor(colorBrightGreen)quotUpquot, WriteIf(isSlopeDN, EncodeColor(colorRed)quot-Downquot, EncodeColor(colorLightYellow)quotlt Flat gtquot)) Comm2(quotnquotVrquot. Phase: quot) WriteIf(HacgtBG3,EncodeColor(colorBrightGreen)quotUpquot, WriteIf(HacltBR3,EncodeColor(colorRed)quot-Downquot, EncodeColor(colorLightYellow)quotlt Flat gtquot)) quotnquotquotnquot EncodeColor(colorBrightGreen) WriteIf(BuyPrice, quotBUY: quot(BuyPrice)quot quot, quotquot) WriteIf(BuyStop1, quot - BUY SL: quot(BuyStop1),quotquot) WriteIf(TSB. quot - BUY TP: quot(TSB)quot quot, quotquot) quotnquot EncodeColor(colorRed) WriteIf(SellPrice, quotSHORT: quot(SellPrice)quot quot, quotquot) WriteIf(SellStop1, quot - SHORT SL: quot(SellStop1)quot quot, quotquot) WriteIf(TSS, quot - SHORT TP: quot(TSS)quot quot, quotquot)quotnquot quotnquot EncodeColor(colorBrightGreen) WriteIf(GLong, quotOpen1015L Bullish: quot(GLong)quot quot, quotquot) EncodeColor(colorRed) WriteIf(Gshort, quotOpen1015H Bearish: quot(Gshort)quot quot, quotquot) quotnquot EncodeColor(colorBrightGreen) WriteIf(advance, quotAdvance: quot(advance)quot quot, quotquot) EncodeColor(colorRed) WriteIf(decline, quot - Decline: quot(Decline)quot quot, quotquot)) WriteVal(NSEAdvancing) WriteVal(CshaveSell) WriteVal(Buy)) exploration AddColumn( IIf(Cshavebuy, 82, IIf(Cshavesell, 82,01 )), quotREADYquot, formatChar, IIf(Cshavesell, colorDarkRed, colorGreen) ) AddColumn( IIf(Buy, 66, IIf(Short, 83,01 )), quotACTION quot, formatChar, IIf(Short, colorDarkRed, colorGreen) ) AddTextColumn( WriteIf(element1,quotF1quot, WriteIf(element2,quotF2quot, WriteIf(element3,quotF3quot, quotquot))),quotELEMENTquot,1.0, IIf((element1 OR element2),colorDarkGreen, colorDarkRed)) AddTextColumn( WriteIf(BuytargetHit, quotbuyTargetHitquot, WriteIf(buyStoplossHit, quotbuyStoplossHitquot, WriteIf(shortTargetHit, quotshortTargetHit quot, WriteIf(shortStoplossHit, quotshortStoplossHitquot, quotquot)))),quotStatusquot,1.0, IIf((buyTargetHit OR shortTargetHit OR BuyTriggered),colorDarkGreen, colorDarkRed)) AddColumn(BuyPrice, quotBuyquot,1.2) AddColumn(BuyStop1,quotBuy SLquot,1.2) AddColumn(TSB, quotBuy TPquot,1.2) AddColumn(SellPrice, quotShortquot,1.2) AddColumn(SellStop1,quotShort SLquot,1.2) AddColumn(TSS, quotShort TPquot,1.2) AddColumn(Glong, quotOpen1015LBuyquot,1.0) AddColumn(Gshort, quotOpen1015H Shortquot,1.0) AddColumn(GLS, quotFactorFriendlyquot,1.0) AddColumn(trades, quotTradeNo. quot,1.0) Filter IIf(AFfilter2,((Buy OR Short OR Cshavebuy OR Cshavesell OR buyTargetHit OR buyStoplossHit OR shortTargetHit OR shortStoplossHit AND (element1 OR element2))),((Buy OR Short OR Cshavebuy OR Cshavesell OR buyTargetHit OR buyStoplossHit OR shortTargetHit OR shortStoplossHit) AND (element1 OR element2 OR element3))) OR GLong OR Gshort) AND trades2 AND GLS OR buyTargetHit OR buyStoplossHit OR shortTargetHit OR shortStoplossHit Filter IIf(AFfilter2,Buy OR Short OR Cshavebuy OR Cshavesell AND (element1 OR element2),Buy OR Short OR Cshavebuy OR Cshavesell AND (element1 OR element2 OR element3)) OR GLong OR Gshort) AND trades2 AND GLS SECTIONBEGIN(quotEMAquot) P ParamField(quotPrice fieldquot,-1) Periods Param(quotPeriodsquot, 15, 2, 300, 1, 10 ) Plot( EMA( P, Periods ), DEFAULTNAME(), ParamColor( quotColorquot, colorCycle ), ParamStyle(quotStylequot) ) SECTIONEND() SECTIONBEGIN(quotEMA1quot) P ParamField(quotPrice fieldquot,-1) Periods Param(quotPeriodsquot, 15, 2, 300, 1, 10 ) Plot( EMA( P, Periods ), DEFAULTNAME(), ParamColor( quotColorquot, colorCycle ), ParamStyle(quotStylequot) ) SECTIONEND()SDA2 Trend Trading system is nothing but a trend trading system made using Standard Deviation(SD) and ATR(2) Average True range. This is just the variation of the AFBI Channel Trading system with a better performance and backtesting results. Channel has been Built using the following formula DerivedMA(((HL)2)(O-C),3) Upper(DerivedStDev(Derived,7))ATR(2)1.5 Lower(Derived-StDev(Derived,7))-ATR(2)1 And the Colour of the Candlestick will be toggled between Green and Red each time when it breaks the Upper Channel or the Lower Channel. 1)Candlestick turn green if the Candle stick breaks and closes above the Upper Channel which indicates the buy signal 2)Candlestick turn red if the Candle stick breaks and closes above the Lower Channel which indicates the sell signal 3)The stop loss for the Buy Signal is the lower Channel and the stop loss for the Sell Signal is the Upper Channel The following code is use to toggle the Candlestick colour between GreenRed colorIIf(BarsSince(Cross(Lower, C))gtBarsSince(Cros s(C, Upper)), colorBrightGreen, colorRed) Plot(C, quot, Color,64) Further Buy or Sell Signals, Scanning Functionality and Exploration has been added to the AFL code as usualSECTIONBEGIN(SMV Trading System v1.0) Den Param(Density, 1, 0.25, 100, 0.25) IBBars Param(Initial Balance Bars, 2, 0, 5, 1) EnIB Param(Show Initial Balance, 1, 0, 1, 1) EnMP Param(Show Market Profile, 1, 0, 2, 1) BarsInDay BarsSince(Day() Ref(Day(), -1)) Bot TimeFrameGetPrice(L, inDaily, 0) Top TimeFrameGetPrice(H, inDaily, 0) Vol TimeFrameGetPrice(V, inDaily, 0) POC H - H VAL H - H VAH H - H CurTop HHV(H, BarsInDay1) Curbot LLV(L, BarsInDay1) Range Highest(Top-Bot) TodayRange Top - Bot AveRange Sum(Top-Bot,30)30 LAveRange AveRangeBarCount-1 if (LAveRange lt 1) else if (LAveRange lt 10) else if (LAveRange lt 20) else if (LAveRange lt 100) else if (LAveRange lt 500) else Initialization baseX 0 baseY floor(Bot0Den)Den relTodayRange 0 firstVisBar Status(firstvisiblebar) lastVisBar Status(lastvisiblebar) i0 0 i1 0 for (i0 iltBarCount i) if (BarsInDayi 0 AND i lt firstVisBar) i0 i if (BarsInDayi 0 AND i gt lastVisBar) i1 i i1 BarCount-1 for (ii0 ilti1 i) if (BarsInDayi 0) baseX i baseY floor(BotiDen)Den maxY floor(TopiDen)Den relTodayRange (maxY-baseY)Den if (EnMP 2) for (j0 jlt relTodayRange j) if (Li lt baseYjDen AND Hi gt baseYjDen) PlotText(StrExtract(A, B,C, D,E, F,G, H,I, J,K, L,M, N, BarsInDayi), baseXxj, baseYjDen, colorBlack) xj else if (EnMP 1) for (j0 jlt relTodayRange j) if (Li lt baseYjDen AND Hi gt baseYjDen) line LineArray(baseX, baseYjDen, baseXxj1, baseYjDen) Plot(line,,ParamColor(Color, colorCustom13), styleLinestyleDots) xj if (BarsInDayi IBBars1 AND EnIB 1) Line1 LineArray(i-2, curtopi-1,i10, curtopi-1,0,True) Line1aLine1dLine1 Line1bLine1-dLine1 Plot(Line1,,colorBlue, styleDotsstyleThick) Plot(Line1a,,colorBlue, styleDotsstyleThickstyleNoLabel) Plot(Line1b,,colorBlue, styleDotsstyleThickstyleNoLabel) Line1 LineArray(i-2, curboti-1,i10, curboti-1,0,True) Line1aLine1dLine1 Line1bLine1-dLine1 Plot(Line1,,colorBlue, styleDotsstyleThick) Plot(Line1a,,colorBlue, styleDotsstyleThickstyleNoLabel) Plot(Line1b,,colorBlue, styleDotsstyleThickstyleNoLabel) if ((i lt BarCount - 1 AND BarsInDayi1 0) OR i BarCount-1) maxXj 0 for (j0 jlt relTodayRange j) if (maxXj lt xj) for (ki-BarsInDayikltik) POCk baseYmaxXjDen Line1 LineArray(baseX, baseYmaxXjDen, i, baseYmaxXjDen,0,True) Line1aLine1dLine1 Line1bLine1-dLine1 Plot(Line1,,colorWhite, styleDotsstyleThick) Plot(Line1a,,colorWhite, styleDotsstyleThickstyleNoLabel) Plot(Line1b,,colorWhite, styleDotsstyleThickstyleNoLabel) SECTIONBEGIN(SDA2 Channel Trading System) DerivedWMA(((HL)2)(O-C),3) iWMA(Derived,3) Upper(DerivedStDev(Derived,7))ATR(2)1.5 Lower(Derived-StDev(Derived,7))-ATR(2)1 colorIIf(BarsSince(Cross(Lower, C))gt BarsSince(Cross(C, Upper)), colorBrightGreen, colorRed) Plot(C,,Color,64) Plot(Upper, upper band, colorGreen) Plot(Lower, lower band, colorDarkRed) Buy Cross(Close, Upper) Sell Cross(Lower, Close) Buy ExRem(Buy, Sell) Sell ExRem(Sell, Buy) Filter Buy OR Sell Exploration Parameters AddTextColumn( FullName(), Company Name ) AddColumn( Buy, Buy, 1 ) AddColumn( Sell, Sell, 1 ) AddColumn( C, Close, 1.3 ) AddColumn( H, High, 1.3 ) AddColumn( Lower, Lower Band, 1.3 ) AddColumn( Upper, Upper Band, 1.3 ) 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, Offset40) PlotShapes(IIf(Sell, shapeSquare, shapeNone),colorOrange, 0,H, Offset50) PlotShapes(IIf(Sell, shapeDownArrow, shapeNone),colorWhite, 0,H, Offset-45) SECTIONBEGIN(Weekly MP) SetChartOptions(0,chartShowArrowschartShowDates) N(Title StrFormat( - Open g, Hi g, Lo g, Close g (.1f) , O, H, L, C, SelectedValue( ROC( C, 1 ) ) )) Plot( C, Close, ParamColor(Color, colorTurquoise), styleNoTitle ParamStyle(Style) GetPriceStyle() ) SECTIONEND() SECTIONBEGIN(Market Profile) Market Profile GraphXSpace 5 SetChartOptions(0, chartShowDates) Den Param(Density, 200, 10, 300, 10) ShowMP ParamToggle(Show MP, NoYes) ShowVP ParamToggle(Show VP, NoYes) StyleMP ParamStyle(style MP, styleLinestyleDots, maskAll) StyleVP ParamStyle(style VP, styleLinestyleDots, maskAll) NewDay DayOfWeek() gt Ref( DayOfWeek(),1) OR Cum(1) BarCount Bot TimeFrameGetPrice(L, inWeekly, 0) Top TimeFrameGetPrice(H, inWeekly, 0) Vol TimeFrameGetPrice(V, inWeekly, 0) Range Highest(Top-Bot) Box RangeDen VolumeUnit VolBarsInDay for (k 0 k lt Den k) loop through each line (price) starting at the Lowest price Line Bot kBox detect Line gt L amp Line lt H if(ShowMP True) CountMPString IIf(NewDay, Sum(detect, BarsInDay), 0) CountMPString Ref(ValueWhen(NewDay, CountMPString, 0), -1) MpLine IIf(CountMPString gt BarsInDay, Line, Null) Plot(MPLine, , colorGreen. styleMP) if(ShowVP True) CountVPString IIf(NewDay, Sum(detectV, BarsInDay)VolumeUnit, 0) CountVPString Ref(ValueWhen(NewDay, CountVPString, 0), -1) VpLine IIf(CountVPString gt BarsInDay, Line Box4, Null) Plot() Plot(VPLine, , colorBlue, styleVP) Title - - c04 Market Profile c06 Volume Profile SECTIONEND() SECTIONBEGIN(PriceVAP) SetChartOptions(0,chartShowArrowschartShowDates) N(Title StrFormat( - Open g, Hi g, Lo g, Close g (.1f) , O, H, L, C, SelectedValue( ROC( C, 1 ) ) )) Plot( C, Close, ParamColor(Color, colorOrange ), styleNoTitle styleCandle ) SECTIONBEGIN(Volume At Price) PlotVAPOverlay( Param(Lines, 300, 100, 1000, 1 ), Param(Width, 15, 1, 100, 1 ), ParamColor(Color, colorLightBlue ), ParamToggle(Side, LeftRight ) 4ParamToggle(Z-order, On topBehind, 1 ) ) SECTIONBEGIN(Magnified Market Price) FSParam(Font Size,30,11,100,1) GfxSelectFont(Times New Roman, FS, 700, True ) GfxSetBkMode( colorWhite ) GfxSetTextColor( ParamColor(Color, colorGreen) ) HorParam(Horizontal Position,990,1,1200,1) VerParam(Vertical Position,12,1,830,1) GfxTextOut(C, Hor. Ver ) YCTimeFrameGetPrice(C, inDaily,-1) DDPrec(C-YC,2) xxPrec((DDYC)100,2) GfxSelectFont(Times New Roman, 11, 700, True ) GfxSetBkMode( colorBlack ) GfxSetTextColor(ParamColor(Color, colorYellow) ) GfxTextOut(DD (xx), Hor. Ver45 ) SECTIONEND()
Iskustva sa prvim odlaskom u inostranstvo i savjeti Ozbiljno Mn Nudi da Postavi Antenne na naoj zgradi. Koliki je rizik po zdravlje quotUberquot taksi ili neminovnost razvoja tehnologije Shellshock LinuxUnix Bug in Bash-Shell Stanovanje van grada a posao u Graduierung Google Maps ima Street View za Srbiju Vip - Nove SMART tarife, NOVO tarifiranje na postpaidu 90s 60s i novi dodaci Poslovna komunikacija u 21 Veku - E-Mail vs Telefonski razgovor Kako se izlazi iz nocne mehr quotnemam vise snage ni volje da Radimquot ivot u Norvekoj, kako otii Ich kako se ivi tamo Oporezovanje IT izvoza Ich rada od Kue (freelancera) IT posao nakon sertifikata, isplativost Ich razlike u Odtosu na ostatak IT-a Drava sabotira izvoz robe preko interneta Samo za ljubitelje spejs sint, italo diska, starijeg tehna .. Batovanstvo 2013 - Proizvodnja za sopstvene potrebe - ta nam je initi Kako izgleda radno mesto PHP programera Outsourcing u Srbiji: kako startovati, Na sta paziti i da li preporucujete Zato NISTE ot...
Comments
Post a Comment