Candlestick Identification

Login or Register

Please login or register in order to view and post in the Forum.

2 posts / 0 new
Last post
John Moss
Last seen: 7 years 5 months ago
Joined: 12/22/2016 - 16:37
Candlestick Identification

How do I code up a candlestick pattern? I have found the necessary CPR Tokens, but need help to identify it. In summary:

I have a Long legged Doji. I want to factor that into a signal. Something like

IF ( current candle = CPR_Long_Legged_Doji ) AND ( VB > VB.1) etc etc...

How does one call out the candle?

0
cpayne
Last seen: 1 year 7 months ago
Joined: 03/30/2009 - 00:00
Coding Candlestick Patterns

The token CPR can be used for the Candlestick Pattern Recognition indicator.  The result of CPR will be the number of patterns identified on each bar.  If you only turn one pattern on (in your case, Long Legged Doji) then CPR will give you a 1 when it finds the pattern and a 0 otherwise.  So your syntax would be simply...

CPR = 1 AND VB > VB.1 AND ...