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)
Does anyone have a comprehensive sample strategy that you could share which incorporates the various functions:
IOrder IExecution IPosition OnOrderUpdate
Here's a snippet from the NT website which tells me I need to understand the use of these advanced functions together:
The samples on the NT fileshare are the "Lite" version which typically only include the small sample of the syntax with the tie-in to the OnBarUpdate main section. Finding the "Needle In The Haystack" of how orders flow in one file is what i'm hoping someone will share. I understand there is an order flow with priorities of the internal workings of NT that are not revealed.
Any help or reference you can provide is much appreciated.
Regards,
Kirk
Can you help answer these questions from other members on NexusFi?
I have realized 4 strategies that you can use on ES, TF, NQ and YM market.
EnterDailyHighLow: breakout strategy that enter if the price is upper or lower t max e min day betwenn 20:30 and 21:30 (italian time). You can set stop loss and profit target.
…
If I remember it correctly they include OnOrderUpdate and OnPositionUpdate but they are not really well commented (and most of the comments are in Italian anyway)
Good luck and if you would find anything helpful please post!
thanks gregid,
all of those files (from the Italian connection!) had some good script on IPosition and one had an IOrder section -i'll check them out further... I did a quick market replay and didn't have any orders placed so I'm not sure how to get some results to verify....
The other thing that makes me wonder is if IExecution were added to any of these files, what would be the manner to tie them all together???
Any other leads or assistance is greatly appreciated.
kz
I've been working with a trailing stop strat that actually moves the trailing stop with a visual marker and now i'm trying to emulate the breakeven feature of ATMs.
Hello, interested in trailing stop in ninja strategy... i have been struggling with it for awhile, is there a way to set a trailing stop that adjusts with an indicator, say parabolicSAR +/- 1 tick on ES. I can't seem to get trailing stop to reset after the first order is executed. Also, you mentioned a visual way to see trailing stop, where or how do you track a trailing stop while order is running? I looked at ninja support/help but just don't get it, not a programmer, just trying to simulate/test my strategy performance.
thanks
If I remember right, you're a programmer from Chicago??? . I spoke to you about a project last year....
I guess the thing that would eliminate the confusion for me is if a template including all four of these in basic form is available. for example, is the sequence critical? Do I need to use return statements within the different functions? Does OnBarUpdate include only a couple lines with the bulk of the code going in the other I...xyz functions?
thanks for any basic format you could offer.
Kirk