I first want to say I love your script Tr0sT . I've use it alot.
I'm not much into proraming but i have thought of something, if we have such a good trend patern recognition with this . Can't we implement in it Fibonaci values too and also create alarms based on it ?
For example once a new high or low is made and the price goes in the opposite direction, We get an alarm on that asset when the price reache 38% retracement on the movement.
What do you guys think of this ?
I'm a fan of your script. I found it through a mention by ocaptain, who you helped expand your script with RSI.
I'm trying to learn how your script works. It appears that when Price-Direction is UP (dirUp), your f_drawLine() function sets the line-color to Teal and otherwise sets it to Orange. However, the line-colors on the chart appear reversed. The line is set to Orange when Price-Direction is UP, and otherwise it's set to Teal. Can you explain where this logic gets reversed or what I'm missing? Thanks