Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
Trying my hand at developing a NT8 Supertrend indicator that mirrors the version found on TradingView. I've tried the TSSuperTrend indicator, which supposedly was converted from an equivalent in NT7, but found that it had some unusual properties not found in the standard Supertrend indicator that made it differ considerably from the TV one I've been used to using - some SMA smoothing and other such things.
I've got most of the core functionality down, but I'm running into an issue with the final plot behavior. I've been given to understand (from reading other indicators) that to "turn off" a plot for a span of bars one fills the points with NaNs, but this puts an unusual characteristic artifact to the indicator (see first photo below) - namely, that NT8 appears to render NaNs as equal to infinity (or something of that sort). I need help adjusting my final code so that rather than plotting these "artifacts", each Supertrend series simply does not plot at the respective times. I've included the source code as well as a TradingView screenshot of the final behavior I'm looking to achieve.
Thanks in advance,
loxacali
Can you help answer these questions from other members on NexusFi?
That did the trick! I know I had pondered the one-legged form of the assignment, but I wasn't sure how well that would play with the NT Series datatype. Sometimes, ideas require talking out.