Candlestick Patterns in Code?
Author: tybo09
Creation Date: 4/12/2009 9:18 AM
profile picture

tybo09

#1
Is there any coding with candlestick patterns, trends, etc? I have been wanting to write a code for candlestick patterns but I don't know how to go about it honestly any help would be great.

For example: An Engulfing Pattern - it is characterized by a small body, followed by a day with the body completely engulfs the previous day's body.I really don't know the exact percentage of the candlestick patterns to be able to code this pattern.
profile picture

Eugene

#2
Sure. See WealthScript Programming Guide, WealthLab.Rules Classes > Candlesticks.
profile picture

tybo09

#3
I can't find those forums anywhere, can you post me a link to those links please
profile picture

Eugene

#4
It's not a forum link but something under your Help menu in WL5.
profile picture

tybo09

#5
Ok thanks for the help.
profile picture

tybo09

#6
After I click help, wealth-script programming guide, i don't see the wealth-lab. rules, I only see:
Intro
How to run basic Example Code
The bars object
data series
painting the chart
indicators
program. trading strategies
multi-time frame analysis
backtesting chart style
techniques
APIs

I have tried to search it but it never showed up anywhere .

profile picture

Cone

#7
The documentation was added for WLP 5.3. If your using WL Pro, upgrade to 5.3.
profile picture

tybo09

#8
I dont see WLP 5.3
profile picture

Eugene

#9
Because you have installed Wealth-Lab Developer 5.

Download WLP5
profile picture

WEALTHPRO25

#10
hi everyone, i am far from having the capability of coding, but i noticed think or swim has candlestick recognition capability, if anyone can code for the following it would be great for wealth lab pro:



Bearish and Bullish

AbandonedBaby BeltHold Breakaway Doji Engulfing Harami HaramiCross Kicking LongLeggedDoji Marubozu MeetingLines SeparatingLines SideBySideWhiteLines ThreeLineStrike TriStar ZigZagStepPattern

Bearish Only

AdvanceBlock DarkCloudCover Deliberation DownsideGapThreeMethods DownsideTasukiGap EveningDojiStar EveningStar FallingThreeMethods HangingMan IdenticalThreeCrows InNeck LowPriceGappingPlay OnNeck ShootingStar ThreeBlackCrows ThreeInsideDown ThreeOutsideDown Thrusting TwoCrows UpsideGapTwoCrows

Bullish Only

ConcealingBabySwallow Hammer HighPriceGappingPlay HomingPigeon InvertedHammer MatchingLow MatHold MorningDojiStar MorningStar PiercingLine RisingThreeMethods StickSandwich ThreeInsideUp ThreeOutsideUp ThreeStarsInTheSouth ThreeWhiteSoldiers UniqueThreeRiverBottom UpsideGapThreeMethods UpsideTasukiGap

thanks
profile picture

Eugene

#11
And how capable are you in studying the manual? ;)

WealthScript Programming Guide > WealthLab.Rules Classes > Candlesticks

Also don't forget that there's a whole lot of candlestick patterns in Rule-based Strategies > Conditions > Candlesticks...
profile picture

pestocat2

#12
Eugene,
Have there been additional candlestick patterns added than what is shown in the Programmers Guide. How about 'Spinning Top'.
profile picture

Eugene

#13
Gary,
If they were added I guess the Guide would've been updated? ;)

Cone,
What do you think about including the spinning top pattern in the CandlePattern Rules Class library?
profile picture

Cone

#14
Done. You can find it under Candlesticks Other > Neutral Spinning Top

A spinning top's body can be black or white - it doesn't matter. Use other indicators like RSI or MACD appropriately to determine if you want to attempt to trade a reversal in trend.
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).