I've built a price action framework that categorizes price movements into one of eight distinct states, based entirely on rules. This means that the same data will always yield the same state, with no room for personal intuition or discretion. Currently, I go through the process of drawing this manually on price charts, which takes a lot of time, and I can only handle one at a time. I'm looking to formalize this into code so I can view the current state for multiple timeframes across various assets. Ideally, I'd like to track changes in state over time, such as from 2020 to 2025, and analyze how often price transitions from one state to another. Since I'm not proficient in coding, I've tried using ChatGPT to convert my framework rules into code with if/then logic, but it struggled with the complexity. Are there any tools or AI solutions that could help someone with limited coding abilities?
2 Answers
If you're looking to automate your process, you might want to explore using a database in the future. Once you've built your state engine, a database can help store and analyze the changes in your price states over time. However, getting that engine up and running is the first step!
It sounds like learning to code might be a beneficial move for you. If your eight states are designed to be mutually exclusive, you’re essentially describing a finite state machine, which is a pretty straightforward programming concept. You could use languages like Python or JavaScript for this and there are plenty of libraries that can create and run such machines based on your rules. It could be worth considering, even if it's been a while since you've coded!
Thanks for the insights! I just wish I could automate this faster without diving back into coding. I’ve heard a lot about AI being able to code, but the ones I've tried so far haven't met my expectations.

I appreciate the suggestion! But I really need to get the state engine sorted first before I can think about any databases. I’ve managed to operate it manually for years, so I’m just brainstorming automation options now.