New Members: Be sure to confirm your email address by clicking on the link that was sent to your email inbox. You will not be able to post messages until you click that link.
candlesticks

revblc
✭
in SharpCharts
Does anyone where I could find the line commands for the pre-formatted candlesticks on stockcharts?
For instance, on scan I can select "hammer", but what I'd like to know is how stockcharts has programmed the hammer candle, ie
close > high * .70
or whatever it might be. I'd like to get the actual script for all of their pre-formatted candlesticks. Does anyone know where I'd find this?
Thanks
Kris
For instance, on scan I can select "hammer", but what I'd like to know is how stockcharts has programmed the hammer candle, ie
close > high * .70
or whatever it might be. I'd like to get the actual script for all of their pre-formatted candlesticks. Does anyone know where I'd find this?
Thanks
Kris
0
Comments
-
As far as I know, the code for the candle definitions is not documented. Also, as far as I know, there is no precise "industry standard" definition for any of them.
In theory, you could reverse engineer what SC is doing just by running them and inspecting the results, maybe over several days. Even if you couldn't code them from that, you would get an idea of the boundaries that (dis)qualify as a candle formation and whether that's acceptable for you.0 -
The link below may be of some assistance in what they look for on patterns.
https://support.stockcharts.com/doku.php?id=scans:reference:predefined_patterns0 -
@markd
Thank you yes, I'm trying to reverse engineer right now but struggling a bit. Here is my code for Dark Cloud Cover (NYSE). I run it and compare to stockcharts predefined scans but something is still off, I'm getting too many candidates returned, so I'm missing a rule or two. Do you guys anything obvious I'm missing?
[exchange is NYSE]
and [today's open > today's EMA(10, close)]
and [yesterday's close > yesterday's open]
#long body for yesterday
and [[yesterday's close - yesterday's open] > [[yesterday's high - yesterday's low]*.5]]
and [today's close < today's open]
and [today's open > yesterday's high]
#closing lower than 50% of yesterday's body
and [today's close < [yesterday's close -[[yesterday's close - yesterday's open]/2]]]
and [today's close > yesterday's open]
and [2 day's ago open >= 3 days ago low]0
Categories
- All Categories
- 2.3K StockCharts
- 395 SharpCharts
- 146 Other Charting Tools
- 69 Saved Charts and ChartLists
- 1.5K Scanning
- 73 Data Issues
- 177 Other StockCharts Questions
- 218 Technical Analysis
- 155 Using Technical Analysis
- 2 InterMarket and International
- 19 Market and Breadth Indicators
- 42 Market Analysis
- 109 Trading
- 109 Trading Strategies
- 163 S.C.A.N the StockCharts Answer Network forum
- 65 Using this StockCharts Answer Network forum
- 98 s.c.a.n. archives
- 5 Off-Topic
- 6 The Cogitation & Rumination Emporium
- Forum Test Area