Trendline Breakout Daily Stats

346
Trendline Breakout Daily Stats draws descending trendlines automatically, marks the first candle that closes above a line, simulates a trade for each breakout, and shows the results in a statistics panel. It was built for the daily timeframe.

Rules (all thresholds are inputs):
- Pivot high: the highest high with 5 candles on each side.
- Trendline: drawn through two consecutive pivot highs where the second is lower than the first; no high between them may exceed the line by more than 0.1%.
- Breakout: the first close above the line, at least 5 candles after the second pivot and within 100 candles of it.

Trade simulation:
- Entry at the next candle open, stop loss at the lowest low since the second pivot, exit at the close of the 20th candle (input) or at the stop. Stop is checked first within a candle.
- Fees of 0.1% per side are deducted in R.
- The panel shows trades, win rate, total R after fees, profit factor and average R per trade for the selected date range.

Notes: a line becomes available only after its second pivot is confirmed (5 candles later), and breakouts are evaluated on closed candles, so signals do not repaint. Historical statistics only; not a trading recommendation.

Thông báo miễn trừ trách nhiệm

Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.