
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hello,
I have a simple strategy but my backtest only returns a couple of hours worth of trades (usually from midnight to 1am, or from midnight to 4am).
Even though I can see in the chart that the buy/sell condition happened multiple times after those hours.
I also noticed that the stop loss and take profit prices on the backtest report are all over the place, meaning, they vary wildly, instead of being in a closer range to the points I indicated on the code.
I'm at the end of my rope, what am I doing wrong?
Thank you.
Strategy:
-Buy 1 NQ contract (Nasdaq Futures) when price on the 3 minute chart is larger than the 100 EMA
-Sell 1 NQ contract when price on the 3 minute chart is smaller than the 100 EMA
Conditions:
-Stop loss: 400 points
-Take profit: 1100 points
Backtest:
I'm using the current contract ENQM20
3 minute char
I tried a custom range of 22 - 26 march 2020 and also 1 month
This new contract started on March 20, 2020 , so those dates are available.
Code: