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.
Hello Tr0sT
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
@veepy, hi, it's just bad variable naming by me. dirUp is true when we are looking for new high (price direction in those moments usually dow), so last drawed line is down. when we found new high - we set dirUp to false and draw a line, so colors are messed up
评论
Thanks again for your help! I love the community... Strength in numbers!
Trade well, and trade Long!
-Anthony
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