Countif
-
Hi, Im trying to figure out the best and easiest way to count on the past ( Loopback bars) If they are bullish ( Close(i) > Open (i) )
Which would be the easiest way?
I now there are specific block for IsBullishCandle, but my idea is then to check condition on loopbackbars over indicators and so. The function i want to create is something like a Countif function -
I have not tested but this should do it: https://fxdreema.com/shared/o101V64rb
-
Thanks JStap, i have build something similar. i was wondering if there was something already built , like more compact.
But a lot of thanks! -
You could ask Chat GPT, it might give you some useable code