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)
You can set a trailing stop in NT by calling the SetTrailStop method like so:
SetTrailStop (CalculationMode.Ticks, 12);
This will set a trailing stop 12 ticks behind current price. Of course you can set the 12 to a variable displayed on the strategy window. like such:
By modifying the value of Lot1,2,3 I assume you mean the quantity of orders placed? If so, you can specify how many contracts to enter in the EnterLong() and EnterShort() methods as such (using the target names in the strategy):
EnterLong(1, "target1"); // Executes a long with 1 contracts
EnterLong(2, "target2"); // Executes a long with 2 contracts
EnterLong(3, "target3"); // Executes a long with 3 contracts
To show text on the chart window, add something like this:
Chop filters are pretty unreliable from my point of view but a decent one to look at is the adxvma by sharky which can be found in the ninjatrader section of the downloads. I think I have an older version of it, and had to edit the indicator to set the bars to paint, then look for the color of the bars as so:
ADXVMA_sharky_paint(6,true).BarColor == Color.Red // this is the short color
ADXVMA_sharky_paint(6,true).BarColor == Color.Blue // this is the long color
Hope this helps. Play around with it and see what you can do.
Hey guys, I thought many of you would enjoy and benefit from this thread. My intention is to have each poster reply and describe in as much detail as possible an indicator they want created for NinjaTrader.
The programmers on the forum (there are many), …
That seems like a better place to have it done for you.
Or perhaps find an independent programmer and pay them to do it?
Rejoice in the Thunderstorms of Life . . .
Knowing it's not about Clouds or Wind. . .
But Learning to Dance in the Rain ! ! !