# Function Markov Process

1219 views
1219
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 -_-
Hi sir , this is by far the best script on Tradingview.
I had the opportunity to research the markov process a bit. There are two points I'm stuck with. 1 - Can this be used instead of pseudo random number generator?
It is my script which works to identify stagnant markets. I wrote that for ML functions :

(Can be converted to any scale and sequence.)

2 - Secondly, about the effects of nbars : (Vector C) * pow ( , nbars ) This is written on the 5th page in this document :
http://www.math.chalmers.se/Stat/Grundutb/CTH/mve220/1617/redingprojects16-17/IntroMarkovChainsandApplications.pdf

Best regards.
Noldo
Edit : Sorry for typo i mean about the effects of nbars : (Vector C) * pow (_odd matrice (3 x 3) , nbars )
Noldo
@Noldo, i suppose you could use it, but it would return a biased return. since its already inferring the market state.
2: not sure what you mean?
RicardoSantos
@RicardoSantos, ahh understood . so you mean my odd generator script (when completed successfully ) only could be a state ? I can transform it numbers after it completed as ( 1 , 0 , -1 )

2 : sorry for my mistake . In this document it shows like pow(matrice , nbars ) but it means possibility of the nbars later as your script.
Noldo
sorry again , markov process calculating the stagnant market according to the state itself. so i must do bull's and bear's comparison without stagnancy i guess . I have an idea in my mind at the moment I can give the stationary rates. it will take a few time, but I think it is possible to do it and compare it with function markov process.