This indicator will provide the volumetric Bar statistics in a hidden plot form. The main purpose is to provide (through 21 plots) the bar statistics values to the Strategy Builder and/or Chart alerts, and/or the Market analyzer without the need to program. You can also use in a Ninjascript indicator or strategy. The 21 plots are hidden so they will not change the display. See the screenshot to see the names of the available data points (plots).
When you select the indicator in the strategy builder or the chart alerts, you can change the plot to any of the 20 other plots so you can work with the statistic of interest.
Also, all 21 plot values will show in the charts data box window or the charts mini data box.
The indicator must be applied to a chart or data series that uses Volumetric bars.You must have the NinjaTrader lifetime license to access the Volumetric bars.
There is an option, for debugging, to print the output to the Ninjascript output window. This will show two values that should match on each line. One value is direct from the calculation and the other is from the plot (that gets it from the same calculation), the point is to remove the mystery of what data is being provided.
The purpose of the Universal Timed Alerts is to provide early notification of up to 10 user defined time events, such as Market open, news, reversal periods, no trade periods, etc. The indicator will work on non-time based charts such as Range and Unirenko. It will also work on time based charts. It uses its own timer system to trigger without need of onbarupdates.
Each user defined event is preceded by two early alerts, by default set to 5 minutes before and 1 minute before event.
Features:
1) From 1 to 10 User definable events.
2) For each event, a user defined message.
3) Two adjustable pre-event time notification periods
4) Adjustable background color, text font/size, textbox location.
Notification methods/mean available:
1) Color background starting at the earliest pre-event time up to the event start time
2) On chart Text box showing user defined message and count down timer to event (showing minutes:seconds).
3) Two user definable audio alerts (one for each pre-event)
4) Can output to NinjaTrader Alert window.
Note 1: By default, indicator will open showing only 1 event. To add more events, change the first line (Number Of Events) from 1 up to 10. After pressing enter or clicking elsewhere in the indicator, the indicator will resize showing the selected number of events and messages.
Note 2: Text box color is fixed and will start with yellow background and black letters. When the final pre-event timer triggers it will change the text box background to red, with white letters. The text box opacity can be set from 1 to 10 (10% to 100%). the text box can be display in any of 5 positions, the 4 corners and center. Option: If you install the indicator in its own panel or overlay it on another indicator panel, the text box and coloring will stay in that panel.
Another use of this indicator would be to color the background at different times, like creating a no trade zone of time. To do this set the pre-event 1 to the duration of the zone and the Event time to be the end period of that zone. The pre-event time does apply to all events and is not individually adjustable, in this version.
Update 3/30/14 Version 1.1
Added ability to dynamically show and leave historical Alert Markers (Vertical line) with small text box.