Breakout Range Long Strategy

3655 2
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)

BTC: 3FKWwtaYrf5NHZzaCi1fyAfQj7XSgtyCqe
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 Shows How It Works Chart Features Pricing House Rules Moderators Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Help Center Refer a friend Feature Request Blog & News Twitter
Profile Profile Settings Account and Billing Refer a friend My Support Tickets Help Center Ideas Published Followers Following Private Messages Chat Sign Out