Support and Resistance Breakout

Enters a long position when the price breaks out of a resistance HLine. Enters a short position when the price breaks out of a support HLine.

Symbols: USDCHF H1
Created 29 Dec 24
Header

General USDCHF H1

Support and Resistance Breakout

Enters a long position when the price breaks out of a resistance HLine. Enters a short position when the price breaks out of a support HLine.

NTL-Support-and-Resistance-Breakout.set

USDCHF,H1
Scripts
Open() < HLines1() && Close() > HLines1() && BarSize(0,1) >= ATR1() ? Ask() : 0

Open() > HLines1() && Close() < HLines1() & BarSize(0, 1) >= ATR1() ? Bid() : 0
Exit Management
1.00

false
Custom Indicators
+NTL\ATR(1,14).ex5

+NTL\HLines(1,'',800,64,'S2;R2',2,0.3,0.5,100).ex5,0,1
Backtesting & Optimisation
10000

500

11