How to sell previous holding instrument in a strategy? - futures io
futures io

How to sell previous holding instrument in a strategy?

Discussion in TradeStation

    1. trending_up 362 views
    2. thumb_up 0 thanks given
    3. group 1 followers
    1. forum 0 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

How to sell previous holding instrument in a strategy?

(login for full post details)
  #1 (permalink)
Hong Kong + Hong Kong
Posts: 18 since Feb 2019
Thanks: 9 given, 0 received

I want to implement a rotation strategy in Portfolio Maestro. The strategy is as follows,

The ETFs used are: IWM, SPY, MDY, QQQ
For every month,
1. calculate the % change of 62 days for each ETFs.
2. sell the hold ETF which doesn't have the highest %
3. buy the highest % ETF

In the Strategy Group, I can set parameters in Ranking tab to rank all etfs according to the % change, and apply my strategy in the highest % ETF to buy that ETF. But I don't know how to sell the previous holding ETF when applying my strategy in the highest % ETF.

For example,
I am holding SPY in the past, and at the next month, the % change of MDY is the highest. Then, I have to apply my strategy in MDY to sell SPY first and then buy MDY. How can I sell the previous holding instrument in my strategy?


Reply With Quote

futures io Trading Community Platforms and Indicators TradeStation > How to sell previous holding instrument in a strategy?

Last Updated on July 10, 2019

Upcoming Webinars and Events

NinjaTrader Indicator Challenge!


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),
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