This script using ATR (average true range) with source hl2 for create Support/ Resistance line
The color meaning:
- Green = Support line
- Red = Resistance line
Signal:
- If close price breakout Resistance line -> LONG signal will been active.
- If close price breakout Support line -> SHORT signal will been active.
Input setting:
Recommended default setting.
- Factor: amplitude for create Support/ Resistance line.
- Length: length of ATR.
- Offset: number of bar for check sideway or choppy market.
- Take profit: if you want test close position by profit.
- Stop loss: should not be missed.
- Open Position with Stop-Market type:
+ Open LONG position with high price and type Stop-Market.
+ Open SHORT position with low price and type Stop-Market.
Strategy setting:
Recommended default setting if you trade on Binance Futures or change Comission if you trade on another exchange.
Best backtest if:
- Max drawdown less than 10%.
- Min backtest time: 6 month.
- Avg profit: 10%/ month when no leverage is used.
Alert version:
1 - Select create new alert
2 - Condition:
+ eb BUY -> LONG signal
+ eb BUY close -> close LONG position
+ eb SELL -> SHORT signal
+ eb SELL close -> close SHORT position
3 - Option: recommended using [Once Per Bar Close] only. Because the signal will be more accurate if the price close breakout successfully.
+ Always put stop loss position to avoid PUMP/ DUMP market.
// Note: alert version not free, send for me a private message on TradingView to get price and gain access.
Recommended:
- Using in M30, M45, H1 timeframe with default setting.
- Symbol: BTC
- Exchange: Binance Futures
- Order size: 10% wallet balance, maximum 25% wallet balance.
- Leverage: X2-X5, maximum X10.
---> I using 10% wallet balance and X2 only.