Candlestick Pattern Comparison and Outcome Probabilities Model
Budget: $1,500 – $3,000 USD
This project's aim is to develop a software tool which provides estimates of probabilities of future outcomes of a sequence of trading candlesticks by comparing its pattern shape to historically similarly shaped candlestick sequences. It does this by working with sets of sequential candlesticks and giving each point on each candle a measured value based upon its % distance from various anchor points. The measurements of each candle in the current set is compared to the measurements on corresponding candles in other sets, and the sum difference of the values (called the "Direct Similarity Score") can be used as a measure of the similarity or difference of each historical set compared to the current set. By normalising or adjusting the values based upon each particular set's historical average range per candle (ie. volatility or ATR), it is then possible to compare outcomes across different markets and timeframes and generate an "Adjusted Similarity Score". The similarity scores can then be sorted in order to rank all candlestick sequences from most similar to least similar when compared to the current set. Then, looking at only the very most similar sets, their outcomes are analysed and used to provide a predictive model for the range of possibilities and probabilities of future outcomes of our current set. Also, regarding the current set: as new candles are generated, the current set adds the new candle to the start of its sequence and removes the end candle. This process creates a fresh sequence set and so the comparisons can then be performed again using the new current sequence and matched to different comparison sequences and so new future probabilities can be generated with each new candlestick added.
I don't have rigid expectations of the exact specifics of which programming language to use, nor how the candlestick data would be obtained, nor where to store the output data etc.. But my initial guess is that maybe it could be done via an API which connects to TradingView and processes the candlestick data provided in TradingView and using pinescript, it would then need to send the results (via an api) to a spreadsheet or database or app on a local machine. I'm not very knowledgable regarding databases and I've never used TradingView in this manner, so if this is not possible to process the candlestick data using TradingView, or if you know of a better way to do this, then i'd be interested to hear.
There would be billions if not trillions of sets of candles when considering all markets and all timeframes, so the main hurdle of this project would involve around the complexities of dealing with such enormous dataset sizes. I would be interested to hear your advice regarding how to deal with this issue also.
I have attached a word file to this project post with 12 steps for this project.
I don't have rigid expectations of the exact specifics of which programming language to use, nor how the candlestick data would be obtained, nor where to store the output data etc.. But my initial guess is that maybe it could be done via an API which connects to TradingView and processes the candlestick data provided in TradingView and using pinescript, it would then need to send the results (via an api) to a spreadsheet or database or app on a local machine. I'm not very knowledgable regarding databases and I've never used TradingView in this manner, so if this is not possible to process the candlestick data using TradingView, or if you know of a better way to do this, then i'd be interested to hear.
There would be billions if not trillions of sets of candles when considering all markets and all timeframes, so the main hurdle of this project would involve around the complexities of dealing with such enormous dataset sizes. I would be interested to hear your advice regarding how to deal with this issue also.
I have attached a word file to this project post with 12 steps for this project.
Related categories:
Software Development