I did it manually, just drawed the lines myself to show you guys what I want to achieve.by pulpiwapi - Trading Discussion
Bear with me please my coding knowledge is very limited but I am eager to learn. I think this would be a useful support/resistance indicator for everybody here. I was able to find the gap up (thanks to the people in the forum) but the rest is kind of blurry yet and I am stuck. How do I iterate the last N bars and if a condition is met then plot a line? Can somebody show us an example and fromby pulpiwapi - Trading Discussion
I have been struggling with this one for a long time. Goal: Every time there is a gap up, I would like to check the previous N bars to find potential support/resistance levels on a daily chart. This is the sequence I am looking for: 1. Check bar[1] and draw a horizontal line on the highest value of the candle. 2. Check bar[2]. If it's highest value is higher than the last higher value fby pulpiwapi - Trading Discussion