Login Page - Create Account

Support Board


Date/Time: Thu, 28 Nov 2024 18:38:55 +0000



[Programming Help] - Copy trades from symbol to symbol (Sort of Basket Trading ?)

View Count: 339

[2023-04-07 16:26:13]
MihTur - Posts: 2
Hello everyone.
New member here, and still pretty new to the software, so far so good, I love it.
Have a quick question.
Is it possible to use the spreadsheet auto trading do to this?
Let's suppose i have a chartbook with charts and doms from 2 symbols, for example MNQ and MES.
Let's suppose i do enter and exit the trades manually on the MNQ every time.
What i would like to do is copy the trades from MNQ to MES by doing this:
Using the spreadsheets, determine if there is any open position on the MNQ symbol and the quantity of it, if yes then open a trade on the MES symbol with the same quantity. Ideally this would work with scaling in and out too.
Example, Me: market buy MNQ x 3 - Spreadsheet auto trading: market buy MES x 3 - Me: market sell MNQ x 1 (scale out) - Spreadsheet auto trading: market sell MES x 1 - Me: market sell MNQ x 2 (close position) - Spreadsheet auto trading: market sell MES x 2

I am not that good at coding, that's why I'm asking for the spreadsheets specifically.
If this is not possible with spreadsheets, and only doable using the custom studies I guess my only option is to learn to code properly lol.

Any help and/or direction where to start from would be much appreciated.
Thank you. =)

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account