AddOrder(): Does this dang thing work? - ThinkOrSwim | futures io social day trading
futures io futures trading


AddOrder(): Does this dang thing work?
Updated: Views / Replies:4,526 / 6
Created: by aventeren Attachments:0

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

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

Reply
 
Thread Tools Search this Thread
 

AddOrder(): Does this dang thing work?

  #1 (permalink)
Patient Discipline
Bellingham, WA USA
 
Futures Experience: Beginner
Platform: NT
Broker/Data: Mirus (Broker), Continuum (Data), Dorman (Clearing)
Favorite Futures: Futures
 
aventeren's Avatar
 
Posts: 202 since Mar 2013
Thanks: 426 given, 191 received

AddOrder(): Does this dang thing work?

Howdy all--

I was curious if anyone has had any luck using the AddOrder() thinkScript within a custom study or strategy. The AddOrder() is discussed on the TOS platform here: http://demo.thinkorswim.com/manual/dark/thinkscript/reference/Functions/Others/AddOrder.html.

I built a fairly simply custom study that contained an indicator that I am using to enter and exits my trades. I'm finding that being quick is important (I'm trading the 6E), so I thought at a minimum I would use AddOrder() to enter the trade, and then I would manually place my bracket stops once the position was entered into. However, I was unsuccessful in my attempt to get AddOrder() to work.

I tried chatting with TOS this AM about this, and they basically went into vapor lock and just left the chat, which left me perplexed.

A little research on TOS's website resulted in this: Using Strategies ? Resource Center, in which the key phrase is "Note that currently you cannot send real orders using strategies."

I then did a little more research, and I found that you can use "Alerts" for order entry and exits, but you can only use time-based aggregation periods, and given that I am use Range Charts and not Time Charts, I don't think using the Alerts tab will work for me.

Is it actually true that you cannot place orders using TOS thinkScript and that the only way to enter or exit an order is by manually clicking through the order process?

My goal is to paper trade trade entries and exits based on a simple indicator moving into and out of a condition (ie, on or off). Is anyone currently successfully using "algorithmic" order entry and exits based on a user defined study or strategy?

Thanks!

Reply With Quote
 
  #2 (permalink)
Knowledge Seeker
Dubai, UAE
 
Futures Experience: Intermediate
Platform: TOS, TradeStation
Broker/Data: OX, TradeStation
Favorite Futures: Stocks & Basic Options
 
RedK's Avatar
 
Posts: 171 since May 2012
Thanks: 44 given, 138 received

I believe automated trading was stripped away from ToS a while back.. you can use the AddOrder() to backtest your custom strategies (based on the built-in studies or custom studies that you create or download and add to your ToS) .. the way it works in summary, you modify the study to create the entry/exits "orders" (best way is to look at the existing strategies in ToS and modify your studies similarly), then couple the studies into a strategy (have an entry and an exit pair), then right-click and generate the back-testing report and see how your strategy works ...

I did this few times and it does work.. but don't use it all that frequently .. does this help?
K,

Reply With Quote
The following 2 users say Thank You to RedK for this post:
 
  #3 (permalink)
Patient Discipline
Bellingham, WA USA
 
Futures Experience: Beginner
Platform: NT
Broker/Data: Mirus (Broker), Continuum (Data), Dorman (Clearing)
Favorite Futures: Futures
 
aventeren's Avatar
 
Posts: 202 since Mar 2013
Thanks: 426 given, 191 received



RedK View Post
I believe automated trading was stripped away from ToS a while back.. you can use the AddOrder() to backtest your custom strategies (based on the built-in studies or custom studies that you create or download and add to your ToS) .. the way it works in summary, you modify the study to create the entry/exits "orders" (best way is to look at the existing strategies in ToS and modify your studies similarly), then couple the studies into a strategy (have an entry and an exit pair), then right-click and generate the back-testing report and see how your strategy works ...

I did this few times and it does work.. but don't use it all that frequently .. does this help?
K,

Bummer; just as I suspected. Thanks for your quick reply, RedK!

Have a great weekend!

Reply With Quote
 
  #4 (permalink)
Elite Member
Portland, OR
 
Futures Experience: None
Platform: tos
Favorite Futures: NQ, SB, 6J, CL, GC
 
Massive l's Avatar
 
Posts: 1,458 since Mar 2011
Thanks: 922 given, 1,822 received

@aventeren Yep and 3 years later still nothing :/ I have some great strategies and it would be nice to have them automatically triggered through 6 instruments. Manual trading should be a thing of the past. What are you using today?

Psychology > Strategy ≥ Money
Reply With Quote
 
  #5 (permalink)
The Next Big Thang!
New Brunswick, NJ, USA
 
Futures Experience: Intermediate
Platform: ThinkOrSwim
Favorite Futures: Stocks (currently), Futures & Options (starting), Forex (maybe someday)
 
Posts: 9 since Dec 2014
Thanks: 18 given, 0 received

Is there any way to get trades automatically triggered using ToS?

Reply With Quote
 
  #6 (permalink)
The Next Big Thang!
New Brunswick, NJ, USA
 
Futures Experience: Intermediate
Platform: ThinkOrSwim
Favorite Futures: Stocks (currently), Futures & Options (starting), Forex (maybe someday)
 
Posts: 9 since Dec 2014
Thanks: 18 given, 0 received


WattMan View Post
Is there any way to get trades automatically triggered using ToS?

I did continue my research and found some helpful pointers on the net (I am yet to see how they can apply to my case). One of them comes from a ToS centered alternate website. In a nutshell, within ToS users can create Conditional Orders which at creation point are GTC (unless you want to re-create the same order daily!) and IMHO be be made part of simple OCO or larger Bracket orders (disclaimer: all this is pending testing!). Why I liked this particular pointer was even though there is programming, ToS offers a UI driven Condition Wizard which can be seamlessly be used with the thinkScript Editor (they are both side by side) and all you need to do is copy the final thinkScript code generated to add as part of the condition definition. When such orders are placed through ToS, the submitted order status shows "Wait Cond." and before accepting such order ToS will display a couple of warnings and disclaimers around such orders. Till I saw this website and video, I was not aware such a capability resided within ToS which seems pretty powerful to me as of my current understanding...

For anyone interested, please note that as of writing this post, I am fairly convinced on the approach and framework, but have done no testing whatsoever. I do intend to post an update when I have conclusive observations to share with this group.

Admin / BigMike - I am unsure if I can post external website or YouTube video links here - please let me know

Till then interested users feel free to PM me. I typically get to this forum late evenings EST timezone...

Reply With Quote
 
  #7 (permalink)
The Next Big Thang!
New Brunswick, NJ, USA
 
Futures Experience: Intermediate
Platform: ThinkOrSwim
Favorite Futures: Stocks (currently), Futures & Options (starting), Forex (maybe someday)
 
Posts: 9 since Dec 2014
Thanks: 18 given, 0 received


WattMan View Post

Admin / BigMike - I am unsure if I can post external website or YouTube video links here - please let me know

Till then interested users feel free to PM me. I typically get to this forum late evenings EST timezone...

Since I didn't any objections from anyone, here is the link I was referring to in my response above. My testing is still pending but hope this link & video helps:

https://www.hahn-tech.com/thinkorswim-autotrade-almost/

Reply With Quote

Reply



futures io > > > > AddOrder(): Does this dang thing work?

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Quantopian - Pretty dang cool, especially if you like Python vbt101 Trading Reviews and Vendors 15 January 28th, 2016 05:34 PM
next big thing ckait Trading Reviews and Vendors 4 November 16th, 2012 01:58 PM
A Little Inflation Can Be a Dangerous Thing kbit News and Current Events 0 September 19th, 2011 06:55 PM
Is this type of thing possible in NinjaTrader? richw NinjaTrader Programming 10 February 19th, 2011 09:47 PM


All times are GMT -4. The time now is 09:35 AM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, 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
Page generated 2017-12-14 in 0.12 seconds with 19 queries on phoenix via your IP 54.82.56.95