Breakout Range Long Strategy

Breakout Range Long Strategy
Remove from Favorite Scripts Add to Favorite Scripts
//  Copyright by HPotter v1.0 09/09/2014
// Breakout Range Long Strategy
study(title="Breakout Range Long Strategy", overlay = true)
look_bak = input(4, minval=1, title="Look Bak")
xHighest = highest(high, look_bak)
pos =	iff(high > xHighest[1], 1, 0) 
barcolor(pos == 1 ? green: blue )
plotshape(pos, style=shape.triangleup, location = location.belowbar, color = green)


Thanks HPotter. Reminds me a bit of TD setups. Ever tried to implement these: http://www.healthywealthywiseproject.com/investment-gurus/tom-demark/demarktradingrulesfortdsetuptdsequential ?

Kind regards
Hm... Arrow on the published chart draws is wrong. On the real time it will be right.
Home Stock Screener Forex Screener Crypto Screener Economic Calendar How It Works Chart Features Pricing Refer a friend House Rules Help Center Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Blog & News Twitter
Profile Profile Settings Account and Billing Referred friends Coins My Support Tickets Help Center Ideas Published Followers Following Private Messages Chat Sign Out