Tomasz, OK, this does make sense. And your opinion is much more important than mine anyway :)
BTW, Report Charts in v5.29.6 work like a charm for me, thanks for your guidance. Best regards, Sergei --- In [email protected], Tomasz Janeczko <gro...@...> wrote: > > Hello, > > I disagree. It is natural for the developer to check for documented > values, but developer MUST NEVER assume that software will not evolve. > So you must check for equality against DOCUMENTED values (and these do > not change), but you must NOT assume that other values will never > happen. Status("action") values other than documented mean "other" > action. The same with actionEx. Do the equality check (==), but do not > use != check or do not assume that no other values will be returned > because your code will possibly break when new features arrive and more > statuses will be returned. > > Current documentation specifically says that "action" provides only > limited info and values that are documented (indicator, scan, > exploration, backtest, portfolio backtest) work as they should, so any > equality check works as it should. > To get DETAILED information about cases NOT covered by "action" status > you should use "actionex" instead. > > So once again: new code should actionEX if you are interested in > detecting ANY context different than pure indicator, scan, exploration, > commentary, backtest or portfolio backtest (CBT). > > > Best regards, > Tomasz Janeczko > amibroker.com
