Click or drag to resize

MZpackCustomStrategy0StrategyOnBarCloseHandler Method

The handler triggered on bar close. currentBarIdx is the index of just closed bar. e belongs to the next (just opened) bar.

Namespace:  NinjaTrader.NinjaScript.Strategies.MZpackAPISamples
Assembly:  MZpack.NT8.Pro (in MZpack.NT8.Pro.dll) Version: 3.18.1.0 (3.18.1.0)
Syntax
C#
protected void StrategyOnBarCloseHandler(
	MarketDataEventArgs e,
	int currentBarIdx
)

Parameters

e
Type: MarketDataEventArgs
currentBarIdx
Type: SystemInt32
See Also