OPEN-SOURCE SCRIPT

Close Difference of rolling candle

This is a modified version of FTFC concept.
FTFC concept look at HTF candle's direction, green or red.
This indicator calculate the closing price difference in a rolling base. For example, if now it is 3:05pm, it will show the price difference at closing between 3:05pm and 2:04pm if you use 60 mins as the setting. The moment it turn or green, it means in the last 1 hour, the candle is green. It is not tied to a time point of the HTF clock.
Cycles

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer