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 have never used this, so you'd want to test and verify:
Buy next bar at open next bar limit;
ABCTG
Posts: 2,436 since Apr 2013
Thanks Given: 482
Thanks Received: 1,629
Donovan2580,
another approach would be to use intrabar order generation and to issue the limit order once you have the open of the bar.
Regards,
ABCTG
Donovan2580
Port St. Lucie, FL
Posts: 36 since Jul 2016
Thanks Given: 22
Thanks Received: 37
I have tried:
Buy next bar at open next bar limit
And it works, but it pushes me out a bar. That is what I am trying to avoid.
Donovan2580
Port St. Lucie, FL
Posts: 36 since Jul 2016
Thanks Given: 22
Thanks Received: 37
ABCTG,
Two questions - how do I activate intrabar order generation & what code would I use to issue the limit order?
Thanks,
Donovan
kevinkdog
Posts: 3,666 since Jul 2012
Thanks Given: 1,892
Thanks Received: 7,360
I don't see what you are talking about, maybe I misunderstand. I tried both cases shown below, and they work as they should... the decision is marked with vertical line in both cases...
I would also suggest to read about the look inside bar backtesting feature of Tradestation to allow for a more accurate backtesting result, especially when it comes to intrabar order generation.
For orders "next bar" when intrabar order generation is active, means the next tick, so "Buy next bar at open limit; "
could work for you.
I just wanted to say thanks for the help and suggestions.
I ended up resolving this issue with the following code:
Then begin Buy next bar (Close + .25) limit;
I probably had an odd situation because I am working on KASE bar charts so in the end, I was able to work off the close of the "Trigger bar"
Thanks again for everyone's help!
Donovan
ABCTG
Posts: 2,436 since Apr 2013
Thanks Given: 482
Thanks Received: 1,629
Donovan2580,
you might want to take a look at this link showing some points to keep in mind when working on what TS calls "Advanced Bars" (like Kase), as you can easily fall into some pitfalls and create great looking backtests that will never hold up in real trading: Advanced Chart Types - Strategy Back-testing & Automation