PGT: Pretty Good TraderLittle bit of background :
I am a broke college student on the East coast, and I have developed a hobby for creating trading algorithms. This is one of the better scripts that I have written. Unfortunately, as a broke college student, I don't have the disposable income to actually trade using real money. If you are interested in donating to my broke college student fund, please message me!
On to the script :
This script was written in pine version 3 and does not calculate_on_tick . This means that it does not repaint . The numbers you see are, to the best of my knowledge, accurate.
Because most scripts tend to overfit data to generate the "best looking data", I decided to create an algorithm that would be generalizable as possible to a diverse number of trading pairs. This script works on both crytpo markets(works best on smaller time frame) and stock markets(works best on larger time frames).
I am publishing this script to both gauge and generate interest in a Python trading bot which I have written which automatically buys and sells on different exchanges by using the predictive signals of this indicator.