View Full Version : How to compare Low and new Low
Jenny
10-23-2007, 04:46 AM
I would like to compare low and new low in certain time. How to do that?
Have nice day!
NinjaTrader_Ray
10-23-2007, 06:27 AM
Using the wizard?
Jenny
10-23-2007, 07:29 AM
Yes, if you can. But if we can't use Wizard, how to do it in others ways?
Thanks
NinjaTrader_Josh
10-23-2007, 01:23 PM
Hi Jenny,
Can you please clarify the exact condition you want? From my current understanding you want to keep a Low value from a certain time and then later in the day compare that Low value with the current Low?
Jenny
10-23-2007, 06:50 PM
I would like to compare Low and newLow or Most recent low with second most low, High and new High or Most recent high with second most recent high, to konw it is Bull or Bear to deside to buy or sale. Do you have some easy way?
NinjaTrader_Josh
10-23-2007, 08:36 PM
If I am understanding you correctly by most recent high you mean current bar and by second most recent high you mean the high of the previous bar. If this is what you mean you can achieve this in a very nice and convenient method.
High[0] <- current bar's high
High[1] <- previous bar's high
High[2] <- the prior bar to the previous bar's high
etc. etc.
This can be done on anything using the indexing [].