Type : Signal, Name : Delayed Channel Breakout
Input:
Len(13),
X_Bar(6);
vars:
HighBO(false),
LowBO(false),
x(0),
HighBOPrice(0),
LowBOPrice(0);
HighBOPrice = Highest(high,Len)[1];
LowBOPrice = Lowest(low,Len)[1];
HighBO = high > HighBOPrice;
LowBO = low < LowBOPrice;
if HighBO[X_Bar] then Buy at HighBOPrice[X_Bar] + 1 point stop;
if LowBO[X_Bar] then Sell at LowBOPrice[X_Bar] — 1 point stop;