Mikes 5 min HHLL Spotter

Attempts to find higher highs and lower lows in the 5 minute window. When the light blue graph line peaks , you should investigate selling , when the light blue graph line dips you should investigate buying.

This is good for identifying oversold and over bought positions
從喜愛的腳本中移除 添加到喜愛的腳本
study("Mikes HHLL Spotter")
fastMA = ema(close, 3)
slowMA = sma(close, 5)

fastMA2 = ema(close, 2)
slowMA2 = sma(close, 4)

//diff = (fastMA - slowMA)  * 80000
diff = (fastMA2 - slowMA2)  * 80000

smoother = ema(diff,12)
plot(smoother, color=red)

//double EMA shit
xEMA1 = sma(diff, 12)
xEMA2 = sma(xEMA1, 12)
xEMA3 = sma(xEMA2, 12)
nRes = 3 * xEMA1 - 3 * xEMA2 + xEMA3

//plot(nRes, color=yellow)

//buysell =  (smoother < -7 ? -10 : smoother > 9 ? 10 : (smoother < 1 and smoother > -1) ? 10 :   0)

buy = -30
sell = 30
marketFlat = 0

buysell =  (diff < -30 ? buy : diff > 30 ? sell : marketFlat)

smoothbuysell =  (smoother < -15 ? buy : smoother > 15 ? sell : marketFlat)
smootherbuysell =  (nRes < -17 ? buy : nRes > 17 ? sell : marketFlat)

//plot(buysell, color=green)
plot(smoothbuysell, color=aqua)
barcolor(smoother < -7 ? red : smoother > 9 ? green : (smoother < 1 and smoother > -1) ? yellow :   blue)

how have you configured the candle colors? I am only getting red and blue candles on my chart?
The indicator does shade the candle colors, but it uses slightly different thresholds to the main square edged indictator in aqua blue (the one in the panel below). The Candle colors show bars that near oversold / overbought. The yellow should indicate flat spots in market activity , the blue should show transitional activity, the green shows heavier buying activity and the red shows heavies selling activity.

What Currency pair / time frame are you suing Dheerajsood.
dheerajsood MichaelWithersOne
I was using the Eurusd 5 minutes. Do you have any other indicators as well? Thanks
Scrolling back through the last 24 hours or so I can see quite a flat market in places on the EUR/USD. If you look further back in time - there are some good examples of where it read the market quite well 20/07/2016 6:55 UTC was a good long opportunity (look at the down pointing square edge blue line in the bottom panel), and the indicator points to a good close at 14:20 UTC on the same day when the market peaks and the blue line points upwards. There are some coloured bars inbetween those times showing some stronger and weaker market moments. Iam planning to make a configurable version of this indicator and refine it a bit further, and hopefully include other time periods beyond 5 minutes. Hopefully I will publish this in the next couple of weeks! Iam glad your finding it useful!
dheerajsood MichaelWithersOne
I was looking at this another way. When the green bars stop painting... it is usually followed by a yellow bar. That yellow bar could indicate the trend is now weakening and its time to go short. Then when the red bars stop painting ... it is usually followed by a yellow bar. Which could indicate the market reversing.
I dont understand coding so cannot but do let me know if the above idea is on the right track? Thanks
I have just released my latest indicator for detecting market spikes.

Its located here if you fancy checking it out :
首頁 股票篩選器 外匯篩選器 加密貨幣篩選器 全球財經日曆 節目 如何運作 圖表功能 價格 網站規則 版主 網站 & 經紀商解決方案 小工具 圖表解決方案 輕量圖表庫 幫助中心 推薦朋友 功能請求 部落格 & 新聞 常見問題 維基 推特
概述 個人資料設定 賬戶和賬單 推薦朋友 我的客服工單 幫助中心 發表的想法 粉絲 正在關注 私人訊息 在線聊天 登出