Fibonacci + TP/SL Strategy [Backtest] by Reanimate_
By Reanimate_
Performance Metrics
- Author: Reanimate_
- Symbol: AMEX:JEPI
- Timeframe: 1 day
- Net P&L: −134,070.76 USD (−13.63%)
- Win Rate: 18.5%
- Profit Factor: 0.746
- Max Drawdown: 268,970.53 USD (24.17%)
- Total Trades: 65
- Sharpe Ratio: −0.23
Description
✅ Key Features Added and Adjusted:Fibonacci Retracement Levels:Automatically calculated based on the last 100 bars' high/lowPlotted levels: 0%, 23.6%, 38.2%, 50%, 61.8%, 78.6%, 100%Extension targets: 161.8%, 261.8%, 423.6%Buy/Sell Signal Logic:Buy: Price is between 78.6% and 38.2% levelsSell: Price is between 61.8% and 23.6% levelsBoth depend on a can_trade time filter to avoid overtradingATR-based Stop-Loss:Stop-loss dynamically adapts to market volatility:SL = Entry - ATR * 1.5 (long)SL = Entry + ATR * 1.5 (short)Fixed Take-Profit:Configurable via input: default is 4%Can be changed in TradingView UIGolden/Death Cross Indicator (Visual Only):EMA 50 crossing EMA 200 plotted on chart:Golden Cross = Buy signal (green triangle)Death Cross = Sell signal (red triangle)Weekly Profit Cap:Prevents new trades if weekly profit exceeds 15%Resets at the start of every weekVisual Elements:All Fibonacci levels are plottedBuy/Sell signals are labeled on the chart (BUY, SELL)