I am trying to get sell\buy pressure from the BuySellPressure indicator but I am getting ZERO value.
I am using the indicator In real time and the indicator is plotting OK in the chart
I used the indicator as explain in NT document:
protected override void Initialize()
{
BuySellPressure().CalculateOnBarClose = false;
}
protected override void OnBarUpdate()
{
m_BuylPress = BuySellPressure().BuyPressure[0];
// This print is only for debug because I the "BuySellPressure" indicator always return
// ZERO
Print(Time[0] + ":" + "SellPressure[0] = " + BuySellPressure().BuyPressure[0]);
}
sincerely,Kobi
Comment