HPotter

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)
HPotter PRO
2 years ago
Hm... Arrow on the published chart draws is wrong. On the real time it will be right.
Reply
accidentje
2 years ago
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
Reply
Ideas Scripts Chart
United States
United Kingdom
India
España
Italia
Brasil
Россия
Türkiye
日本
한국
Home Stock Screener Economic Calendar How It Works Chart Features House Rules Moderators For the WEB Widgets Stock Charting Library Priority Support Feature Request Blog & News FAQ Help & Wiki Twitter
Private Messages Chat Ideas Published Followers Following Priority Support Public Profile Profile Settings Billing Sign Out