Support and Resistance Bounce

Enters a long position when price bounces off support (candle must close above support line) and enters a short position when price bounces off resistance (candle must close below resistance line). Uses optimizable ATR-based stop loss and fixed point take profit targets.

Symbols: MAJOR MINOR
Created 02 Jan 25
Modified 02 Jan 25 13:38
Header

General MAJOR MINOR

Support and Resistance Bounce

Enters a long position when price bounces off support (candle must close above support line) and enters a short position when price bounces off resistance (candle must close below resistance line). Uses optimizable ATR-based stop loss and fixed point take profit targets.

Sam Northen

bounce-strategy.set

MAJOR, MINOR
Scripts
Signal('HLines1') == Bullish && Close(1) > HLines1(1) && Open(1) > HLines1(1) && Low(1) <= HLines1(1) ? Ask() : 0

Low(1) - (ATR1(1) * VAR0)

OrderPrice() + (VAR1 * Point)

Signal('HLines1') == Bearish && Close(1) < HLines1(1) && Open(1) < HLines1(1) && High(1) >= HLines1(1) ? Bid() : 0

High(1) + (ATR1(1) * VAR0)

OrderPrice() - (VAR1 * Point)
Exit Management
4.00

0
ATR

false
Custom Indicators
+NTL\HLines(1,'',800,64,'S2;R2',0,0,0.5,100).ex5,0,1

+NTL\ATR(1,14).ex5,0
User Variables
3;1,2,3,4,5,6,7,8,9,10

500;100,200,300,400,500,600,700,800,900,1000,1100,1200,1300,1400,1500
Backtesting & Optimisation
100000.00

500

104

15
PerformanceMetric_Drawdown