I'd like to find the maximum pub(not large price, pub #) between 2 times.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I use this:
PHP Code: <code><span style=”color: #000000”> <span style=”color: #0000BB”>iHighest</span><span style=”color: #007700”>(</span><span style=”color: #0000BB”>Symbol</span><span style=”color: #007700”>(),</span><span style=”color: #0000BB”>0</span><span style=”color: #007700”>,</span><span style=”color: #0000BB”>MODE_HIGH</span><span style=”color: #007700”>,</span><span style=”color: #0000BB”>238</span><span style=”color: #007700”>,</span><span style=”color: #0000BB”>120</span><span style=”color: #007700”>)
</span><span style=”color: #0000BB”></span> </span> </code> The results was: 322
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Why's this?! It's supposed to be between 120 and 238, not outside this range.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
what's the problem guys? Anyone had any problems with this?
I constantly used like highest pub between current bar and 10 previous bars and that worked nicely, but once I use, for instance, the previous 100 pubs back to 200 pubs, I don't get the correct results.