How to test for candlestick patterns using CandlePattern?
Author: gchudublin
Creation Date: 6/20/2018 6:20 PM
profile picture

gchudublin

#1
I am checking into the candlestick doc as shown below, But if I want to check these candlestick patterns, how do I actually code it? Do I have to code every condition and see which one is true as shown in the brief sample code in the Wealth Lab script programming guide? I set up bool variables for every condition and check the bool variable to see which one is true, below is 3 patterns, but total has many more, it seems not practical, may be I just test the patterns that I am interested? I hope I am making sense, if not let me know ... Thanks.

Script example:
CODE:
Please log in to see this code.
profile picture

Eugene

#2
QUOTE:
may be I just test the patterns that I am interested?

Sure, just test for the patterns you're interested in. No need to set up boolean variables for every condition in the 'book'.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).