[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Highest High Ever!



PureBytes Links

Trading Reference Links


GOD (good old dennis) wrote:
> var: highest_high(0);
> 
> if high > highest_high then highest_high = high;
> 
> -- 
>    Dennis

that only works if you load the whole history of a symbol or if the ALL TIME HIGH 
is in the loaded days - wont work for anything that e.g. made a A_T_H five years 
ago and does a diver and you load 3 years of data or so.

didnt I see that OR provided a new function for that ? - but that would have the 
same problem as cant know.

how about combing an INPUT (for a manual inputed number) and the stuff from 
GOD - obviously that would be only good for a limited numbers of symbols and 
otherwise is a lot of work. but could be combined with DH´s code and keep track 
of it as soon as a symbol has made a new ATH in the recent history

rgds hans