Simple Breakout

Enters a long position when reaching a highest high of VAR0. Enters a short position when reaching a lowest low of VAR0. Stop loss is ATR * VAR1. Works best with USDJPY M30.

Symbols: USDJPY M30 USDJPY H1
Created 29 Dec 24
Header

General USDJPY M30 USDJPY H1

Simple Breakout

Enters a long position when reaching a highest high of VAR0. Enters a short position when reaching a lowest low of VAR0. Stop loss is ATR * VAR1. Works best with USDJPY M30.

NTL-Simple-Breakout.set

USDJPY M30, USDJPY H1
Scripts
High() == HH(VAR0,1) ? Ask() : 0
Enters a long position at the current ask price if the last complete candle is the highest high of VAR0. Uses the HH intelligent search.

Ask() - (ATR1() * VAR1)
The initial stop is calculated as the ask price minus the current ATR value multiplied by VAR1.

Low() == LL(VAR0,1) ? Bid() : 0

Bid() + (ATR1() * VAR1)
Stop Management
6.00
Exit Management
1.00

false
Custom Indicators
+NTL\ATR(1,14).ex5
User Variables
100;50,75,100,125,150,175,200,225,250

6;3,4,5,6,7,8,9,10
Backtesting & Optimisation
10000

0