Macros for flatten and reverse - futures io
futures io



Macros for flatten and reverse


Discussion in TradeStation

Updated
    1. trending_up 1,981 views
    2. thumb_up 1 thanks given
    3. group 2 followers
    1. forum 1 posts
    2. attach_file 3 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
 

Macros for flatten and reverse

(login for full post details)
  #1 (permalink)
sgjohnson
Kingsport, Tennessee
 
 
Posts: 35 since Apr 2020
Thanks: 13 given, 12 received

So in TradeStation (10 or 9.5) does one have to write their own macros to implement a hotkey solution for reversing or flattening a position? If so, anybody have any they can share?

Reply With Quote

Can you help answer these questions
from other members on futures io?
NFP
TradeStation
Looking for combined bar type (UniRenko with HeikinAshi) NT8
NinjaTrader
Server Sepcs
TradeStation
Can anyone help convert this pine script to EasyLanguage?
EasyLanguage Programming
2022 CME Group Market Data Fees Increase
Traders Hideout
 
 
(login for full post details)
  #2 (permalink)
 vmodus 
Legendary Systematic Algo Trader
Somewhere, Delaware, USA
 
Experience: Intermediate
Platform: MultiCharts
Broker: IB
Trading: Energies, Grains, Fixed Income
 
vmodus's Avatar
 
Posts: 1,121 since Feb 2017
Thanks: 2,572 given, 2,364 received

In TS, from the toolbar, go to View > Shortcuts > Macros...



Click the Create button to create a new macro. You should check the reference guide for the macro syntax, as these are considered 'command line' commands. Once you create the macro, you can assign a hot key.

In the online help, look for:
  • Order Execution Commands
  • .ReversePosition
  • .CloseAllPositions


I don't generally use macros, I just know how to create them and assign hot keys. You should play around with these in your SIM account to make sure the commands you are sending are doing what you want.

I hope this helps.

~vmodus

Enjoy everything!
Attached Thumbnails
Click image for larger version

Name:	SNAG-0504.png
Views:	76
Size:	26.1 KB
ID:	305406  
Follow me on Twitter Visit my futures io Trade Journal Reply With Quote
The following user says Thank You to vmodus for this post:


futures io Trading Community Platforms and Indicators TradeStation > Macros for flatten and reverse


Last Updated on October 1, 2020


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
     



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