Hello,
Giving the following strategy, I would like optimize market entry while entering to a certain time.
That means, instead of enter the market to market open, it opens at 10.00 oder 11.00 or 11.30. That has to be backtested.
Indicators still work on a daily basis.
How do I have to code it? I'm a little bit confused about the examples I found on Wiki.
Thank you for your help.
Best
07nioe
Here is the code:
CODE:
Please log in to see this code.
Size:
Color:
Hello,
Here's what you might focus on to pursue your project:
QUOTE:
That means, instead of enter the market to market open, it opens at 10.00 oder 11.00 or 11.30. That has to be backtested.
1.
Building blocks of Intraday trading strategies >
Function to easily determine and compare time of dayQUOTE:
Indicators still work on a daily basis.
2. All those
DataSeries and
Bars have to be scaled to daily to retain the daily values of the indicators. You'll find explanations and code examples in the WealthScript Programming Guide >
Multi-Time Frame Analysis and in the QuickRef > Time Frames (
SetScale, RestoreScale, Synchronize).
Hope that helps to get started.
Size:
Color:
Yes, that helps. Thank you!
Size:
Color: