I'd like to detect and output the lowest and the highest values which occurred between WMABuy and WMASell.
As I understand I could use HighestSince(WMABuy, High) just not sure how it should be done in this situation. As I only need the latest period (there are many signals, but I want this data in real-time)...
Thank you @travick
I have been "dancing" around the problem by using HighestSince, ValueWhen and LastValue, but I've done it in a wrong way.
The arrays still give me a trouble even several months into afl learning.
And pardon me creating an almost exact topic with a question which was already answered before (I couldn't imagine someone will have the same situation, so been searching other phrases).
I have a strategy which contains Buy/Short signals. I want to analyse the HHV and LLV to define accurate SL and TSL after analyzing last 10-years data.
Is there anyway I can use this solution to find out HHV and LLV between all buy/Short signals with additional column named HHV and LLV for further analysis.
I am asking the question here as similar topic shows CLOSED for reply.