QTPYLIB: How to detect if two lines converge (qtpylib.crossed()) doesn't work

Viewed 10

I've been trying to make a dataset prediction system using qtpylib.

So, I've tried using crossed_above() and crossed_below(). However, they don't perform the function I intended. crossed() also doesn't work for me.

What I want is for the system to check whether two lines touch each other, I've tried making some custom functions for this but they didn't work. So, can someone help me with this?

0 Answers
Related