Hello,

I like to build a simple momentum algorithm for the Forex to get familiar with QuantConnect. The algorithm is as follows...

Step #1: Define the Trend. An Uptrend is defined by a Series of HH Followed by a Series of HL. Say the USD/EUR and USD/JPY
Step #2: In an Uptrend Look for Bold Candlesticks that Close Near the Higher End of the Candlestick.
Step #3: Wait for the Williams %R Indicator to get oversold (below -80). Then rallies above the -50 level before Buying.
Step #4: Place Your Protective Stop Loss below the Recent Higher Low.
Step #5: Take Profit once we break below the Previous Higher Low
(For the Sell, we would inverse the process. LH followed by LL, overbought, etc.)

How to best implement this algorithm to leverage best in class practice with QuantConnect? Why do I mean by best practice? I want to use QuantConnect features such as the RiskModel for portfolio risk. This would be "simple" in straight python but don't get all the bells and whistle of QuantConnect. 

Thanks in advance!

Bo