Support Board
Date/Time: Fri, 29 Nov 2024 21:55:16 +0000
Post From: Programming Help - Candle identification
[2022-12-29 05:09:56] |
User183724 - Posts: 183 |
The Marubozu candle is pretty easy to define but the Spinning top is where i think you'll run into problems... this is what i got off the internet... What Is a Spinning Top Candlestick? A spinning top is a candlestick pattern that has a short real body that's vertically centered between long upper and lower shadows. computers cant use vague language like 'short' or 'shadows'. you'd have to come up with numbers... a shadow is x number of ticks big and a small body is x number of ticks big. as soon as you do that, you start missing signals because the limits you assigned may be too big or too small. so the smallest spinning top has one tick upper shadow, one tick body size, and a one tick lower shadow ... but what if it had a 10 tick body or a 20 tick lower shadow? are those still spinning top candles? and what about the postion of the candles relationship to each other? in your picture, the Marubozu is higher than the spinning top. what if they arent in those positions? what if the Marubozu is lower than the spinning top? does it matter... so it would be on you to first define what your limits are and then its pretty easy to program the alert. one of the easiest ways would be to use the Color Bar Based on Alert Condition study and just put your formula in the alert window |