Cannot Execute Automated Strategy - futures io
futures io



Cannot Execute Automated Strategy


Discussion in EasyLanguage Programming

Updated
    1. trending_up 1,029 views
    2. thumb_up 1 thanks given
    3. group 3 followers
    1. forum 2 posts
    2. attach_file 0 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 125,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)

 
Search this Thread
 

Cannot Execute Automated Strategy

(login for full post details)
  #1 (permalink)
jkepha
San Antonio, TX
 
 
Posts: 27 since Apr 2020
Thanks: 7 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;

*/

Reply With Quote
The following user says Thank You to jkepha for this post:

Journal Challenge April 2021 results (now extended!):
Competing for $1800 in prizes from Jigsaw
looks_oneMaking a Living with the Microsby sstheo
(357 thanks from 34 posts)
looks_twoSalao's Journalby Salao
(81 thanks from 13 posts)
looks_3Learning to Profit - A journey in algorithms and optionsby Syntax
(58 thanks from 17 posts)
looks_4Deetee’s DAX Trading Journal (time based)by Deetee
(51 thanks from 22 posts)
looks_5Maybe a little bit different journalby Malykubo
(37 thanks from 20 posts)
 
Best Threads (Most Thanked)
in the last 7 days on futures io
The Crude Dude Oil Trading System
113 thanks
Help improve the FIO community
38 thanks
futures io site changelog and issues/problem reporting
26 thanks
Next New Poll Ideas/Suggestions
20 thanks
www.isystems.com
17 thanks
 
(login for full post details)
  #2 (permalink)
 vmodus 
Legendary Systematic Algo Trader
Somewhere, Delaware, USA
 
Experience: Intermediate
Platform: TradeStation, MultiCharts
Broker: TS Securities, OANDA
Trading: Energies, Grains, Fixed Income
 
vmodus's Avatar
 
Posts: 1,057 since Feb 2017
Thanks: 2,292 given, 2,205 received


jkepha View Post
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:
  1. 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)
  2. 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
  3. Are you using delayed data rather than real-time?
  4. Do you have the correct account selected? Do you have account confirmation turned on or off?

~vmodus

Enjoy everything!
Follow me on Twitter Visit my futures io Trade Journal Reply With Quote
 
(login for full post details)
  #3 (permalink)
 syswizard 
Philadelphia PA
 
Experience: Advanced
Platform: Multicharts
Broker: Ironbeam, Rithmic
Trading: Emini ES / NQ
 
syswizard's Avatar
 
Posts: 101 since Jan 2019
Thanks: 11 given, 67 received


Try changing the LIMIT order to a STOP order.
Also, which execution broker are you using ? i.e. Interactive, Rithmic, etc...

Reply With Quote


futures io Trading Community Platforms and Indicators EasyLanguage Programming > Cannot Execute Automated Strategy


Last Updated on April 20, 2021


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
 

Journal Challenge w/$1,800 in prizes!

April

An Introduction to CME Group Micro Bitcoin Futures w/David Lerman

Elite only
     



Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada), info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts