First let me start by saying I am a newbie to C#; so, I apologize in advance for the simplicity of my question.
What I am trying to accomplish is a cumulative total of the Current Ask Volume - Current Bib Volume for this bar.
protected override void OnBarUpdate()
{
double x1 = 0.0;
double x2 = x1 + (GetCurrentAskVolume()-GetCurrentBidVolume());
set
{
x1=x2;
}
TBTF.Set(x1);
}
Thanks in Advance! Cheers,
Sody

Comment