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%.
สคริปต์เฉพาะผู้ได้รับเชิญเท่านั้น
เฉพาะผู้ใช้ที่ได้รับการอนุมัติจากผู้เขียนเท่านั้นที่สามารถเข้าถึงสคริปต์นี้ได้ คุณจะต้องร้องขอและได้รับอนุญาตก่อนจึงจะสามารถใช้งานได้ โดยปกติจะได้รับอนุญาตหลังจากชำระเงินแล้ว สำหรับรายละเอียดเพิ่มเติม ทำตามคำแนะนำของผู้เขียนด้านล่างหรือติดต่อ pioko62349 โดยตรง
TradingView ไม่แนะนำให้ชำระเงินหรือใช้สคริปต์ เว้นแต่ว่าคุณจะเชื่อถือผู้เขียนสคริปต์และเข้าใจวิธีการทำงานของมัน คุณยังอาจพบทางเลือกของโอเพนซอร์ส แบบฟรีในสคริปต์ชุมชนของเรา
คำแนะนำของผู้เขียน
คำเตือน: โปรดอ่านคำแนะนำของเราสำหรับสคริปต์เฉพาะที่ได้รับเชิญเท่านั้น ก่อนที่จะขอสิทธิ์เข้าถึง
คำจำกัดสิทธิ์ความรับผิดชอบ
สคริปต์เฉพาะผู้ได้รับเชิญเท่านั้น
เฉพาะผู้ใช้ที่ได้รับการอนุมัติจากผู้เขียนเท่านั้นที่สามารถเข้าถึงสคริปต์นี้ได้ คุณจะต้องร้องขอและได้รับอนุญาตก่อนจึงจะสามารถใช้งานได้ โดยปกติจะได้รับอนุญาตหลังจากชำระเงินแล้ว สำหรับรายละเอียดเพิ่มเติม ทำตามคำแนะนำของผู้เขียนด้านล่างหรือติดต่อ pioko62349 โดยตรง
TradingView ไม่แนะนำให้ชำระเงินหรือใช้สคริปต์ เว้นแต่ว่าคุณจะเชื่อถือผู้เขียนสคริปต์และเข้าใจวิธีการทำงานของมัน คุณยังอาจพบทางเลือกของโอเพนซอร์ส แบบฟรีในสคริปต์ชุมชนของเรา
คำแนะนำของผู้เขียน
คำเตือน: โปรดอ่านคำแนะนำของเราสำหรับสคริปต์เฉพาะที่ได้รับเชิญเท่านั้น ก่อนที่จะขอสิทธิ์เข้าถึง