Hello, I just been introduced to Robinhood and caught wind of the Quantopian intergration.
I do not know Python at all, but I am an options trader that uses the MACD using the values of 9, 20, 6 for my entries and an 11 MA as my exit position.
My question is for anyone here that maybe familiar with python that knows how to turn this strategy into an algorithm so it can be deployed within Robinhood with stocks?
Thinking 30m/1h timeframes would would best within Robinhood for swing plays.
How the algo would work:
A entry uses 20% of available buying power (if a robinhood instant account, PDT counter should be no greater than 1 for safety purposes)
MACD crossover signals a buy
When stock price falls below 11 MA, liquidates position
Waits for handful of momentum stocks to meet criteria, rinse and repeat.
The reason for the 9, 20, 6 is this triggers on the first candle, and the 11 MA minimizes the potential loss incurred.
And help would be greatly appreciated