This tool calculates the weighted average price of an opened position in the NinjaTrader platform, where can be used in SuperDOM, Market Analyzer or in charts windows. In the SuperDOM window, it can be used as a usual indicator (colored line in the cell price) or can be used instead of the NinjaTrader’s standard average price (colored cell price background).
Features:
- Works in superDOM, market analyzer or charts windows.
- In SuperDOM is shown in the column price and can be used instead of the NinjaTrader’s standard average price.
- Option to make NinjaTrader’s PnL value based on its price calculus.
- Using in the market analyzer, traders can easily check the average price of their positions.
- Editable color and style.
Operation:
This tool calculates the average price of an opened position considering the number of contracts/shares of each order execution since the beginning of the operation. Therefore, the average price is weighed helping the trader to estimate the actual profit or loss of such opened position. Imagine the following situation: A position is opened buying 2 contracts/shares at $10, then the following operations are executed:
- Sell 1 at $12 | Weighted average price of $8 with 1 contract/share
- Buy 1 at $11 | Weighted average price of $9.5 with 2 contracts/shares
- Sell 1 at $13 | Weighted average price of $6 with 1 contract/share
- Buy 1 at $12 | Weighted average price of $9 with 2 contracts/shares
- Sell 1 at $14 | Weighted average price of $4 with 1 contract/share
If the position is closed at $14, it would provide a gross profit of $10 since the position weighted average price is at $4.
Reviews
There are no reviews yet.