Minimum distance from Support or resistance

Forums ProRealTime English forum ProBuilder support Minimum distance from Support or resistance

Viewing 3 posts - 1 through 3 (of 3 total)
  • #197890

    Good day,

    I am trying to code an indicator that will take support and resistance into account. I am struggling with the minimum distance from support or resistance part. Let’s say the support or resistance will be given by the 30 SMA and 100 SMA. The indicator should only draw instruction if the support or resistance ( 30 and 100 averages) is further away than 10 points from the current candle’s open price. Is there a way to do this and always get a positive value in points?

    I hope I made enough sense in my question.

    Thank you,

    Kind Regards

    #197892

    There you go:

     

    1 user thanked author for this post.
    #197899

    Thank you very much, I appreciate your help. 🙂

Viewing 3 posts - 1 through 3 (of 3 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login