Das neue DAX Prognose Forum WKN: 846900 ISIN: DE0008469008 Forum: Indizes User: Jens2020
Diese Werbung richtet sich nur an Personen mit Wohn-/Geschäftssitz in Deutschland. Der jeweilige Basisprospekt, etwaige Nachträge, die Endgültigen Bedingungen sowie das maßgebliche Basisinformationsblatt sind auf www.dzbank-wertpapiere.de veröffentlicht. Beachten Sie auch die weiteren Hinweise zu dieser Werbung.
//@version=5 strategy("EMA Ribbon with Trailing Stop & Trend Confirmation", overlay=true) // Eingabewerte für die Perioden der EMAs length1 = input.int(20, title="EMA-1 Period", minval=1) length2 = input.int(25, title="EMA-2 Period", minval=1) length3 = input.int(30, title="EMA-3 Period", minval=1) length4 = input.int(35, title="EMA-4 Period", minval=1) length5 = input.int(40, title="EMA-5 Period", minval=1) length6 = input.int(45, title="EMA-6 Period", minval=1) length7 = input.int(50, title="EMA-7 Period", minval=1) length8 = input.int(55, title="EMA-8 Period", minval=1) // Eingabequelle und Periodenfilter src = input.source(close, title="Source") dropCandles = input.int(1, minval=0, title="Drop First N Candles") // Preisberechnung mit Filter price = na(src[dropCandles]) ? na : src // Berechnung der EMAs ema1 = ta.ema(price, length1) ema2 = ta.ema(price, length2) ema3 = ta.ema(price, length3) ema4 = ta.ema(price, length4) ema5 = ta.ema(price, length5) ema6 = ta.ema(price, length6) ema7 = ta.ema(price, length7) ema8 = ta.ema(price, length8) // EMAs plotten plot(ema1, title="EMA-1", color=color.yellow, linewidth=2) plot(ema2, title="EMA-2", color=color.orange, linewidth=2) plot(ema3, title="EMA-3", color=color.red, linewidth=2) plot(ema4, title="EMA-4", color=color.green, linewidth=2) plot(ema5, title="EMA-5", color=color.purple, linewidth=2) plot(ema6, title="EMA-6", color=color.blue, linewidth=2) plot(ema7, title="EMA-7", color=color.gray, linewidth=2) plot(ema8, title="EMA-8", color=color.black, linewidth=2) // Handelslogik: Long und Short longCondition = ta.crossover(ema1, ema8) and ta.rsi(close, 14) > 50 // EMA crossover + RSI > 50 (Bestätigung) shortCondition = ta.crossunder(ema1, ema8) and ta.rsi(close, 14) < 50 // EMA crossunder + RSI < 50 (Bestätigung) // Stop-Loss und Take-Profit basierend auf ATR atrLength = input.int(14, title="ATR Period", minval=1) atrValue = ta.atr(atrLength) // Risiko-Management: Stop-Loss und Take-Profit riskAmount = input.float(1.0, title="Risk Amount (%)", minval=0.1, maxval=100) crv = input.float(3.0, title="CRV (Chance-Risiko-Verhältnis)", minval=1) // Berechnung des Stop-Loss und Take-Profit capital = strategy.equity risk = (capital * (riskAmount / 100)) stopLossPoints = atrValue * 1.5 // Stop-Loss in Punkten, basierend auf ATR takeProfitPoints = stopLossPoints * crv // Take-Profit auf Basis des CRV // Trailing Stop: Wenn der Preis sich in die richtige Richtung bewegt trailOffset = atrValue * 1.5 // Trailing Stop-Offset auf Basis von ATR trailPrice = close - trailOffset // Long-Position eröffnen und mit Stop-Loss und Take-Profit ausstatten if (longCondition) strategy.entry("Long", strategy.long) strategy.exit("Take Profit/Stop Loss", from_entry="Long", stop=close - stopLossPoints, limit=close + takeProfitPoints, trail_offset=trailOffset, trail_price=trailPrice) // Short-Position eröffnen und mit Stop-Loss und Take-Profit ausstatten if (shortCondition) strategy.entry("Short", strategy.short) strategy.exit("Take Profit/Stop Loss", from_entry="Short", stop=close + stopLossPoints, limit=close - takeProfitPoints, trail_offset=trailOffset, trail_price=trailPrice) // Plotten der Handels-Signale plotshape(longCondition, title="Long Signal", location=location.belowbar, color=color.green, style=shape.labelup, text="Long") plotshape(shortCondition, title="Short Signal", location=location.abovebar, color=color.red, style=shape.labeldown, text="Short")
Ich Nutze ebenfalls Trading View. Ich habe mir da in Pine Skript eine Strategie Programmiert die Mir einstieg und Ausstieg vorgibt sowohl Long als auch Short. ich finde das sollte sich jeder mal Anschauen. man kann für 30 Tage das Kostenlos Nutzen bevor das Abbo dann Kostenpflichtig wird.
Mehr zu diesem Wert
|
|
Thema | ||
|---|---|---|---|
| 1 | Trading- und Aktien-Chat | ||
| 2 | Circus SE Inhaber-Akt Hauptdiskussion | -6,68 % | |
| 3 | BTC/USD Hauptdiskussion | +0,09 % | |
| 4 | Linien und Wellen Austausch Forum | -0,31 % | |
| 5 | für alle, die es ehrlich meinen beim Traden. | ||
| 6 | Freunde der Telekom | -1,26 % | |
| 7 | XRP zu USD Hauptdiskussion | -0,10 % | |
| 8 | AMD Hauptdiskussion | +2,95 % | |
| 9 | Security der nächsten Generation | -5,78 % | |
| 10 | DeFi Technologies: Eine Perle? | +4,09 % | Alle Diskussionen |
|
|
Thema | ||
|---|---|---|---|
| 1 | Circus SE Inhaber-Akt Hauptdiskussion | -6,68 % | |
| 2 | Linien und Wellen Austausch Forum | -0,31 % | |
| 3 | Freunde der Telekom | -1,26 % | |
| 4 | AMD Hauptdiskussion | +2,95 % | |
| 5 | Ecograf - ein Stern am Graphithimmel | -1,46 % | |
| 6 | VIKING THERAPEUT.DL -,005 Hauptdiskussion | -1,87 % | |
| 7 | DeFi Technologies: Eine Perle? | +4,09 % | |
| 8 | VW Hauptdiskussion | -5,06 % | |
| 9 | DPCM Capital Hauptdiskussion | -4,77 % | |
| 10 | Security der nächsten Generation | -5,78 % | Alle Diskussionen |