Detect high and low
-
Hope you can help me for the following...
I would like to detect the high and low of Bulls/Bears in row when the MACD base line above signal line only.
Here I need three high/low...
First, 9 Bull candle in a row
Second, 1 Bear in a row
Third, 2 Bull candle in a rowFirst bulls row high and low should store as single candle ID so that next time I can identify them as candle ID1, second bear row high and low as candle ID2, then again Bull in row high and low as single candle ID3.
If you find any mistake in my question please correct me. Thanks for your valuable time.

-
Although there is a bit to this it is generally quite simple, bulls in a row block - bear block - bulls in a row block, add this to a project and backtest, then you will see whats not working so you can add or and amend, you can then add a shared link for anything that's not working.