RicardoSantos

Function Markov Process

EXPERIMENTAL:
this is very experimental and INCOMPLETE, use at your own discretion.

thanks glaz for the help :)
Release Notes: Added pseudo random number generator, it can now forecast the odds for a random sequence. thinking about it now, need to print out the order of the sequence -_-
Remove from Favorite Scripts Add to Favorite Scripts
This is very sexy. Not to annoy you, but do you think you'll be doing an updated version of this in the future? Is it possible to create a markov chain indicator in TradingView to predict price action in the immediate future?
Reply
RicardoSantos overttherainbow
@overttherainbow, work in progress depending on available time and focus on my part, its not easy to have a good state of mind to work on this stuff
+1 Reply
I wish I was not stupid :D
+1 Reply
overttherainbow michisuperfreak
@michisuperfreak, solidarity
Reply
Thanks for the caveat. It's fun to see a work in progress. This is one heck of a script and I'm excited to see where it goes.
Reply
Can you explain how do you trade using it? large spike of the blue line is a buy and red is a sell? thanks
Reply
This is very interesting. I found his trying to understand what is going on with this indicator: https://goo.gl/W9LN2m

How would you go about using this indicator on an experimental basis?
Reply
RicardoSantos dave.seremek
@dave.seremek, part of the inspiration came from there :D
other sources:
https://towardsdatascience.com/self-learning-ai-agents-part-i-markov-decision-processes-baf6b8fc4c5f
https://www.datacamp.com/community/tutorials/markov-chains-python-tutorial

you can check for probabilities of any chaining events (range of bars, type of bars, length of events, etc..)
+2 Reply
Interesting, btw. didn't know you had matrixes in Pinescript,...

Ps. You mention the lack of random number generator.
Maybe this kind of (pseudo) random number generation can be used?
https://www.tradingcode.net/tradingview/colours/random-colours/

JD.
Reply
@Duyck,
kinda you dont :D need to hack around it
thx, going to look into it, but not hopeful as the random generator needs to act on the for loop forward, i suppose it would be possible to create new seeds at each step but not sure if it would do :)
+1 Reply
Home Stock Screener Forex Screener Crypto Screener Economic Calendar How It Works Chart Features Pricing House Rules Moderators Website & Broker Solutions Widgets Charting Solutions Get Help Feature Request Blog & News FAQ Wiki Twitter
Profile Profile Settings Account and Billing Get Help Ideas Published Followers Following Private Messages Chat Sign Out