Trading Articles
Article Categories
Article Tools
Cannot Execute Automated Strategy
Updated April 20, 2021
trending_up
4,340 views
thumb_up
1 thanks given
group
3 followers
forum
2 posts
attach_file
0 attachments
Welcome to futures io: the largest futures trading community on the planet, with well over 150,000 members
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 and simple.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
Cannot Execute Automated Strategy
(login for full post details)
#1 (permalink )
San Antonio, TX
Posts: 31 since Apr 2020
Thanks: 10 given,
6
received
Hello,
For some reason, I cannot place orders using my automated strategy. I can manually put in a limit order but not from my strategy. My code is below. I made sure automation was on without account confirmation. I checked the max number of bars field, that is fine. Looked around everywhere on tradestation and could not figure this out.
Can someone please help?
Thank you!!!
Ryan
/*
begin;
buy 1 share next bar at 18 limit;
if c[0]=19.00 then sell 1 share next bar at market;
end;
*/
The following user says Thank You to jkepha for this post:
Can you help answer these questions from other members on futures io?
Best Threads (Most Thanked) in the last 7 days on futures io
(login for full post details)
#2 (permalink )
Legendary Systematic Algo Trader
Somewhere, Delaware, USA
Experience: Intermediate
Platform: MultiCharts
Broker: Barchart.com
Trading: Everything, it all tastes like chicken
Posts: 1,263 since Feb 2017
Thanks: 2,958 given,
2,842
received
jkepha
Hello,
For some reason, I cannot place orders using my automated strategy. I can manually put in a
limit order but not from my strategy. My code is below. I made sure automation was on without account confirmation. I checked the max number of bars field, that is fine. Looked around everywhere on tradestation and could not figure this out.
Can someone please help?
Thank you!!!
Ryan
/*
begin;
buy 1 share next bar at 18 limit;
if c[0]=19.00 then sell 1 share next bar at market;
end;
*/
Your syntax looks okay. There are a few things to look at:Was the limit price hit? A limit order might not get filled if the limit price was blown away (i.e. gapped past the price)
Did you check the Trade Manager to see what happened to the order? This may give you a clue.... if it is not there, then the strategy did not send it
Are you using delayed data rather than real-time?
Do you have the correct account selected? Do you have account confirmation turned on or off?
~vmodus
Enjoy everything!
(login for full post details)
#3 (permalink )
Philadelphia PA
Experience: Advanced
Platform: Multicharts
Broker: Ironbeam, Rithmic
Trading: Emini ES / NQ / CL / RTY / YM / BTC
Posts: 344 since Jan 2019
Thanks: 20 given,
138
received
Try changing the LIMIT order to a STOP order .
Also, which execution broker are you using ? i.e. Interactive, Rithmic, etc...
Last Updated on April 20, 2021
Ongoing