Searching in the past
-
Good Day @roar , I heard you are a Loop specialist
and I have problem using Loop. I can't figure it out...
Need Help PLEASE!
I have 2 MACDs. First one is four times MACD (48,104,36) and the second one is half of the original MACD (6,13,4).
What I need is to count the number of downs in smaller MACD while the bigger MACD is above zero LVL, as shown in the picture.
To be exact:
- Let's say in the live market we are in the position of No.6 as shown in the picture.
- The search in the past must start when the bigger MACD is above zero LVL.
- I want to count the number of downs in the smaller MACD and then store it in a variable.
I know I should use Loop Block but can't figure it out. Any help is much appreciated

-
Thanks for duplicating threads, good luck
-
sorry @jstap but your solutions are vague to me.
-
@sajjad3245 This is the second thread you created for the exact same problem. Please don't duplicate threads.
-
@sajjad3245 something like this, roughly
https://fxdreema.com/shared/Go1k7q4PcDon't duplicate, you could have tagged me on the original thread
-
Sorry guys for duplicating thread.