I joined a month back and am new to Python. Wrote few algos and liked this so sharing for your review. It goes only long for now and trades SPY.
Tested YTD and returned 9%
The Logic is buy SPY on three conditions: low RSI, price > mavg100, down two points from high of day
If price movies up then sell for a dollar profit but if price moves down don't take a loss and stay holding
In choppy markets and when markets are going down it performs better than SPY
When market is steadily going up it may not go up as well as SPY but returns good positive results
Overall it feels much "safer" than SPY
Please let me know your thoughts
- Sam