Trade aus der Vergangenheit auswerten
Forums › ProRealTime Deutsch forum › Plattform-Support ProRealTime › Trade aus der Vergangenheit auswerten
- This topic has 9 replies, 3 voices, and was last updated 3 weeks ago by robertogozzi.
-
-
09/07/2024 at 12:23 PM #237280
Hallo,
ich möchte trade die ich früher in Prorealtime gemacht habe auswerten.
Leider ist im Chart nur der grüne pfeil und das Viereck für den Einst ieg und den Ausstieg zu sehen.
Kann ich noch rausfinden wo der Initialstop Stopp loss gelegen hat. Kann ich die Stopp level noch irgend wo sehen oder finden?
danke euch
09/07/2024 at 12:45 PM #237284Sie können den Stop-Loss und den Take-Profit auf dem Diagramm mit ROTEN und BLAUEN Linien sehen.
12345678910111213141516MyLongConditions = Not OnMarket AND Close CROSSES OVER Average[20,0](close)MyShortConditions = Not OnMarket AND Close CROSSES UNDER Average[20,0](close)IF MyLongConditions THENBUY 1 CONTRACT AT MARKETStopLoss = lowest[3](low)TargetPrice = close + (close - StopLoss)ELSIF MyShortConditions THENSELLSHORT 1 CONTRACT AT MARKETStopLoss = highest[3](high)TargetPrice = close - (StopLoss - close)ENDIFSET STOP PRICE StopLossSET TARGET PRICE TargetPrice//graphonprice TargetPrice AS "TP" coloured("Blue")graphonprice StopLoss AS "SL" coloured("Red")09/07/2024 at 1:05 PM #23728509/07/2024 at 1:28 PM #23728709/09/2024 at 10:15 AM #23734809/09/2024 at 10:55 AM #23735209/09/2024 at 5:06 PM #237416Los geht’s:
1234567891011121314151617181920212223242526MyLongConditions = Not OnMarket AND Close CROSSES OVER Average[20,0](close)MyShortConditions = Not OnMarket AND Close CROSSES UNDER Average[20,0](close)IF MyLongConditions THENBUY 1 CONTRACT AT MARKETStopLoss = lowest[3](low)CRV11 = close + (close - StopLoss)TargetPrice = close + 2*(close - StopLoss)SET STOP PRICE StopLossSET TARGET PRICE TargetPriceELSIF MyShortConditions THENSELLSHORT 1 CONTRACT AT MARKETStopLoss = highest[3](high)CRV11 = close - (StopLoss - close)TargetPrice = close - 2*(StopLoss - close)SET STOP PRICE StopLossSET TARGET PRICE TargetPriceENDIF//IF (LongOnMarket AND (close >= CRV11)) OR (ShortOnMarket AND (close <= CRV11)) THENStopLoss = TradePriceSET STOP PRICE StopLossENDIF//graphonprice TargetPrice AS "TP" coloured("Blue")graphonprice CRV11 AS "Crv 1:1" coloured("Cyan")graphonprice StopLoss AS "SL" coloured("Red")1 user thanked author for this post.
09/09/2024 at 7:13 PM #23742509/14/2024 at 6:51 AM #237553Ich würde den Code noch um eine Stop Regel erweitern.
Ich möchte das der Stop Loss in die Mitte zwischen Tradeprice und StopLoss gezogen wird, wenn der Kurs 70 % im Gewinn ist.
Ist dieser Code hier dafür richtig?
if longonmarket AND (close) >= (Tradeprice-StopLoss)* 1.7 Then
stopLoss = (TRADEPRICE-StopLoss)/2
SET STOP PRICE StopLoss
endif09/17/2024 at 4:46 AM #237667Probieren Sie diese Version aus:
12345678910111213141516171819202122232425262728293031323334353637383940414243MyLongConditions = Not OnMarket AND Close CROSSES OVER Average[20,0](close)MyShortConditions = Not OnMarket AND Close CROSSES UNDER Average[20,0](close)IF MyLongConditions THENBUY 1 CONTRACT AT MARKETStopLoss = lowest[3](low)CRV11 = close + (close - StopLoss)TargetPrice = close + 2*(close - StopLoss)MyGain = abs(TargetPrice - close)SET STOP PRICE StopLossSET TARGET PRICE TargetPriceELSIF MyShortConditions THENSELLSHORT 1 CONTRACT AT MARKETStopLoss = highest[3](high)CRV11 = close - (StopLoss - close)TargetPrice = close - 2*(StopLoss - close)MyGain = abs(TargetPrice - close)SET STOP PRICE StopLossSET TARGET PRICE TargetPriceENDIF//IF OnMarket THENtempGain = PositionPrice * POSITIONPERF * PipValue * abs(CountOfPosition)ENDIF//IF (LongOnMarket AND (close >= CRV11)) OR (ShortOnMarket AND (close <= CRV11)) THENStopLoss = TradePriceSET STOP PRICE StopLossENDIFIF OnMarket THENIF tempGain >= (MyGain * 0.70) AND OnMarket THENIF LongOnMarket THENStopLoss = max(StopLoss,(close + StopLoss) / 2)ELSIF ShortOnMarket THENStopLoss = min(StopLoss,(close + StopLoss) / 2)ENDIFSET STOP PRICE StopLossENDIFENDIF//graphonprice TargetPrice AS "TP" coloured("Blue")graphonprice CRV11 AS "Crv 1:1" coloured("Cyan")graphonprice StopLoss AS "SL" coloured("Red")graph PositionPerf -
AuthorPosts
Find exclusive trading pro-tools on