Does Multicharts support Tradestation .placeorder OCO macro syntax? - MultiCharts | futures io social day trading
futures io futures trading


Does Multicharts support Tradestation .placeorder OCO macro syntax?
Updated: Views / Replies:625 / 5
Created: by beezer1 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
 

Does Multicharts support Tradestation .placeorder OCO macro syntax?

  #1 (permalink)
Trading Apprentice
San Jose CA
 
Futures Experience: Intermediate
Platform: Tradestation
Favorite Futures: Eurex Futures
 
Posts: 3 since Jan 2014
Thanks: 3 given, 0 received

Does Multicharts support Tradestation .placeorder OCO macro syntax?

Hi all. I am considering moving from Tradestation to Multicharts & Rithmic, mainly due to being spooked out too much by Tradestation execution weirdness. I also want to eventually port my strategies to my own custom C++ client using Rithmic's R|API but that is another issue alltogether.

Similar to what was mentioned in a previous post here, my automated strategy creates an OCO bracket order via creating and calling a .placeorder macro. Can anybody tell me if Multicharts supports doing this?

Here's a small example of the syntax for a .placeorder macro in TS:

 
Code
OrderName = rightstr(myAccountId,2)+"-"+rightstr(numtostr(fracportion(computerdatetime),5),5)+OrderTag+"b";  	
OrderString = ".PlaceOrder " + DoubleQuote;   								 
OrderString = OrderString + "Account='" + myAccountId + "', ";   									 
OrderString = OrderString + "SymbolCategory='Future', ";   									 
OrderString = OrderString + "Duration='Day', ";   									 
OrderString = OrderString + "Symbol='" + mySymbol + "', "; 
OrderString = OrderString + "Action='Sell',"; 
OrderString = OrderString + "OrderType='Limit',"; 
OrderString += "LimitPrice="+numtostr(ptPrice,8)+","; 
OrderString = OrderString + "Quantity="+numtostr(myNumContracts,0)+","; 
OrderString = OrderString + "OSOTriggerBy= '"+parentOrderName+"',"; 
OrderString = OrderString + "OCOBracketName= '"+parentOrderName+"',"; 
OrderString = OrderString + "OrderName='"+OrderName+"'"+DoubleQuote;

Reply With Quote
 
  #2 (permalink)
Trading Apprentice
San Jose CA
 
Futures Experience: Intermediate
Platform: Tradestation
Favorite Futures: Eurex Futures
 
Posts: 3 since Jan 2014
Thanks: 3 given, 0 received

It's probably worth noting that I am executing this macro from within a chart indicator - one of Tradestation's many workarounds for various issues. I'd also like to know if Multicharts can do the same.

Reply With Quote
 
  #3 (permalink)
Trading for Fun
Hungary
 
Futures Experience: Beginner
Platform: Sierra
Favorite Futures: ES
 
Posts: 72 since Nov 2014
Thanks: 118 given, 46 received



beezer1 View Post
Hi all. I am considering moving from Tradestation to Multicharts & Rithmic, mainly due to being spooked out too much by Tradestation execution weirdness. I also want to eventually port my strategies to my own custom C++ client using Rithmic's R|API but that is another issue alltogether.

Similar to what was mentioned in a previous post here, my automated strategy creates an OCO bracket order via creating and calling a .placeorder macro. Can anybody tell me if Multicharts supports doing this?

Here's a small example of the syntax for a .placeorder macro in TS:

 
Code
OrderName = rightstr(myAccountId,2)+"-"+rightstr(numtostr(fracportion(computerdatetime),5),5)+OrderTag+"b";  	
OrderString = ".PlaceOrder " + DoubleQuote;   								 
OrderString = OrderString + "Account='" + myAccountId + "', ";   									 
OrderString = OrderString + "SymbolCategory='Future', ";   									 
OrderString = OrderString + "Duration='Day', ";   									 
OrderString = OrderString + "Symbol='" + mySymbol + "', "; 
OrderString = OrderString + "Action='Sell',"; 
OrderString = OrderString + "OrderType='Limit',"; 
OrderString += "LimitPrice="+numtostr(ptPrice,8)+","; 
OrderString = OrderString + "Quantity="+numtostr(myNumContracts,0)+","; 
OrderString = OrderString + "OSOTriggerBy= '"+parentOrderName+"',"; 
OrderString = OrderString + "OCOBracketName= '"+parentOrderName+"',"; 
OrderString = OrderString + "OrderName='"+OrderName+"'"+DoubleQuote;

grrr. such a string concatenation I have to drink something quickly.

anyway multichart has its own bracket order from charts which i find pretty awesome and intuitive as well. you 'll like am sure you will pretty much like it just give it a try

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).


Last edited by JohniFx; September 22nd, 2015 at 04:41 PM. Reason: typo
Reply With Quote
 
  #4 (permalink)
Trading Apprentice
San Jose CA
 
Futures Experience: Intermediate
Platform: Tradestation
Favorite Futures: Eurex Futures
 
Posts: 3 since Jan 2014
Thanks: 3 given, 0 received

Thanks for replying JohniFx. It's good to know that MC supports bracket orders.

I'm an aspiring auto trader who is quite heavily invested in EasyLanguage, and I am just wondering how much effort it will take to port my code to MultiCharts. If a lot of what I do is not supported in MC's implementation of EasyLanguage then I'm willing to bite the bullet and just re-write all my stuff in C++.

Reply With Quote
 
  #5 (permalink)
Elite Member
Eindhoven The Netherlands
 
Futures Experience: Intermediate
Platform: Sierra, NinjaTrader
Favorite Futures: TF NQ YM 6E ES
 
Posts: 46 since Mar 2013
Thanks: 40 given, 28 received

JohniFX (or other Multichart user).

Is there a way to implement the bracket OCO order in Multicharts by using the amount of ticks price moved to trigger the stoploss to move to breakeven plus 1?

This scenario:
Contract 1: Target +4 ticks, stoploss -10 ticks. When price moves in the anticipated direction for 4 ticks, then the stoploss will move from its original position of -10 ticks to breakeven plus 1 tick. So when price moved +4 ticks I want the stoploss to move, I do not want to wait until the target at +4ticks is filled.
Contract 2: Target +5 ticks, stoploss -10 ticks. When price moves in the anticipated direction for 4 ticks, then the stoploss will move from its original position of -10 ticks to breakeven plus 1 tick. So when price moved +4 ticks I want the stoploss to move.

Thanks in advance

Reply With Quote
 
  #6 (permalink)
Elite Member
Colorado
 
Futures Experience: Advanced
Platform: MultiCharts
Broker/Data: IB & Iqfeed
Favorite Futures: ES , CL
 
sptrader's Avatar
 
Posts: 533 since Apr 2010
Thanks: 1,080 given, 668 received

These questions are best asked in the Multicharts forum, they are very helpful....

http://www.multicharts.com/discussion/viewforum.php?f=1

Reply With Quote

Reply



futures io > > > > Does Multicharts support Tradestation .placeorder OCO macro syntax?

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
Important MultiCharts support notice Big Mike MultiCharts 19 October 5th, 2016 10:48 PM
MultiCharts CUDA optimization support Big Mike MultiCharts 6 October 23rd, 2013 11:31 PM
NT one click orders with 1buy OCO and 1 OCO.Can we do this???? Rad4633 NinjaTrader 2 December 1st, 2012 07:59 AM
TradeStation 9.1 Multi Core Support MadTr8r TradeStation 3 June 10th, 2012 06:26 PM
Does Multicharts support multiple IB accounts? David MultiCharts 7 July 11th, 2011 01:28 PM


All times are GMT -4. The time now is 11:49 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-15 in 0.12 seconds with 19 queries on phoenix via your IP 54.226.34.209