BTW, I am seriously thinking about opening a TS account as I will be trading e-minis exclusively and require overlay of stochastics and other indicators on price bars.
twalker said:If you are only trading e-mini then the TS automation works really quite well. I have run a system 24hrs/day for over 18 months on e-mini 5min charts and I have had very few issues with it. If you wish to enter manually then you can use a matrix which shows you market depth on a ladder and allows you to click trade to lift/hit/place limit or stop order, very easy and nice to use.
ronfalcone - Overall, though, do you find the TS platform really user-friendly? So far, I've been trying to take in as many of the tutorials as available, and it does seem pretty straightforward. Some of the features are really neat, such as pre-determined limit orders (buying one tick above the bid, splitting the bid/ask, etc.). I guess it will take some getting used to.
jtrader said:(ps, I did ask Support these questions, in the hope of getting definitive answers, but they did not seem very sure of the answers)
ZDO - Knowing what I know of you and your direction, I would encourage you to go ahead and bite the bullet and apply ADE (and related objects) to your work. It’ll steepen your initial learning curve significantly, but will in the long run obviate all of you ‘time of’ signal, alert, etc issues, plus do a lot more for you.
jtrader said:Thanks ZDO
What do you mean by "apply ADE (and related objects) to your work"?
Cheers
jtrader.
Usage
Exit (from long and short positions) that may be based on a single condition or any combination of conditions.
Description
_Stops and Targets will generate exit orders based on any combination of the following types of exits: profit target, stop loss, breakeven stop, dollar trailing stop, percent trailing stop, and exit at the end of the day. Entering 0 for any of the inputs will cause the strategy to ignore that stop/target.
ProfitTargetAmt is the profit target setting (in dollars) at which your position will automatically be closed out. If the indicated amount is never reached, the stop will not be triggered.
The StopLossAmt setting indicates the maximum amount of money you are willing to risk on any trade.
The BreakevenFloorAmt indicates the amount of profit that when exceeded, will trigger a breakeven stop order at a value of the entry price plus the commission specified. For more information on adjusting a strategy for costs, refer to Adjusting a Strategy for Costs.
The DollarTrailingAmt setting allows you to indicate how much of the maximum open position profit you are willing to give back before the position is automatically closed out. This setting can only be used to lock in profits; it does not exit a losing position.
The Percent Risk Trailing settings (PctTrailingFloorAmt and PctTrailingPct) enable you to indicate what percent of the maximum open position profit you are willing to give back before the position is automatically closed out. PctTrailingFloorAmt indicates the minimum profit level (in dollars) to reach before the stop will take effect. PctTrailingPct is the percentage of profit you are willing to lose. If the maximum open position profit for the trade does not exceed the floor level, this trailing stop does not take effect. Consequently, this setting only locks in profits; it does not exit a position if the floor level is never reached.
When ExitonClose is True, any open position will be closed at the close of the trading day. This is a useful setting when backtesting trading situations that do not hold any positions overnight. In automated execution, the ExitonClose setting will not close positions at the end of the day. It will give you the option of sending the order into the extended session as a limit order.
Order Name: Profit Target, Money Mngmt Stop, BreakEven Stop, $ Trailing Stop, % Trailing Stop, Sell, Cover
This general purpose exit strategy is also convenient for use with the other single-
position "discretionary" strategies. It makes available standard versions of all of
TradeStation's built-in stops and profit targets in one convenient grouping.
This strategy is preferred over the _StpOrLim Ex strategy when a stop or profit
target is based on a price differential from the entry price instead of a
predetermined price point. It also provides more choices - in addition to a simple
stop and profit target, it also provides a breakeven stop, 2 trailing stops, and an
end-of-day exit. All these exits will always exit the entire position, and will
always apply to both long and short positions.
The IntrabarOrderGeneration attribute is set to false in this strategy because the
strategy is purely a "wrapper" for built-in stop reserved words, like SetStopLoss,
which evaluate intrabar even when intrabar order generation is disabled. Disabling
intrabar order generation in this case prevents unnecessary computer processing.
}
[IntrabarOrderGeneration = false]
inputs:
ShareOrPosition( 1 ), { pass in 1 for per share basis, 2 for position basis }
ProfitTargetAmt( 5 ), { pass in 0 if you don't want a profit target }
StopLossAmt( 1 ), { pass in 0 if you don't want a stop loss }
BreakevenFloorAmt( 0 ), { pass in 0 if you don't want a breakeven stop }
DollarTrailingAmt( 0 ), { pass in 0 if you don't want a dollar trailing stop }
PctTrailingFloorAmt( 0 ), { pass in 0 here and/or in next input if you don't want
a percent trailing stop }
PctTrailingPct( 0 ), { pass in 0 here and/or in previous input if you don't want
a percent trailing stop; else pass in XX for XX percent }
ExitOnClose( false ) ; { pass in true if you want to exit the position at the
close of the day, else pass in false. CAUTION: We recommend that you set this to
TRUE only for back-testing, if at all; in automated execution, the exit order
will NOT be filled at the close of the day; instead, the order can be sent into
the extended session as a limit order. }
if ShareOrPosition = 1 then
SetStopShare
else
SetStopPosition ;
if ProfitTargetAmt > 0 then
SetProfitTarget( ProfitTargetAmt ) ;
if StopLossAmt > 0 then
SetStopLoss( StopLossAmt ) ;
if BreakevenFloorAmt > 0 then
SetBreakeven( BreakevenFloorAmt ) ;
if DollarTrailingAmt > 0 then
SetDollarTrailing( DollarTrailingAmt ) ;
if PctTrailingFloorAmt > 0 and PctTrailingPct > 0 then
SetPercentTrailing( PctTrailingFloorAmt, PctTrailingPct ) ;
if ExitOnClose = true then
SetExitOnClose ;
{ ** Copyright (c) 2005 TradeStation Technologies, Inc. All rights reserved. **
** TradeStation reserves the right to modify or overwrite this strategy component
with each release. ** }
INPUTS: Interval_Minutes( 2) ;
VARIABLES: IntrabarPersist Next_Time (0) ;
if CurrentTime >= Next_Time then
begin
Next_Time = CurrentTime + Interval_Minutes ;
// calc Ur values here
end ;
inputs:
Price( Close),
Length( 14),
OverSold( 30),
OverBought( 70),
OverSColor( Cyan),
OverBColor( Red) ,
Interval_Minutes( 2) ;
variables: MyRSI( 0 ) ,
IntrabarPersist Next_Time (0) ;
MyRSI = RSI( Price, Length ) ;
Plot1( MyRSI, "RSI" ) ;
Plot2( OverBought, "OverBot" ) ;
Plot3( OverSold, "OverSld" ) ;
if CurrentTime >= Next_Time then
begin
Next_Time = CurrentTime + Interval_Minutes ;
// calc Ur values here
{ Color criteria }
if MyRSI > OverBought then
SetPlotColor( 1, OverBColor )
else if MyRSI < OverSold then
SetPlotColor( 1, OverSColor ) ;
{ Alert criteria }
if MyRSI crosses over OverSold then
Alert( "Indicator exiting oversold zone" )
else if MyRSI crosses under OverBought then
Alert( "Indicator exiting overbought zone" ) ;
end;
{ ** Copyright (c) 1991-2003 TradeStation Technologies, Inc. All rights reserved. **
** TradeStation reserves the right to modify or overwrite this analysis technique
with each release. ** }
jtrader said:Does anyone know how to achieve what I want to achieve:?: