Thursday 25 May 2017

Volumengewichteter Durchschnittlicher Preis Tradestation Forex


TSMC: VWAP mit Standardabweichung. TSMC: VWAP mit Standardabweichung. VWAP SD-Indikatorprobleme habe ich eine Variante dieses Indikators gemacht. Sie berechnen die Werte ab Tag des Beginns und zeigt nur VWAP-Standardabweichung an. Während der Entwicklung habe ich einige Probleme gefunden: 1) Indikator startet nicht nur einmal, sondern mehrmals. Je weniger Zeitplan ist, desto mehr wird gestartet 2) Indikator zeigt Werte vom zweiten Tag (von der Geschichte) (seine OK) aber nicht von 00:00 aber später füge ich ELD-Dateien und einen Teil des Protokolls für 30 Minuten Diagramm an. Kann mir jemand helfen Dank im Voraus. Wenn IsStart True dann Begin IsStart False Wenn ShowInfo True Dann Print (quotIsStartquot) End if CurrentSession (1) ltgt CurrentSession (1) 1 Dann wenn Datum gt Datum 1 Dann beginnen SumBPPV 0 SumBV 0 Count 0 End BarPrice AvgPrice BarVolume UpTicks DownTicks BPBV BarPrice BarVolume SumBPPV SumBPPV BPBV SumBV SumBV BarVolume Anzahl Anzahl 1 Wenn SumBV gt 0 Dann beginnen VWAPrice SumBPPV SumBV Ende Für Index 0 Zu zählen - 1 Begin BarPrice AvgPrice Index BarVolume UpTicks Index DownTicks Index SumVRNC SumVRNC (BarVolume SumBV) Quadrat (BarPrice - VWAPrice) Ende VWAPSD Squareroot (SumvRNC) Plot1 (VWAPSD, quotVWAPStDevDquot) Wenn ShowInfo True Dann Begin OInfo quotquot OInfo OInfo quotDTm: "AAgetSDateTime (Bardatetime 0.ELDateTimeEx)" OInfo OInfo quotD: NumToStr (Datum 19000000, 0) "OInfo OInfo quotD1: NumToStr (Datum 1 19000000, 0) "OInfo OInfo quotCount: NumToStr (Count, 0)" OInfo OInfo quotBPrice: NumToStr (BarPrice, 3) "OInfo OInfo quotVWAPSD: NumToStr (VWAPSD, 3)" OInfo OInfo " (NumericSimple) Vars: YearsN (0), MonthsN (0), DaysN (0), HoursN (0), MinutesN (0), Niedrigstes (0), Min ), String-Stunden (Quittung), String-Stunden (Quittung), String-Stunden (Quittung), String-Stunden (Quittung), String-Stunden (Quittung) DatumTime) DaysN Dayfromdatetime (DateTime) StundenN Hoursfromdatetime (DateTime) MinutesN Minutesfromdatetime (DateTime) SecondsN Secondsfromdatetime (DateTime) Jahre NumToStr (JahreN, 0) Monate NumToStr (MonatN, 0) DaysS NumToStr (DaysN, 0) Stunden NumToStr (StundenN, 0) MinutesS NumToStr (MinutesN, 0) SecondsS NumToStr (SecondsN, 0) Wenn MonthsN lt 9 Then MonthsS quot0quot MonthsS Wenn DaysN lt 9 Dann DaysS quot0quot DaysS If HoursN lt 9 Then HoursS quot0quot HoursS Wenn MinutesN lt 9 Then MinutesS quot0quot MinutesS If SecondsN lt 9 Dann SecondsS quot0quot SecondsS AAgetSDateTime YearsS quot. quot MonthsS quot. quot DaysS quotes HoursS quot: quot MinutesS quot: SecondsS IsStart DTm: 2014.10.26 18:00:00 D: 20141026 D1: 20141026 Anzahl: 1 VWAPSD: 0.000 CSss: 1 DTm: 2014.10.26 18:30:00 D: 20141026 D1: 20141026 Anzahl: 2 VWAPSD: 0,345 CSss: 1 DTm: 2014.10.26 19:00:00 D: 20141026 D1: 20141026 Anzahl: 3 VWAPSD: 0.604 CSss: 1 IsStart DTm: 2014.10.26 19:00:00 D: 20141026 D1: 20141026 Anzahl: 1 VWAPSD: 0.000 CSss: 1 DTm: 2014.10.26 19:30:00 D: 20141026 D1: 20141026 Anzahl: 2 VWAPSD: 0,093 CSss : 1 DTm: 2014.10.26 20:00:00 D: 20141026 D1: 20141026 Anzahl: 3 VWAPSD: 0,319 CSss: 1 DTm: 2014.10.26 20:30:00 D: 20141026 D1: 20141026 Anzahl: 4 VWAPSD: 0,736 CSss : 1 DTm: 2014.10.26 21:00:00 D: 20141026 D1: 20141026 Anzahl: 5 VWAPSD: 1.211 CSss: 1 IsStart DTm: 2014.10.26 20:00:00 D: 20141026 D1: 20141026 Anzahl: 1 VWAPSD: 0.000 CSss: 1 DTm: 2014.10.26 20:30:00 D: 20141026 D1: 20141026 Anzahl: 2 VWAPSD: 0.448 CSss: 1 DTm: 2014.10.26 21:00:00 D: 20141026 D1: 20141026 Anzahl: 3 VWAPSD: 0.794 CSss: 1 DTm: 2014.10.26 21:30:00 D: 20141026 D1: 20141026 Anzahl: 4 VWAPSD: 0.847 CSss: 1 DTm: 2014.10.26 22:00:00 D: 20141026 D1: 20141026 Anzahl: 5 VWAPSD: 0,946 CSss: 1 DTm: 2014.10.26 22:30:00 D: 20141026 D1: 20141026 Anzahl: 6 VWAPSD: 0,961 CSss: 1 DTm: 2014.10.26 23:00:00 D: 20141026 D1: 20141026 Anzahl: 7 VWAPSD: 0.712 CSss: 1 IsStart DTm: 2014.10.26 21:00:00 D: 20141026 D1: 20141026 Anzahl: 1 VWAPSD: 0.000 CSss: 1 DTm: 2014.10.26 21:30:00 D: 20141026 D1: 20141026 Anzahl: 2 VWAPSD: 0,203 CSss: 1 DTm: 2014.10.26 22:00:00 D: 20141026 D1: 20141026 Anzahl: 3 VWAPSD: 0,388 CSss: 1 DTm: 2014.10.26 22:30:00 D: 20141026 D1: 20141026 Anzahl: 4 VWAPSD: 0.412 CSss: 1 DTm: 2014.10.26 23:00:00 D: 20141026 D1: 20141026 Anzahl: 5 VWAPSD: 0.392 CSss: 1 DTm: 2014.10.26 23:30:00 D: 20141026 D1: 20141026 Anzahl: 6 VWAPSD: 0.630 CSss: 1 DTm: 2014.10.27 00:00:00 D: 20141027 D1: 20141026 Anzahl: 1 VWAPSD: 0.000 CSss: 1 DTm: 2014.10.27 00:30:00 D: 20141027 D1: 20141027 Anzahl: 2 VWAPSD: 0,156 CSss: 1 DTm: 2014.10.27 01:00:00 D: 20141027 D1: 20141027 Anzahl: 3 VWAPSD: 0,120 CSss: 1.TSMC: VWAP mit Standardabweichungsindikator. TSMC: VWAP mit Standardabweichung. VWAP SD-Indikatorprobleme habe ich eine Variante dieses Indikators gemacht. Sie berechnen die Werte ab Tag des Beginns und zeigt nur VWAP-Standardabweichung an. Während der Entwicklung habe ich einige Probleme gefunden: 1) Indikator startet nicht nur einmal, sondern mehrmals. Je weniger Zeitplan ist, desto mehr wird gestartet 2) Indikator zeigt Werte vom zweiten Tag (von der Geschichte) (seine OK) aber nicht von 00:00 aber später füge ich ELD-Dateien und einen Teil des Protokolls für 30 Minuten Diagramm an. Kann mir jemand helfen Dank im Voraus. Wenn IsStart True dann Begin IsStart False Wenn ShowInfo True Dann Print (quotIsStartquot) End if CurrentSession (1) ltgt CurrentSession (1) 1 Dann wenn Datum gt Datum 1 Dann beginnen SumBPPV 0 SumBV 0 Count 0 End BarPrice AvgPrice BarVolume UpTicks DownTicks BPBV BarPrice BarVolume SumBPPV SumBPPV BPBV SumBV SumBV BarVolume Anzahl Anzahl 1 Wenn SumBV gt 0 Dann beginnen VWAPrice SumBPPV SumBV Ende Für Index 0 Zu zählen - 1 Begin BarPrice AvgPrice Index BarVolume UpTicks Index DownTicks Index SumVRNC SumVRNC (BarVolume SumBV) Quadrat (BarPrice - VWAPrice) Ende VWAPSD Squareroot (SumvRNC) Plot1 (VWAPSD, quotVWAPStDevDquot) Wenn ShowInfo True Dann Begin OInfo quotquot OInfo OInfo quotDTm: "AAgetSDateTime (Bardatetime 0.ELDateTimeEx)" OInfo OInfo quotD: NumToStr (Datum 19000000, 0) "OInfo OInfo quotD1: NumToStr (Datum 1 19000000, 0) "OInfo OInfo quotCount: NumToStr (Count, 0)" OInfo OInfo quotBPrice: NumToStr (BarPrice, 3) "OInfo OInfo quotVWAPSD: NumToStr (VWAPSD, 3)" OInfo OInfo " (NumericSimple) Vars: YearsN (0), MonthsN (0), DaysN (0), HoursN (0), MinutesN (0), Niedrigstes (0), Min ), String-Stunden (Quittung), String-Stunden (Quittung), String-Stunden (Quittung), String-Stunden (Quittung), String-Stunden (Quittung) DatumTime) DaysN Dayfromdatetime (DateTime) StundenN Hoursfromdatetime (DateTime) MinutesN Minutesfromdatetime (DateTime) SecondsN Secondsfromdatetime (DateTime) Jahre NumToStr (JahreN, 0) Monate NumToStr (MonatN, 0) DaysS NumToStr (DaysN, 0) Stunden NumToStr (StundenN, 0) MinutesS NumToStr (MinutesN, 0) SecondsS NumToStr (SecondsN, 0) Wenn MonthsN lt 9 Then MonthsS quot0quot MonthsS Wenn DaysN lt 9 Dann DaysS quot0quot DaysS If HoursN lt 9 Then HoursS quot0quot HoursS Wenn MinutesN lt 9 Then MinutesS quot0quot MinutesS If SecondsN lt 9 Dann SecondsS quot0quot SecondsS AAgetSDateTime YearsS quot. quot MonthsS quot. quot DaysS quotes HoursS quot: quot MinutesS quot: SecondsS IsStart DTm: 2014.10.26 18:00:00 D: 20141026 D1: 20141026 Anzahl: 1 VWAPSD: 0.000 CSss: 1 DTm: 2014.10.26 18:30:00 D: 20141026 D1: 20141026 Anzahl: 2 VWAPSD: 0,345 CSss: 1 DTm: 2014.10.26 19:00:00 D: 20141026 D1: 20141026 Anzahl: 3 VWAPSD: 0.604 CSss: 1 IsStart DTm: 2014.10.26 19:00:00 D: 20141026 D1: 20141026 Anzahl: 1 VWAPSD: 0.000 CSss: 1 DTm: 2014.10.26 19:30:00 D: 20141026 D1: 20141026 Anzahl: 2 VWAPSD: 0,093 CSss : 1 DTm: 2014.10.26 20:00:00 D: 20141026 D1: 20141026 Anzahl: 3 VWAPSD: 0,319 CSss: 1 DTm: 2014.10.26 20:30:00 D: 20141026 D1: 20141026 Anzahl: 4 VWAPSD: 0,736 CSss : 1 DTm: 2014.10.26 21:00:00 D: 20141026 D1: 20141026 Anzahl: 5 VWAPSD: 1.211 CSss: 1 IsStart DTm: 2014.10.26 20:00:00 D: 20141026 D1: 20141026 Anzahl: 1 VWAPSD: 0.000 CSss: 1 DTm: 2014.10.26 20:30:00 D: 20141026 D1: 20141026 Anzahl: 2 VWAPSD: 0.448 CSss: 1 DTm: 2014.10.26 21:00:00 D: 20141026 D1: 20141026 Anzahl: 3 VWAPSD: 0.794 CSss: 1 DTm: 2014.10.26 21:30:00 D: 20141026 D1: 20141026 Anzahl: 4 VWAPSD: 0.847 CSss: 1 DTm: 2014.10.26 22:00:00 D: 20141026 D1: 20141026 Anzahl: 5 VWAPSD: 0,946 CSss: 1 DTm: 2014.10.26 22:30:00 D: 20141026 D1: 20141026 Anzahl: 6 VWAPSD: 0,961 CSss: 1 DTm: 2014.10.26 23:00:00 D: 20141026 D1: 20141026 Anzahl: 7 VWAPSD: 0.712 CSss: 1 IsStart DTm: 2014.10.26 21:00:00 D: 20141026 D1: 20141026 Anzahl: 1 VWAPSD: 0.000 CSss: 1 DTm: 2014.10.26 21:30:00 D: 20141026 D1: 20141026 Anzahl: 2 VWAPSD: 0,203 CSss: 1 DTm: 2014.10.26 22:00:00 D: 20141026 D1: 20141026 Anzahl: 3 VWAPSD: 0,388 CSss: 1 DTm: 2014.10.26 22:30:00 D: 20141026 D1: 20141026 Anzahl: 4 VWAPSD: 0.412 CSss: 1 DTm: 2014.10.26 23:00:00 D: 20141026 D1: 20141026 Anzahl: 5 VWAPSD: 0.392 CSss: 1 DTm: 2014.10.26 23:30:00 D: 20141026 D1: 20141026 Anzahl: 6 VWAPSD: 0.630 CSss: 1 DTm: 2014.10.27 00:00:00 D: 20141027 D1: 20141026 Anzahl: 1 VWAPSD: 0.000 CSss: 1 DTm: 2014.10.27 00:30:00 D: 20141027 D1: 20141027 Anzahl: 2 VWAPSD: 0,156 CSss: 1 DTm: 2014.10.27 01:00:00 D: 20141027 D1: 20141027 Anzahl: 3 VWAPSD: 0,120 CSss: 1.

No comments:

Post a Comment