I have a few strategies that are evaluated on a daily bar basis but I want to enter buy/sell the trade at market at 10am instead of market open. Is this possible?
Size:
Color:
Size:
Color:
Thanks, I've tried coding it and all I receive back is a Monte Carlo Error " Object Reference not set to an instance of an object". I am using the 30 min charts from Alpha
Size:
Color:
Okay, "you have a few strategies" where you "tried coding it" and it (apparently your call to GetTime?) produces an error. Very informative! :)
Try to follow the several examples for GetTime in the Wiki precisely and it should work. Given that you've switched to 30-min charts this is the best advice since everything is unknown.
Size:
Color:
CODE:
Please log in to see this code.
Sorry, I will be more specific. This was run on a 30-min watchlist to try and buy at 10am and to just sell after a few days as a test.
Size:
Color:
That's incomplete, broken code where you've inserted different parts at random. Maybe it helps if you show us the real code to add GetTime to?
Size:
Color:
Eugene, even the supplied code for intraday runners is failing on me.
CODE:
Please log in to see this code.
I've tried to run this on every intraday timeframe with alpha data (api enabled) with the same results. " Object Reference not set to an instance of an object"
Size:
Color:
Size:
Color: