Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
newbie's question regarding SMA, RSI, VOL and live price

Hey everyone! very new to quantopian and also coding. I am trying to get into quantopian to backtest some of my manual trading strategies. Specifically, I want to buy in a specific stock whenever:

  1. The price is above its 9 days SMA line given a 1 minute candle stick bar
  2. Has a 1 minute volume of 30K lets say
  3. RSI is above 55%
  4. DIF is above DEA for MACD and are both > - 0.1

and sell it whenever its :
1. The price is below its 9 days SMA line given a 3 minutes candle stick bar
2. 5 mins break after each selling

Now the following are my newbies questions:
1. I wonder if the concept of candle sticks exist in quantopian for us to kind of clear out the volatility? It seems like everything is kind of live and discrete.
2. When I watched the tutorials from lets say sentdex, he has this auto complete function. Is this a paid function or is it a deleted function?
3. To implement the above trading strategy, is there any specific references you can think of for me to look at and study?
4. My last question would be about how to clear out all the positions at the end of the day since I am working on leveraged etfs.

Thanks everyone!