itvn9online

Support/ Resistance with H1 ATR - strategy mainline version

itvn9online Updated   
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 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.
Release Notes:
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: add text: (Once Per Bar Close)
Release Notes:
Add new option for strategy:
- Trailing stop
Release Notes:
Add title for plotarrow
Release Notes:
Add new option for LONG/ SHORT
Release Notes:
Support check realtime for open Bar
Release Notes:
Add option for set backtest time
Release Notes:
New option: Start year, start month and month range. If you want run backtest in range specifically time
Release Notes:
- Update select time range
- Update PNL line
Release Notes:
- Update new code for else if
- Auto recalculate offset for other timeframe to H1 timeframe
- Fixed re-alert in close poisition
Release Notes:
Update new code for H1 timeframe, not using function security
Release Notes:
Update warning by new pine code

Protected script
This script is published closed-source but you may use it freely. You can favorite it to use it on a chart. You cannot view or modify its source code.
Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?