@Glitch
Your revised version vs. the original behaves strange, or I should really say that it behaves strange for me. :) .
There was a trade that was supposed to enter via a limit order on the 20th but does not show up when running a backtest and advancing the end date a day at a time. Yet original code does.
When we look at the Rev 2 code, it does show an open order going in on the 21st. in live trading it did not, when looking at backtest for both the 20th and the 21st it does not show an entry signal.
Strange and not sure what to look at to diagnose.





Your revised version vs. the original behaves strange, or I should really say that it behaves strange for me. :) .
There was a trade that was supposed to enter via a limit order on the 20th but does not show up when running a backtest and advancing the end date a day at a time. Yet original code does.
When we look at the Rev 2 code, it does show an open order going in on the 21st. in live trading it did not, when looking at backtest for both the 20th and the 21st it does not show an entry signal.
Strange and not sure what to look at to diagnose.
Rename
It's using ExecuteSessionOpen so it will not produce a signal unless you run it after market open.
Let me upload a modified version to Patreon that uses NextSessionOpen indicator instead.
Let me upload a modified version to Patreon that uses NextSessionOpen indicator instead.
Im good with running after the open --- which ever is the most correct is what im after.
Sometimes it's not always possible, which is why the version using NextSessionOpen rather than ExecuteSessionOpen is more flexible.
Your Response
Post
Edit Post
Login is required