Last Hour Indicator
Author: zorgnak
Creation Date: 11/20/2009 12:10 PM
profile picture

zorgnak

#1
According to Rennie Yang the "Last Hour Indicator" has a good record of tracking "smart money".
Anyone care to code it?
The formula is (today’s close – today’s 3pm price) – (today’s 10:30am price – Yesterday’s close). The premise of the indicator is that the smart money trades late in the day, so you can discern what they’re up to by comparing the market’s performance in the first and last hour of each day and charting that on a cumulative basis.



profile picture

Eugene

#2
Sounds pretty simple, have you already tried coding it? How do you deal with the price at the 10:30am or 3pm bar missing?
profile picture

Eugene

#3
For what it's worth:
CODE:
Please log in to see this code.

It's up to you to verify/test/debug.
profile picture

zorgnak

#4
Thanks Eugene
profile picture

Eugene

#5
You're welcome.
profile picture

Eugene

#6
Indicator added to Community.Indicators 2010.01.
profile picture

topbooks

#7
Thank you for creating LastHour.
I try to apply a Tech Indicator on it, it did not work, seems although it is object of Bars, but only has one value per bar, do not have open/close/volume,

I was thinking to create a "full version" of LastHour, which has all feature of daily bar (or 30 minutes bar), bud do not know how. My knowledge still is limited.

Below is my problem: it errors out CS1502 CS1503 at red line:

CODE:
Please log in to see this code.
profile picture

Eugene

#8
What do you get when you cross a hedgehog with a giraffe?

The wrong syntax is not the biggest problem (although it is). LastHour is LastHour and Midas is Midas. Both are self-contained, standalone indicators. You cannot apply Midas to LastHour and vice versa. It just doesn't make any sense.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).