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)
Here is what mine looks like now as I have not cleaned it up yet. So it's rather busy at the moment. But I plan on removing most of those things @ the bottom.
Since I don't have any plot options at the moment, and I'm not sure if I'm going to add them, it is only going to be the different lengths for each indicator available. So it's not very many settings on there.
The trading I'm doing is partially dependent on pullbacks to the 13ma. And attached is a picture of what my Market Analyzer looks like now.
Right now I will usually consider a pb complete if price gets a minimum of 2 tics within that ma to begin to look for a trade. So typically once it gets there, I start putting my cross hair on that bar, and looking at the values of the H/L of that bar and the 13ema to see if it's right.
I'm thinking I can add that in the indicator, so that when price is within 2 tics of that ma, I can have it displayed in Market Analyzer.
Then the problem would be if I use a different value for a different instrument. CL for example I would give it 4 tics since it moves faster.
Hmmmm..........?
Idea..... I could just add that condition in the market anaylzer via the 'cell conditions' block by adding the 13 ma as a new column. The problem would be that I coudln't set it for each instruemnt.
Also... it would trigger EVERY time price was near it. Which isn't all bad, but I would like it to feel a bit more 'integrated.'
So I'm thinking the logic will be using a flag to decide when to NOT ignore price being near the 13ema.......
If (TrendState == True) //price makes a New LL/HH beyond the blue/red cloud. Logic already built
{
Flag = true //flag so we know to begin looking for a pb to 13ma. Logic here already as well
}
If (Flag == true)
{
If(price == 13ema) //build in tolerance here as well plus/minus tic size
{
pbToEma[0] = true //This is the alert that I will have built into a dataSeries for Market Analyzer
}
}
If(pbToEma[0] == true)
{
If(TrendState == False) //trend no longer happening, so we no longer care if price approaches ma, and time to reset
{
Flag = false //reset the flag, so we are no longer looking for pb to 13ema
}
}
Here is what mine looks like now as I have not cleaned it up yet. So it's rather busy at the moment. But I plan on removing most of those things @ the bottom.
If you serialize the plots by using code, you can remove the original plot options by adding the line
Would that mean that I couldn't add the configurable option to be able to adjust the plots on the indicator itself at the bottom? I planned on adding that in at some point.
Would that mean that I couldn't add the configurable option to be able to adjust the plots on the indicator itself at the bottom? I planned on adding that in at some point.
The PlotsConfigurable option has nothing to do with what will be displayed on your chart.
NinjaTrader has an in-built serialization of plots. This serialization allows you to select the colors, dashstyle and plotstyle of your plots in a way that it can be saved as part of a template or part of a workspace.
However, if you want more options, such as down colors and up colors, you need to do the serialization manually and you do not need the in-built serialization any more. When I code indicators, I
-> either use the in-built serialization (do nothing)
-> or I serialize all plots via code (define properties for up- and down color, plotstyle, dashstyle and plotwidth) and set PlotsConfigurable = false;
Just try and see what happens, your PC will not explode.