Triage Strategy Tracker

From Triage Documentation

Jump to: navigation, search



The Triage Strategy Tracker application will send your strategy positions to any voice phone, SMS, email, fax, instant messenger, RSS, Twitter or Facebook account.

Simply install TradeWatch -- that’s all it takes to start sending TradeStation strategy reports at any time and anywhere you go.

Quick Start

  1. Please make sure you are in TradeWatch “test” mode (which can be set with the TradeWatch program tray-icon on your Windows taskbar).
  2. Insert $Triage_Strategy into any chart where you have your own strategy running that you would like information reported to you via TradeWatch.
  3. Set the input parameters to your desired settings. You can use the defaults to see it in action.
  4. Wait for your $Triage_Strategy report to trigger.
  5. Check your TradeStation printlog or your message log in the TradeWatch program.
  6. If the reports are being sent to you as you expect, then set TradeWatch to “live” mode and strategy reports will be sent to you at any time and wherever you go.

Sample Strategy Reports

Input Parameters

ttPosition_Info:	What strategy position information to show?
"*" = all information
"1" = Position Profit/Loss
"2" = Position Entry/Exit
ttTrades_Ago: How many trades ago to look back for strategy information to report. Up to 100 maximum trades to look back.

For example, a value of 1 means to show only the current position.
ttStrat_Precise: What is the precision of the strategy position values?

 2 = two digit to the right of the decimal [by default]
 1 = one digit to the right of the decimal
 0 = no decimal digits
-1 = round to nearest ten
-2 = round to nearest hundred
-3 = round to nearest thousand
ttMsg_Wait: How much time (in seconds) to wait between sending reports?

If you wish to send a report every 30 minutes, then you would set this parameter to 1800 seconds.	
ttMsg_Type: Choose the message type you are sending:

"printlog"     = message is sent to TS print log
"phone"        = voice message to phone
"sms"          = text message to mobile phone
"fax"          = text page to fax machine
"email"        = message to email
"yahoo"        = message to Yahoo IM
"msn"          = message to MSN IM
"aim"          = message to AIM (AOL) IM
"icq"          = message to ICQ IM
"gtalk"        = message to Google Talk IM
"rss"          = message to RSS Feed
"twitter"      = message to Twitter account
"facebook"     = message to Facebook account

Please see Triage Messaging User’s Guide for more information about this parameter and how to use it.
ttMsg_Dest: Send messages to one or more destination addresses or numbers.

Please see Triage Messaging User’s Guide for more information about this parameter and how to use it.
Messaging Service Example Destination
Mobile Phone or Device via Short Message (SMS) 14155551111
Text-to-Voice Phone Message to any Telephone or Cell Phone +14155552222
Text Fax to any Facsimile Device +1-415-555-3333
E-mail Relay bypassing tradition SMTP and Mail Clients
Yahoo Instant Messenger yahoousername
AOL ("AIM") Instant Messenger AOLusername
Microsoft MSN or Live Instant Messenger
Google Talk Instant Messenger
ICQ Instant Messenger 570102039432
Twitter™ Account Twitter Alias
Facebook™ Account Facebook Alias
ttLine_Len: How many characters per line of text?
You can format your message line lengths for messages, such as mail to some nice looking width like 80 characters. For SMS and Twitter, you should use140 characters. 
ttUse_TableStyle: For emails, faxes, instant messengers and even Facebook, setting the ttUse_TableStyle to "True" will create a clean table look. Though you can use it for twitter, SMS and phone, it is not recommended because those messaging types are either short-code formats or transcribed to voice.
ttCol_Width: This parameter sets the column width of your table.
ttCol_Padding: This parameter will add padding space inside of your columns.
ttCol_Border: This is the character(s) used to build your column borders.
ttCol_Style: This is the justification style to apply to the column: left, right or center.
ttYour_Cond: This user defined condition by default is set to "True". If you set it to "False", then no account reports will be sent from the $Triage_Position indicator. 

This parameter is designed to allow you to put in your own conditions such as:

Close > High [1]
Range > Average (TrueRange, 5) [1]
PositionProfit > 2000
MyFuncTradesToday > 0


Please make sure you enable intrabar order generation and calculation if you do not see strategy messages being generated. You can find the enable checkbox when you go to Format Strategy under the calculation tab.

Personal tools