Can you point me in the direction of what code I would need to create an indicator, either in the Wizard or NinjaScript, where the Indicator only looks at data on the current date.
Basically I have a Pivot Level, say 1.33 for example, that I want a Strategy to trade around. But I also want to use the BarsSinceEntry code so I don't get chopped up.
The Pivot Level changes every day thus I want the BarsSinceEntry only to look at data from the current trading day and not the prior day, thus I want my Indicator to only include today's data.
Thanks,

Comment