Hey everyone,

Below you can find the code from the 11th video of my free algorithmic trading course. The goal of the video is to show how you can use QuantConnect to trade Forex and CFDs. Besides that, the video shows some of QuantConnect's more advanced charting features. If you're new to QuantConnect or my video series, I recommend starting from the beginning

Note that unlike in the video, I used Market.Oanda instead of Market.FXCM in the code below since FXCM no longer supports live trading.

Let me know if you have any questions or comments.

Cheers,

Louis

Author