Hello,

I am new to using Quant Connect and have taken the boot camp and read the documentation, but I am still confused with how to do the following things (FYI: I'm using python):
1) how to calculate an EMA every hour using historic closing prices.
2) how to get and store the last 5 hours worth of highs.
3) how to place a stop order every hour (both long and short positions).
4) how to place a stop loss order with the stop order every hour.
5) how to place a take profit order with a stop order every hour.
6) how to cancel tickets (stop orders, SL orders, and take profit orders)
7) how to modify tickets (stop orders, SL orders, and take profit orders).

If anyone could help me with this I would greatly appreciate it!

Thanks

Author