This script is meant to be viewed with the Heiken Ashi candlestick chart. I use it for pretty much everything. It has a lot of extra stuff just for visual reference, but the trades are based on the MACD (3,5,9) indicator. I found that speeding up the intervals of the MACD makes for a much more reactive chart. In this heavily volatile market, it has been performing...
This is my first script and it is basically a MA crossover/under strategy that uses heikin ashi closing prices. I've also used limit orders based on HA opening prices of the previous day for entry which improves the performance. However, this impose a restriction when prices are moving too fast and the algo is unable to enter the trade, resulting in a bad position...
When 50DMA and 200DMA cross on PC, algo trades SPY accordingly