NexusFi: Find Your Edge


Home Menu

 





how to buy/sell at dataN according to the price of data1


Discussion in TradeStation

Updated
      Top Posters
    1. looks_one fffyoufff with 2 posts (0 thanks)
    2. looks_two CharlesVilleneuve with 2 posts (0 thanks)
    3. looks_3 Nicolas11 with 2 posts (0 thanks)
    4. looks_4 ABCTG with 1 posts (0 thanks)
    1. trending_up 3,495 views
    2. thumb_up 0 thanks given
    3. group 3 followers
    1. forum 6 posts
    2. attach_file 0 attachments




 
Search this Thread

how to buy/sell at dataN according to the price of data1

  #1 (permalink)
fffyoufff
shanghai, china
 
Posts: 2 since Jul 2012
Thanks Given: 0
Thanks Received: 0

For example:

Data1 is for E-Mini, Data2 is for S&P500. is it possible for TS to trade S&P500 according to the price info of E-Mini?

seems DataN is only for data reference rather than order trading. That means I couldn't use : buy this bar of data2 on close. Is my understanding correct?

in Ninjatrader, we can use EnterLong(SymbolName, 1) to trade any symbol. so I am confused on this.

could anyone share your expertise here? Appreciate for any comment.

thanks

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Build trailing stop for micro index(s)
Psychology and Money Management
Exit Strategy
NinjaTrader
Deepmoney LLM
Elite Quantitative GenAI/LLM
Ninja Mobile Trader VPS (ninjamobiletrader.com)
Trading Reviews and Vendors
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
60 thanks
Funded Trader platforms
37 thanks
NexusFi site changelog and issues/problem reporting
24 thanks
GFIs1 1 DAX trade per day journal
22 thanks
The Program
19 thanks
  #2 (permalink)
 
Nicolas11's Avatar
 Nicolas11 
near Paris, France
 
Experience: Beginner
Platform: -
Trading: -
Posts: 1,071 since Aug 2011
Thanks Given: 2,232
Thanks Received: 1,769

Hi,

As far as I know, it is not possible with MultiCharts to trade another instrument than Data1, so I think it is the same for TradeStation, but I have never used TradeStation.

But is it really a problem?
You just have to apply the study to the instrument you have to trade. In this case, the instrument will be Data1.
And you can use the other as Data2 for any calculation you want.

But perhaps I misunderstood your question...

Nicolas

Visit my NexusFi Trade Journal Reply With Quote
  #3 (permalink)
fffyoufff
shanghai, china
 
Posts: 2 since Jul 2012
Thanks Given: 0
Thanks Received: 0


thansk, Nicolas

my question in fact is like:

How can I enter buy/sell orders for more than one symbols in a strategy? Where/how can I specify the symbol to be traded in the easylanguage buy/sell commands?

Reply With Quote
  #4 (permalink)
 
Nicolas11's Avatar
 Nicolas11 
near Paris, France
 
Experience: Beginner
Platform: -
Trading: -
Posts: 1,071 since Aug 2011
Thanks Given: 2,232
Thanks Received: 1,769

For MultiCharts, as far as I know, you cannot.
(I refer to MultiCharts, because it uses basically the same language as TradeStation. But they are totally different platforms.)
You can only buy/sell the instrument to which the strategy is applied.
If you want to trade 2 instruments with the same strategy, you need to open 2 charts, and apply to each of them a relevant strategy.
Official reference: Spread and [AUTOLINK]Pair Trading[/AUTOLINK] - MultiCharts

For TradeStation, I do not know.
I have found a video ( Pairs Trading with TradeStation 9.0.mp4 - YouTube ) showing that it might be possible with additional customization. But I prefer to stop here, because I have never used this platform.

EDIT: I realize now that your question was raised in the TradeStation forum. I should not have stepped in with my MultiCharts ideas. Sorry for the confusion.

Nicolas

Visit my NexusFi Trade Journal Reply With Quote
  #5 (permalink)
CharlesVilleneuve
Valencia Spain
 
Posts: 3 since Nov 2016
Thanks Given: 0
Thanks Received: 0

I saw a question where someone was asking if it is possible to trade a product which would be different than the one used to make the decision. I think you can do it with Multicharts using their function called Symbol Mapping.

Open the Symbol Mapping tool and you can, for example, select on the left side (DATA) as being the S&P 500 and select the NASDAQ100 on the right side or whatever you want to buy when the DATA SYMBOL generated an order.

I think this could work.

Reply With Quote
  #6 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,431 since Apr 2013
Thanks Given: 481
Thanks Received: 1,623

CharlesVilleneuve,

you will likely run into problems when you try to map and trade on instruments with different parameters. According to Henry from Multicharts, "You can't trade from GCM16 to MGCM6 due to different instrument parameters.". Even if the instruments have the same parameters, you'd have to be careful as Multicharts wouldn't automatically convert your limits and stops on the mapped symbol.

In general the symbol mapping does a good job when you try to chart a symbol from datafeed 123 and trade the same symbol on broker XYZ.
When it comes down to trading DataN it might be better to use one of these approaches:

- use the Portfolio Trader to trade on a specific symbol, although the trigger came from another symbol
- make the DataN your Data1 symbol and make the previous Data1 symbol your new DataN and trigger the symbols
from DataN
- use external DLLs to exchange symbols between two charts

While all of the above will require some programming, they can get the job done, when the symbol mapping approach might not work.

Regards,

ABCTG




CharlesVilleneuve View Post
I saw a question where someone was asking if it is possible to trade a product which would be different than the one used to make the decision. I think you can do it with Multicharts using their function called Symbol Mapping.

Open the Symbol Mapping tool and you can, for example, select on the left side (DATA) as being the S&P 500 and select the NASDAQ100 on the right side or whatever you want to buy when the DATA SYMBOL generated an order.

I think this could work.


Follow me on Twitter Reply With Quote
  #7 (permalink)
CharlesVilleneuve
Valencia Spain
 
Posts: 3 since Nov 2016
Thanks Given: 0
Thanks Received: 0

Thanks ABCTG, your option is much safer than mine, I agree. As I always trade "market orders" I did not take into account the Limit and Stop orders. But your way is better anyway, thanks for sharing.

Charles




ABCTG View Post
CharlesVilleneuve,

you will likely run into problems when you try to map and trade on instruments with different parameters. According to Henry from Multicharts, "You can't trade from GCM16 to MGCM6 due to different instrument parameters.". Even if the instruments have the same parameters, you'd have to be careful as Multicharts wouldn't automatically convert your limits and stops on the mapped symbol.

In general the symbol mapping does a good job when you try to chart a symbol from datafeed 123 and trade the same symbol on broker XYZ.
When it comes down to trading DataN it might be better to use one of these approaches:

- use the Portfolio Trader to trade on a specific symbol, although the trigger came from another symbol
- make the DataN your Data1 symbol and make the previous Data1 symbol your new DataN and trigger the symbols
from DataN
- use external DLLs to exchange symbols between two charts

While all of the above will require some programming, they can get the job done, when the symbol mapping approach might not work.

Regards,

ABCTG


Reply With Quote




Last Updated on November 21, 2016


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
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.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts