It should be one buy then one sell, whether it's profit taker or stop loss. But in backtest, it keeps on buying and then in the next interval, it sells everything it has bought at the same time at the respective profit taker or the stop loss prices. As a result, I can't tell whether the script is working properly.
If it is tested in real time data, it functions just fine. One buy, then one sell whenever the profit taker or stop loss triggers.
Also, historical data sometimes miss a couple intervals of data. Not too critical, but kind of annoying.
And is there a way to look at a different time intervals in the performance chart?. For instance, I'm trading using the 5 min chart, and in the performance chart I want to look at the say 1 second chart, so that I can see exactly where it transacted.
Comment