Hi, suppose to be in this scenario:
You have to test if the price has break an horizontal price line and you have to detect if the price/trend is coming from top or from bottom...
How can I do this ?
If I have to do it by watching the graph it is really simple but how can I code it ?
What can be the logic to determinate from where the price has arrived ?
Thanks to support
Exactly as your brain does.
Actually I'm not working with candles...
Suppose to detect it using a line chart based on candle closing time...
What can be the logic ?
May be I have to check if before the breakout I had a maximum then, I'n coming from High, if instead I had a mininum value, I'm coming from
Can it work ?