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)
I am trying to figure out how to shift the plot of an indicator that plots as a part of a strategy in NT. Basically I just want to plot the value of the indicator for the previous bar at the current bar. It seems like this should be easy to do, but I guess I am just lost at trying to make it happen.
Basically there is a portion of my strategy that compares whether the current bar crosses above the MAX indicator from the previous bar. This isn't really an issue as far as the strategy goes, but I would also like the indicator to visually plot on the chart in this offset location.
Ideally, I would simply like to plot something like "MAX(10)[1]," but I know this doesn't really work in this simple manner. Would I have to use something like ZOrder? I have looked for information on how to use ZOrder, but the NT help guide is pretty useless when it comes to this.
I hope this is some simple "do this one thing, you idiot" sort of task, and not something that involves trying to modify indicators or anything.
Thanks for the help,
Jordis
Can you help answer these questions from other members on NexusFi?
I think there should be various ways of achieving it.
You could try
ZOrder has nothing to do with the question. ZOrder just allows to control whether the plot will appear as the top layer (in front of the candles) or as the bottom layer (behind the candles).
With this, am I creating an indicator known as "StrategyPlot" and then initializing it within my working strategy, or am I doing all of this within the strategy itself?
I appreciate the help, and sorry for the dumb questions. I'm still learning!
jordis
With this, am I creating an indicator known as "StrategyPlot" and then initializing it within my working strategy, or am I doing all of this within the strategy itself?
I appreciate the help, and sorry for the dumb questions. I'm still learning!
jordis
There are no dumb questions! This is not easy and the forum has been created to allow us to share our knowledge.
The code can be simply inserted into your strategy. This will create a strategy plot that will show on your chart, when the strategy has been activated.