219 0 28
DeMark Indicator, good for 1H and 4H charts, especially currencies
Green for buy, Red for sell
Remove from Favorite Scripts Add to Favorite Scripts
study(title="JV", shorttitle="DeMark", overlay=false)
buy91 = close < close[4] ? 1:0
buy92 = buy91 ==1 and buy91[1]==1 and buy91[2]==1 and buy91[3]==1 and buy91[4]==1 and buy91[5]==1 and buy91[6]==1 and buy91[7]==1 and buy91[8]==1 ? 1:0
buy9p1 = buy92 == 1 and (low[1] < low[2] or low[1] < low[3]) ? 1:0
buy9p2 = buy92 == 1 and (low < low[2] or low < low[3]) ? 1:buy9p1
plot(buy9p2, style=histogram, linewidth = 4, color=green)

sell91 = close > close[4] ? 1:0
sell92 = sell91 ==1 and sell91[1]==1 and sell91[2]==1 and sell91[3]==1 and sell91[4]==1 and sell91[5]==1 and sell91[6]==1 and sell91[7]==1 and sell91[8]==1 ? 1:0
sell9p1 = sell92 == 1 and (high[1] > high[2] or high[1] > high[3]) ? 1:0
sell9p2 = sell92 == 1 and (high > high[2] or high > high[3]) ? 1:sell9p1
plot(sell9p2, style=histogram, linewidth = 4, color=red)
Ideas Scripts Chart
United States
United Kingdom
India
España
France
Italia
Polska
Brasil
Россия
Türkiye
Indonesia
日本
한국
Home Stock Screener Forex Signal Finder 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 Account and Billing Sign Out