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%.
Script sob convite
Somente usuários aprovados pelo autor podem acessar este script. Você precisará solicitar e obter permissão para usá-lo. Normalmente, essa permissão é concedida após o pagamento. Para obter mais detalhes, siga as instruções do autor abaixo ou entre em contato diretamente com pioko62349.
O TradingView NÃO recomenda pagar ou usar um script ao não ser que você confie totalmente no seu autor e compreende como isso funciona. Você pode também encontrar alternativas gratuitas e de código aberto em nossa comunidade de scripts.
Instruções do autor
Aviso: leia nosso guia para scritps somente sob convite antes de solicitar acesso.
Aviso legal
Script sob convite
Somente usuários aprovados pelo autor podem acessar este script. Você precisará solicitar e obter permissão para usá-lo. Normalmente, essa permissão é concedida após o pagamento. Para obter mais detalhes, siga as instruções do autor abaixo ou entre em contato diretamente com pioko62349.
O TradingView NÃO recomenda pagar ou usar um script ao não ser que você confie totalmente no seu autor e compreende como isso funciona. Você pode também encontrar alternativas gratuitas e de código aberto em nossa comunidade de scripts.
Instruções do autor
Aviso: leia nosso guia para scritps somente sob convite antes de solicitar acesso.