Hi all,
I'm a relative newbie to PL and wondering if there's a function equivalent to the na(x) (NotANumber boolean) function found in PineScript, or if there's some quick and easy way to code one. My searches in the Keyword Reference and here haven't been very fruitful.
Thanks!
PowerLanguage equivalent for PineScript na(x)?
- Kate MultiCharts
- Posts: 606
- Joined: 21 Oct 2020
- Has thanked: 12 times
- Been thanked: 152 times
Re: PowerLanguage equivalent for PineScript na(x)?
Hi fltngpnt,
There's no NaN or na() function in Poweranguage I'm afraid.
There's no NaN or na() function in Poweranguage I'm afraid.
- ABC
- Posts: 723
- Joined: 16 Dec 2006
- Location: www.abctradinggroup.com
- Has thanked: 125 times
- Been thanked: 410 times
- Contact:
Re: PowerLanguage equivalent for PineScript na(x)?
fltngpnt,
you can usually walk around that and replace this functionality with custom code in PowerLanguage or even remove it completely. What approach to choose depends on the code you are trying to translate.
Regards,
ABC
you can usually walk around that and replace this functionality with custom code in PowerLanguage or even remove it completely. What approach to choose depends on the code you are trying to translate.
Regards,
ABC