Need help with this programming

Hi just a quick programming question as I am new to programming and I am trying to program a FOREX strategy which I have come up with.

I am using ProRealTime software for my programming as this is my charting package.

How do I create a condition that a candle must touch a certain horizontal support/resistance line to qualify for entry (which will have been identified by me manually before hand)?

I have already programmed the type of candle but I just need this further condition of touching a certain price level.

I can’t seem to work out how to integrate price levels into my coding, any help would be very much appreciated.

Thanks,

Guy