3 up candles out of 4 strategy


Category:
0
0

 

Hi Pete,

Never work on candles before, looking to add this as a condition and doesn’t know how to code it.

It’s a strategy with 3 up candles out of 4, meaning the close would be higher than open. One candle doesn’t need to be higher than the one before.

thank’s!

Marked as spam
Posted by (Questions: 5, Answers: 3)
Asked on February 18, 2020 8:38 am
118 views
0
Private answer

def condition = Sum(close > open, 4) >= 3;

Marked as spam
Posted by (Questions: 37, Answers: 4084)
Answered on February 18, 2020 9:22 am
0
Thank's !
( at February 18, 2020 4:19 pm)