Page 1 of 1

Pine Script Coding/Syntax

Posted: Tue Apr 05, 2022 4:13 pm
by praful@123
Hi People, I am looking to code one of the strategy, My requirement is, Suppose between two points A and B if I have 5 candles, I need to generate combination of 3 candles, like 5C3 that is 10 combination in total. How do I code this logic in pine script.