Study forloop Star Diamond'Study forloop' pinescript Program to print star diamond
The Program Logic
I've taken the previous script and added a footer to it. instantly transformed into a diamond shape.
Diamond
Diamonds FinderAccording to this theory www.youtube.com the definition of "diamond" is:
- central hollow candle sorrounded by 2 filled candles. Example "redcandle - redcandle - greencandle - redcandle - redcandle".
- and vice versa if central candle is filled one.
The diamond S/R zone is based on open and close values of central candle.
The arrows show where the diamond is placed, not the anticipated direction of move. The purpose of diamonds is to determine so called 'diamond S/R' zones that can be used for further analysis.