Frankfurt, Hessen, Germany
Market Wizard
Experience: Advanced
Platform: NinjaTrader 8
Broker: NTB & Continuum
Trading: 6E, 6J, CL, FDXM, FGBL, GC, HG, NG, NQ, RTY, SI, YM
Posts: 542 since May 2012
Thanks Given: 1,416
Thanks Received: 226
|
Hello strategy programmers,
I am using a entry period in my strategy.
While working with time bars I am having no problems with the correct entry time span.
If I am changing to renko-bars, then the system is not checking, that an order is to late.
I am using close bars and that will not change.
Here is the text, that I wrote with starting at code line 77:
// Here is the check for the valid entry period.
// Most likely the assignment to the second data series from the 1-minute chart is missing here,
// because by means of Renko probably only the times of the closed bars are used instead of realtime.
// (by the way, the staregy works with closed renkos, i.e. close-bars).
// The question arises whether the time condition has to be included elsewhere.
// However, previous attempts proved unsuccessful.
You will find the ExampleStrategy as attachment.
Thank you for helping me!
Best regards,
Renkotrader
|