PDA

View Full Version : Bar timer


nicko9
10-19-2007, 05:07 AM
I have selected thsi indicator in a column in a market analyzer window.

How do I interpret the values returned which cover a range of values betweemn 99.150 and 5770.0 depending omn the instrument. I set the value to 60 minutes

please see attached file

I have the same indicator in a chart and it makes perfect sense. Incidentally the placement for the bar timer is the same as for the tick counter. If both are included in a chart they over-write and can't be read.

thanks

NinjaTrader_Dierk
10-19-2007, 05:14 AM
The BarTimer indicator is not designed to run in the Market Analyzer but only on chart.

fifty2aces
12-21-2007, 08:13 AM
The BarTimer indicator is not designed to run in the Market Analyzer but only on chart.

Is there any way of making an alert if an indicator is below a certain value, and there is only 1 minute left of the current bar? I thought about using the market analyzer, but presumably this won't work if BarTimer can't be used.

NinjaTrader_Dierk
12-21-2007, 08:17 AM
Sure, but this would require custom coding in NinjaScript.

fifty2aces
12-21-2007, 08:53 AM
Sure, but this would require custom coding in NinjaScript.


Would that mean creating a custom strategy?

NinjaTrader_Dierk
12-21-2007, 08:55 AM
No, you would need to create a custom indicator:
- one plot
- set plot value to 0 if alert condition false
- set plot value to 1 if alert condition true
- throw indicator on MA and add alert to trigger if indicator value == 1