Hello,
I want to develop an Indicator which applies the following formula:
Value[0] = Math.Long(Input[0] / Input[1]);
seems easy right? the thing is... I need to capture missing bars to assign a value to Input on that specific timestamp
Can a timer help me detect a bar that has not occurred on State.Historical and State.Realtime?
Is there any other/better way to detect a missing bar?
Is there a way to capture this missing bars by developing a new BarType?
Thank you in advance,
Lismar
PD: I wrote this topic under General Development thread because this implementation may be done either on Indicators or on Strategies.
Comment