Skip to content
Advertisement

Pine script -How to write a script that detects eight similar consecutive candles

Want to write a pine script that gives an alert after 8 consecutive similar candles and gives an alert after the 8th or on the 8th candle.

Advertisement

Answer

JavaScript
User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement