MichaelWithersOne

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
Remove from Favorite Scripts Add to Favorite Scripts
//@version=2
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)

dheerajsood
4 months ago
how have you configured the candle colors? I am only getting red and blue candles on my chart?
Reply
MichaelWithersOne dheerajsood
4 months ago
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.
Reply
dheerajsood MichaelWithersOne
4 months ago
I was using the Eurusd 5 minutes. Do you have any other indicators as well? Thanks
Reply
MichaelWithersOne dheerajsood
4 months ago
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!
Reply
dheerajsood MichaelWithersOne
4 months ago
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
Reply
MichaelWithersOne dheerajsood
4 months ago
I have just released my latest indicator for detecting market spikes.

Its located here if you fancy checking it out :
Seismic Market Spike Detector v1.0
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