need a python programmer who is familiar w QUANTCONNECT to write a python algorithm for trading forex that will work on quantconnect platform.
1. It's a standard EMA cross strategy.
2. . If there's no current holdings:
3. When fast ema cross slow ema > buy on next candle open
4. When slow ema cross fast ema> short on next candle open
5. If theres already existing positions, don't trade
6. I need to be able to specify:
-fx pair traded
-take profit (in pips)
-stop loss (in pips)
-trailing stop loss (in pips).
-% equity risk per trade
-fast ema source (close/open/mid and period)
-slow ema source
this strategy needs to work on D1 timeframe and h4 timeframe if possible
i will provide a sample pine script of this strategy from trading view for reference
Pls put comments in the code to make it easy to understand what the code does.
As mentioned - this should be a normal EMA crossover strategy. Do let me know if you have any questions.