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 want to ask about ideas how to do limit and stop entries in NinjaTrader when you work with NT Script Strategies. When one wants to run the script-strategy but to do the entry with a limit or stop price there must be a better solution than to edit the NT-script to write in the code the limit or stop price (that will often be a problem to do also during daytrading).
Thanks and best regards
Tony
Can you help answer these questions from other members on NexusFi?
This will probably be the last update/version of this bTPA, as I did a switch to a combination of indicator/strategy bTPA. It took me a long time for this step toward using strategies...
Back to this bTPA. I did go over the code. It has less lines and …
How do you access the value? Markets are moving up you think for a limit-sell at a certain value at this moment of time. How do you "feed" the strategy with this value, which will be done as limit-order and then working within the NT-script?
How do you access the value? Markets are moving up you think for a limit-sell at a certain value at this moment of time. How do you "feed" the strategy with this value, which will be done as limit-order and then working within the NT-script?
I don't know which value you are talking about. Entry price? If so:
Have a look a the whole thread (the link I posted). Most of the time I use lines (with the mouse) to place entry stop and targets, and then when I am confident, press a trade button. This is working nice with Indicators, but not with strategies as this fast drawing lines do not work there.
But you can also use something like one tick above/below actual or last bar, as I did in the last example (bTPAM), which is the only one that is an indicator that gives the commands to a strategy. There is a description in the tread. There are many ways to Rome. And for the first indy you can find a video on how this stuff works.
In most of the indicators I used stuff that is not officially supported. Only use such things if you know what you are about to do...
But you can see the principles and then code it your way. Take it as an inspiration to do better things.
thank you again for your reply. I think I understand the idea now how you do manage this. But I´m not a programmer, I can not realize as you do. Have to think how I could get this working for me.
Thanks again.
Tony
terratec
I don't know which value you are talking about. Entry price? If so:
Have a look a the whole thread (the link I posted). Most of the time I use lines (with the mouse) to place entry stop and targets, and then when I am confident, press a trade button. This is working nice with Indicators, but not with strategies as this fast drawing lines do not work there.
But you can also use something like one tick above/below actual or last bar, as I did in the last example (bTPAM), which is the only one that is an indicator that gives the commands to a strategy. There is a description in the tread. There are many ways to Rome. And for the first indy you can find a video on how this stuff works.
In most of the indicators I used stuff that is not officially supported. Only use such things if you know what you are about to do...
But you can see the principles and then code it your way. Take it as an inspiration to do better things.