CryptoThunder Odin v1.9

Main elements of the strategy:
Pivots (highs/lows)
Strategy use ta.pivothigh and ta.pivotlow with a specified depth. The pivot is confirmed only after depth candles to the right and left → no repaint after confirmation.
This is a typical element of swing/price action strategies, where a signal is generated when a significant high/low is broken.
Movement Strength Filter – Deviation
Strategy measure the percentage difference (dev_calc) between the last pivot and the new one. You compare it with a threshold based on the ATR (dev_threhold).
This ensures that signals only appear when the movement is significant (a stronger breakout, not every micro-pivot).
Entry/Exit Logic
After a pivot high: a short is opened by default, but you can reverse this (invertLogic). After a pivot low: a long is opened by default. You can disable only longs or only shorts (allowLong, allowShort).
Position Management
Take Profit (TP) and Stop Loss (SL) as a percentage of the entry price. Automatic closing and sending of a CLOSE alert.
Visualization and Alerts
Draws lines between pivots.
Sends JSON UP, DOWN, and CLOSE alerts at format like: XXXUSDT.P UP, XXXUSDT.P DOWN, XXXUSDT.P CLOSE,
Additionally, it marks them on the chart (plotshape).
The strategy has been tested for many months on various crypto altcoin pairs. It should not be used on the largest ones, such as BTC, ETH, XRP, etc. It works well on currency pairs with medium trading volume. The best results are achieved on M1, M5, and M15.
Test the settings on multiple currency pairs and perform backtests. By default, the strategy has default settings that allow for good results in most cases, but some currency pairs require adjustments to achieve good results – such as enabling only long or short trades. In extreme cases, some currency pairs require reversing the logic.
For futures trading, I recommend setting the SL at 10%-25% and the TP at 1%-2%.
Skrypt tylko na zaproszenie
Tylko użytkownicy zatwierdzeni przez autora mogą uzyskać dostęp do tego skryptu. Musisz złożyć prośbę i uzyskać zgodę na jego użycie. Zazwyczaj jest ona udzielana po dokonaniu płatności. Aby uzyskać więcej informacji, postępuj zgodnie z instrukcjami autora poniżej lub skontaktuj się bezpośrednio z pioko62349.
TradingView NIE zaleca płacenia za skrypt ani jego używania, jeśli nie masz pełnego zaufania do jego autora i nie rozumiesz, jak działa. Możesz także znaleźć darmowe, open-source'owe alternatywy w naszej sekcji skryptów społecznościowych.
Instrukcje autora
Ostrzeżenie: przed złożeniem prośby o dostęp przeczytaj nasz przewodnik dotyczący skryptów dostępnych tylko na zaproszenie.
Wyłączenie odpowiedzialności
Skrypt tylko na zaproszenie
Tylko użytkownicy zatwierdzeni przez autora mogą uzyskać dostęp do tego skryptu. Musisz złożyć prośbę i uzyskać zgodę na jego użycie. Zazwyczaj jest ona udzielana po dokonaniu płatności. Aby uzyskać więcej informacji, postępuj zgodnie z instrukcjami autora poniżej lub skontaktuj się bezpośrednio z pioko62349.
TradingView NIE zaleca płacenia za skrypt ani jego używania, jeśli nie masz pełnego zaufania do jego autora i nie rozumiesz, jak działa. Możesz także znaleźć darmowe, open-source'owe alternatywy w naszej sekcji skryptów społecznościowych.
Instrukcje autora
Ostrzeżenie: przed złożeniem prośby o dostęp przeczytaj nasz przewodnik dotyczący skryptów dostępnych tylko na zaproszenie.