As another analysis option for the mechanical systems you might
want to consider setting up separate strategies for the
long and short trades respectively for a standard long
& short trade system such as the SRS 15 min EDO system. When
the equity (profit) curve of the long & short strategy
flattens or turns negative you can then determine if either the
long or short trades are influencing this. These charts show the
curves for the long & short trades standard strategy for the
SRS 15 Min EOD system followed by the long trade curve and the
short trade curve. As you can see the long & short trade curve
has flattened while the long trade curve has turned
negative and the short trade curve still has a slight uptrend.
In this case you could decide to stop using the system for only the
long trades, but still use it for the short trades as opposed to
turning the system off completely.
I'm on my every other Friday off day so I can jump in today with
you day traders. Here is a snapshot of my live test on the TS
trendline strategy I posted earlier. I had the ACAS trade idea
setup on a 5 min chart which automatically triggered yesterday for
me and has started to move today. Notice the stop trendline which I
placed after the move started which triggered the automated stop
order. I'll have an update this weekend with an upgrade of the code
I posted. It will have an optional volume requirement for entry
where you specify the volume average length and the percentage
above average volume required for a valid entry. I may have a few
more features added as well. Let me know if you have any
questions.
I see that the code didn't get posted so here it is below: The
explanation comments are enclosed in {} and won't be executed so
you can just copy and paste everything below.
{Trendline Strategy - Long, by Carey Naquin 07-26-09}
{The above inputs specify the trendline reference number for the
entry,
exit, stop loss, stop, and target trendlines respectively.
The trendline
reference numbers can be idenitified by using the Data View
Window on the
Chart Analysis screen. They are more easily identified by
using different
colors. If there are no existing trendlines, then you can
draw them in the
order listed above to use the default values. The entry and
either stop loss or exit trendlines are required for this
strategy to work while the others are optional. You can still draw
them, but the input trendline reference values should be set to 0
if you don't want the strategy to use them.}
{The above variables are programming requirements to perform
calculations
and process the statements below at the close of each
bar.}
if EntryTLRef > 0 and TL_GetValue (EntryTLRef, Date, Time)
> 0 then
begin
BDateLE = (TL_GetBeginDate (EntryTLRef));
BTimeLE = (TL_GetBeginTime (EntryTLRef));
end;
if ExitTLRef > 0 and TL_GetValue (ExitTLRef, Date, Time) >
0 then
begin
BDateLX = (TL_GetBeginDate (ExitTLRef));
BTimeLX = (TL_GetBeginTime (ExitTLRef));
end;
if StopLossTLRef > 0 and TL_GetValue (StopLossTLRef, Date,
Time) > 0 then
begin
BDateSL = (TL_GetBeginDate (StopLossTLRef));
BTimeSL = (TL_GetBeginTime (StopLossTLRef));
end;
if StopTLRef > 0 and TL_GetValue (StopTLRef, Date, Time) >
0 then
begin
BDateSX = (TL_GetBeginDate (StopTLRef));
BTimeSX = (TL_GetBeginTime (StopTLRef));
end;
if TargetTLRef > 0 and TL_GetValue (TargetTLRef, Date, Time)
> 0 then
begin
BDateTX = (TL_GetBeginDate (TargetTLRef));
BTimeTX = (TL_GetBeginTime (TargetTLRef));
end;
{The above statements determine the beginning date and time of
the respective
trendlines and sets the initial validation criteria to false
for the
respective trendlines. There is also a variable to identify
when an exit occurs
so the program will not allow another entry if the strategy
is being automated.}
if BarType = 1 then
begin
ValidEntryBar = ((Date = BDateLE and Time >=
BTimeLE) or Date > BDateLE);
ValidExitBar = ((Date = BDateLX and Time >= BTimeLX)
or Date > BDateLX);
ValidStopLossBar = ((Date = BDateSL and
Time >= BTimeSL) or Date > BDateSL);
ValidStopBar = ((Date = BDateSX and Time >= BTimeSX)
or Date > BDateSX);
ValidTargetBar = ((Date = BDateTX and Time >=
BTimeTX) or Date > BDateTX);
end;
{The above statements sets the validation criteria to true for
the respective
trendlines if the chart time frame is intraday (BarType = 1)
and the date and
time of the bar >= the beginning date and time of the
respective trendlines.}
{The above statements sets the validation criteria to true for
the respective
trendlines if the chart time frame is daily (BarType = 2) and
the date >= the
beginning date of the respective trendlines.}
if EntryTLRef > 0 then EntryTLValue = TL_GetValue
(EntryTLRef, Date, Time);
if ExitTLRef > 0 then ExitTLValue = TL_GetValue
(ExitTLRef, Date, Time);
if StopLossTLRef > 0 then StopLossTLValue = TL_GetValue
(StopLossTLRef, Date, Time);
if StopTLRef > 0 then StopTLValue = TL_GetValue
(StopTLRef, Date, Time);
if TargetTLRef > 0 then TargetTLValue = TL_GetValue
(TargetTLRef, Date, Time);
{The above statements calculates the trendline values for each
bar.}
if MarketPosition = 0 and EntryTLRef > 0 and (ExitMade =
False) and
(ExitTLRef > 0 or StopLossTLRef > 0) and
ValidEntryBar and (ValidExitBar or ValidStopLossBar)
and
Close > EntryTLValue and ((ValidExitBar and
EntryTLValue > ExitTLValue) or
(ValidStopLossBar and EntryTLValue >
StopLossTLValue)) then
Buy ("LE1") next bar at market;
{The above statements enter a market order at the open of the
next bar if a
current position does not exist (MarketPosition = 0) and a
previous exit does
not exist (ExitMade = false) and the current bar closes above
the existing
entry trendline (ValidEntryBar) and an exit or stop loss
trendline exists
(ValidExitBar or ValidStopLossBar)...(this prevents you from
placing an order
to establish a position without first having determined your
exit strategy or
placing a stop which in this case are the exit and stop loss
trendlines
respectively) and the entry trendline > exit or stop loss
trendlines (this
prevents entering a position once an exit or stop loss
trendline has
crossed above an entry trendline such as for a triangle
pattern).}
if MarketPosition = 1 and ExitTLRef > 0 and ValidExitBar and
Close < ExitTLValue then
begin
Sell ("LX") next bar at market;
ExitMade = True;
end;
{The above statements exit an existing position
(MarketPosition = 1) at the open
of the next bar if an exit trendline is valid and the current
bar closes below
the exit trendline. This also sets the ExitMade variable to
true to prevent
another entry if the strategy is automated.}
if MarketPosition = 1 and StopLossTLRef > 0 and
ValidStopLossBar and
StopLossTLValue < EntryTLValue and Close <
StopLossTLValue then
begin
Sell ("SL") next bar at market;
ExitMade = False;
end;
{The above statements exit an existing position (MarketPosition
= 1) at the open
of the next bar if a stop loss trendline is valid and the
current bar closes below
the stop loss trendline. This also sets the ExitMade variable
to false to allow
another entry if the strategy is automated.}
if MarketPosition = 1 and StopTLRef > 0 and ValidStopBar and
StopTLValue > EntryTLValue then
begin
Sell ("SX") next bar at (StopTLValue) stop;
ExitMade = True;
end;
{The above statements place a stop order at the open of the next
bar at a valid stop
trendline value if an existing position is established
(MarketPosition = 1) and the stop
trendline is above the entry trendline. This also sets the
ExitMade variable to true
to prevent another entry if the strategy is automated. The
use of this trendline
requires that the beginning point of the trendline is to the
right of historical
price bars to prevent a premature exit. It is best to place
this trendline once the breakout is confirmed.}
if MarketPosition = 1 and TargetTLRef > 0 and ValidTargetBar
then
begin
Sell ("TX") next bar at (TargetTLValue) limit;
ExitMade = True;
end;
{The above statements place a limit order at the open of the
next bar at a valid target trendline value if an existing position
is established (MarketPosition = 1). This also sets the ExitMade
variable to true to prevent another entry if the strategy is
automated. The use of this trendline requires that the beginning
point of the trendline is to the right of the entry bar (at a time
after the entry bar) to allow another entry if a stop loss is
triggered. It is best to place this trendline once the breakout is
confirmed.}
Since my post last week highlightig this trendline strategy and
a few requests for the code, I posted them here so that everyone
would have it. This is an enhanced version of the strategy I
highlighted last week since I added a stop exit option and a target
exit option. The code contains explanation comments to help you
understand it a bit better. Here are a few key rules:
Either a stop loss or exit trendline has to be established for
an entry to trigger. Any of the trendlines can be adjusted before a
position is established. For full automation, once an entry is
established the entry trendline can't be changed. Once a stop loss
has been triggered and a new entry established, neither trendline
can be changed. The exit, stop, and target trendlines can be
changed as long as the rules shown on the images are followed. They
be changed by simply turning the strategy off, moving the
trendlines, and turning the strategy back on. Even with the
explanation comments and annotation I expect there will be a few
questions. This strategy can be best presented with video, but I'm
not setup to do that just yet.
I have only live tested the earlier version last week so this
one has only been backtested so far. I'll run live tests this week.
I also attached a couple of images here to show what an inital
setup might look like and what the inital entry looks like. I'll
send a follow up with images that show how this would have played
out with the 3 exit options. All the images are annotated and I
even have a symmetrical pattern measurement included. Since I
developed this strategy mostly for trade ideas I used the SWHC
trade from the watch list for this example.
I did put in codes that prevent an entry unless a stop or exit
trendline exist to be sure good trading practices are followed with
this strategy.
To support the professional trading community Matt and Steve
have worked so hard to develop I would appreciate this being kept
in the BPT membership. Also, if you have any ideas for improving or
enhancing this strategy, please let me know. I have the following
general plan for future upgrades already: 1) Add a volume option
for entry. 2) Add a second target exit option. 3) Add an
option to exit a partial postion on the first exit and have
stops moved to entry automatically. 4) Have the stop exit
option automatically move up to the previous low ( that will be a
bit of a challenge). 5) Create the short position version of this
long postion strategy.
Matt,
If you've read this far then you don't have any more excuses for
missing entries on your own trade ideas, because now you can
automate them. LOL!
Here's an image of the trendline strategy. The blue line is the
entry line, the yellow dashed line is the stop loss line and the
red line is the exit line. BTW, this is for TS which I failed to
mention earlier.
I wish I didn't have a full time day job so I could jump in on
the bolg with all you day traders. However, my day job has caused
me to work on developing several automated strategies. I am very
satisfied with my modifed moving average strategies for the inverse
ETF pairs I trade and monitor. I sent you these quite a while
back. Next, I had to figure out how to automate trading your
trade ideas so I wouldn't miss a good entry point. I am live
testing just this week one of two strategies intended to automate
trading the trade ideas you identify for us.
The first strategy I am testing which features an entry
trendline, stop loss trendline, and exit trendline has been very
profitable this week. It is realtively simple.
The second strategy I'm working on is a bit more complex and
features a breakpoint entry and two exit points based on
automatically moving stops up to previous lows and a stop at entry
upon the first exit. The entry rules require no gap up at session
open, close above breakpoint, and above average volume. The
required volume above average is user specified. The postion size
for the first exit is user specified. The bar interval lengths to
determine previous low stops for the first and second exit points
are also user specified. I have only backtested this so far.
I think either one of these or a combination would work
nicely if you want to use them to not misses entries on your own
trade ideas. Let me know if you are interested in the codes.
Here's an alert system shown graphically on the image that I am
currently testing for the SRS 15 min system. The idea is for an
e-mail to be sent when the short period average is within a certain
percentage of the slow period average prior to the crossover with a
warning message that the crossover is near but not yet confirmed. A
follow up e-mail is sent when the crossover is confirmed for an
actual entry. In the example shown from yesterday's data I show
0.5% warning levels and you should be able to see that the
short period average crossed the warning level at 13:15 when an
alert message would have been sent and that the short period
average was still within the warning range at 13:30 when another
alert warning message would have been sent. This would have been
followed by an alert entry message at 13:45 once the crossover was
confirmed. I can use this whenever I want to follow the system when
I am away from my Tradestation platform and have the auomated
systems turned off (which I don't like to leave unattended for any
significant length of time) but still want the option to place
phone orders. I have the TS code for this if you are
interested.
When I last looked at this I didn't realize that my strategy was
limiting maximum trade size to 100,000 shares. I increased the
limit to 1,000,000 shares just to see what would happen. With an
initial investment of $100,000, the return from 1-1-08 through
5-19-09 without reinvestment is 480%+ and with reinvesting 100% of
profits the return increases to 9100%+ (that is $9,100,000 and
change). The last trade for this period was on 5-18-09 with a short
of 351,270 shares at $23.41 covered at $20.53 for a profit of
$1,011,657 on a single trade. The maximum losing trade during this
period was on 5-12-09 for a loss of $212,196.
I actually backtested the SRS 15 min system to limt long entries
only if close is greater than open of the confirming candle and to
limit short entries only if close is less than open of the
confirming candle with the respective MA crossovers. The system
return from 1/1/08 to 5/19/09 with these conditions is only 300+%
vs 480+% without these conditions. That is why all that is required
is for the MA's to cross regardless of what the confirming candle
does - profits are better.
The community is delayed by three days for non registered users.
EXR setup http://stockcharts.com/def/servlet/Favorites.CServlet?obj=1095303,4&cmd=show[s583700389]&disp=G
Posted by cnaquin on 16th of Mar 2018 at 11:26 am
EXR setup
http://stockcharts.com/def/servlet/Favorites.CServlet?obj=1095303,4&cmd=show[s583700389]&disp=G
Mechanical Systems Monitoring
Posted by cnaquin on 28th of Aug 2009 at 08:02 am
As another analysis option for the mechanical systems you might want to consider setting up separate strategies for the long and short trades respectively for a standard long & short trade system such as the SRS 15 min EDO system. When the equity (profit) curve of the long & short strategy flattens or turns negative you can then determine if either the long or short trades are influencing this. These charts show the curves for the long & short trades standard strategy for the SRS 15 Min EOD system followed by the long trade curve and the short trade curve. As you can see the long & short trade curve has flattened while the long trade curve has turned negative and the short trade curve still has a slight uptrend. In this case you could decide to stop using the system for only the long trades, but still use it for the short trades as opposed to turning the system off completely.
FOMC Dates vs. SRS
mechanicals getting slaughtered today, long and short at the same ...
Posted by cnaquin on 12th of Aug 2009 at 06:02 pm
Here are the SRS 15 min results since March 2007 for all FOMC dates:
18 dates with no trades by the system
11 dates with winning trades by the system
5 dates with losing trades (4 of these losing trades were on the last 3 FOMC dates - 2 losing trades today)
Looks like the stats still play out, but we've had a recent string of bad fed days.
GRB
Posted by cnaquin on 3rd of Aug 2009 at 12:24 pm
TS Trendline Strategy
TS Trendline Strategy
Posted by cnaquin on 31st of Jul 2009 at 12:01 pm
Here's the test result of the stop order on my previous post.
TS Trendline Strategy
TS Trendline Strategy
Posted by cnaquin on 31st of Jul 2009 at 11:22 am
I'm on my every other Friday off day so I can jump in today with you day traders. Here is a snapshot of my live test on the TS trendline strategy I posted earlier. I had the ACAS trade idea setup on a 5 min chart which automatically triggered yesterday for me and has started to move today. Notice the stop trendline which I placed after the move started which triggered the automated stop order. I'll have an update this weekend with an upgrade of the code I posted. It will have an optional volume requirement for entry where you specify the volume average length and the percentage above average volume required for a valid entry. I may have a few more features added as well. Let me know if you have any questions.
Carey
MOT Trade Idea
MOT
Posted by cnaquin on 28th of Jul 2009 at 03:48 pm
Matt,
Did you mean target of 8 instead of 7 on your chart annotations?
TS Trendline Strategy
TS Trendline Strategy
Posted by cnaquin on 26th of Jul 2009 at 11:19 pm
I see that the code didn't get posted so here it is below: The explanation comments are enclosed in {} and won't be executed so you can just copy and paste everything below.
{Trendline Strategy - Long, by Carey Naquin 07-26-09}
inputs:
EntryTLRef (1), ExitTLRef (2), StopLossTLRef (3), StopTLRef (0), TargetTLRef (0);
{The above inputs specify the trendline reference number for the entry,
exit, stop loss, stop, and target trendlines respectively. The trendline
reference numbers can be idenitified by using the Data View Window on the
Chart Analysis screen. They are more easily identified by using different
colors. If there are no existing trendlines, then you can draw them in the
order listed above to use the default values. The entry and either stop loss or exit trendlines are required for this strategy to work while the others are optional. You can still draw them, but the input trendline reference values should be set to 0 if you don't want the strategy to use them.}
variables:
BDateLE (0), BTimeLE (0), EntryTLValue (0), ValidEntryBar (false),
BDateLX (0), BTimeLX (0), ExitTLValue (0), ValidExitBar (false),
BDateSL (0), BTimeSL (0), StopLossTLValue (0), ValidStopLossBar (false),
BDateSX (0), BTimeSX (0), StopTLValue (0), ValidStopBar (false),
BDateTX (0), BTimeTX (0), TargetTLValue (0), ValidTargetBar (false),
ExitMade (false);
{The above variables are programming requirements to perform calculations
and process the statements below at the close of each bar.}
if EntryTLRef > 0 and TL_GetValue (EntryTLRef, Date, Time) > 0 then
begin
BDateLE = (TL_GetBeginDate (EntryTLRef));
BTimeLE = (TL_GetBeginTime (EntryTLRef));
end;
if ExitTLRef > 0 and TL_GetValue (ExitTLRef, Date, Time) > 0 then
begin
BDateLX = (TL_GetBeginDate (ExitTLRef));
BTimeLX = (TL_GetBeginTime (ExitTLRef));
end;
if StopLossTLRef > 0 and TL_GetValue (StopLossTLRef, Date, Time) > 0 then
begin
BDateSL = (TL_GetBeginDate (StopLossTLRef));
BTimeSL = (TL_GetBeginTime (StopLossTLRef));
end;
if StopTLRef > 0 and TL_GetValue (StopTLRef, Date, Time) > 0 then
begin
BDateSX = (TL_GetBeginDate (StopTLRef));
BTimeSX = (TL_GetBeginTime (StopTLRef));
end;
if TargetTLRef > 0 and TL_GetValue (TargetTLRef, Date, Time) > 0 then
begin
BDateTX = (TL_GetBeginDate (TargetTLRef));
BTimeTX = (TL_GetBeginTime (TargetTLRef));
end;
{The above statements determine the beginning date and time of the respective
trendlines and sets the initial validation criteria to false for the
respective trendlines. There is also a variable to identify when an exit occurs
so the program will not allow another entry if the strategy is being automated.}
if BarType = 1 then
begin
ValidEntryBar = ((Date = BDateLE and Time >= BTimeLE) or Date > BDateLE);
ValidExitBar = ((Date = BDateLX and Time >= BTimeLX) or Date > BDateLX);
ValidStopLossBar = ((Date = BDateSL and Time >= BTimeSL) or Date > BDateSL);
ValidStopBar = ((Date = BDateSX and Time >= BTimeSX) or Date > BDateSX);
ValidTargetBar = ((Date = BDateTX and Time >= BTimeTX) or Date > BDateTX);
end;
{The above statements sets the validation criteria to true for the respective
trendlines if the chart time frame is intraday (BarType = 1) and the date and
time of the bar >= the beginning date and time of the respective trendlines.}
if BarType = 2 then
begin
ValidEntryBar = (Date >= BDateLE);
ValidExitBar = (Date >= BDateLX);
ValidStopLossBar = (Date >= BDateSL);
ValidStopBar = (Date >= BDateSX);
ValidTargetBar = (Date >= BDateTX);
end;
{The above statements sets the validation criteria to true for the respective
trendlines if the chart time frame is daily (BarType = 2) and the date >= the
beginning date of the respective trendlines.}
if EntryTLRef > 0 then EntryTLValue = TL_GetValue (EntryTLRef, Date, Time);
if ExitTLRef > 0 then ExitTLValue = TL_GetValue (ExitTLRef, Date, Time);
if StopLossTLRef > 0 then StopLossTLValue = TL_GetValue (StopLossTLRef, Date, Time);
if StopTLRef > 0 then StopTLValue = TL_GetValue (StopTLRef, Date, Time);
if TargetTLRef > 0 then TargetTLValue = TL_GetValue (TargetTLRef, Date, Time);
{The above statements calculates the trendline values for each bar.}
if MarketPosition = 0 and EntryTLRef > 0 and (ExitMade = False) and
(ExitTLRef > 0 or StopLossTLRef > 0) and
ValidEntryBar and (ValidExitBar or ValidStopLossBar) and
Close > EntryTLValue and ((ValidExitBar and EntryTLValue > ExitTLValue) or
(ValidStopLossBar and EntryTLValue > StopLossTLValue)) then
Buy ("LE1") next bar at market;
{The above statements enter a market order at the open of the next bar if a
current position does not exist (MarketPosition = 0) and a previous exit does
not exist (ExitMade = false) and the current bar closes above the existing
entry trendline (ValidEntryBar) and an exit or stop loss trendline exists
(ValidExitBar or ValidStopLossBar)...(this prevents you from placing an order
to establish a position without first having determined your exit strategy or
placing a stop which in this case are the exit and stop loss trendlines
respectively) and the entry trendline > exit or stop loss trendlines (this
prevents entering a position once an exit or stop loss trendline has
crossed above an entry trendline such as for a triangle pattern).}
if MarketPosition = 1 and ExitTLRef > 0 and ValidExitBar and Close < ExitTLValue then
begin
Sell ("LX") next bar at market;
ExitMade = True;
end;
{The above statements exit an existing position (MarketPosition = 1) at the open
of the next bar if an exit trendline is valid and the current bar closes below
the exit trendline. This also sets the ExitMade variable to true to prevent
another entry if the strategy is automated.}
if MarketPosition = 1 and StopLossTLRef > 0 and ValidStopLossBar and
StopLossTLValue < EntryTLValue and Close < StopLossTLValue then
begin
Sell ("SL") next bar at market;
ExitMade = False;
end;
{The above statements exit an existing position (MarketPosition = 1) at the open
of the next bar if a stop loss trendline is valid and the current bar closes below
the stop loss trendline. This also sets the ExitMade variable to false to allow
another entry if the strategy is automated.}
if MarketPosition = 1 and StopTLRef > 0 and ValidStopBar and
StopTLValue > EntryTLValue then
begin
Sell ("SX") next bar at (StopTLValue) stop;
ExitMade = True;
end;
{The above statements place a stop order at the open of the next bar at a valid stop
trendline value if an existing position is established (MarketPosition = 1) and the stop
trendline is above the entry trendline. This also sets the ExitMade variable to true
to prevent another entry if the strategy is automated. The use of this trendline
requires that the beginning point of the trendline is to the right of historical
price bars to prevent a premature exit. It is best to place this trendline once the breakout is confirmed.}
if MarketPosition = 1 and TargetTLRef > 0 and ValidTargetBar then
begin
Sell ("TX") next bar at (TargetTLValue) limit;
ExitMade = True;
end;
{The above statements place a limit order at the open of the next bar at a valid target trendline value if an existing position is established (MarketPosition = 1). This also sets the ExitMade variable to true to prevent another entry if the strategy is automated. The use of this trendline requires that the beginning point of the trendline is to the right of the entry bar (at a time after the entry bar) to allow another entry if a stop loss is triggered. It is best to place this trendline once the breakout is confirmed.}
TS Trendline Strategy
TS Trendline Strategy
Posted by cnaquin on 26th of Jul 2009 at 11:00 pm
Here are the follow up images i mentioned in the first post.
TS Trendline Strategy
Posted by cnaquin on 26th of Jul 2009 at 10:58 pm
Since my post last week highlightig this trendline strategy and a few requests for the code, I posted them here so that everyone would have it. This is an enhanced version of the strategy I highlighted last week since I added a stop exit option and a target exit option. The code contains explanation comments to help you understand it a bit better. Here are a few key rules:
Either a stop loss or exit trendline has to be established for an entry to trigger. Any of the trendlines can be adjusted before a position is established. For full automation, once an entry is established the entry trendline can't be changed. Once a stop loss has been triggered and a new entry established, neither trendline can be changed. The exit, stop, and target trendlines can be changed as long as the rules shown on the images are followed. They be changed by simply turning the strategy off, moving the trendlines, and turning the strategy back on. Even with the explanation comments and annotation I expect there will be a few questions. This strategy can be best presented with video, but I'm not setup to do that just yet.
I have only live tested the earlier version last week so this one has only been backtested so far. I'll run live tests this week. I also attached a couple of images here to show what an inital setup might look like and what the inital entry looks like. I'll send a follow up with images that show how this would have played out with the 3 exit options. All the images are annotated and I even have a symmetrical pattern measurement included. Since I developed this strategy mostly for trade ideas I used the SWHC trade from the watch list for this example.
I did put in codes that prevent an entry unless a stop or exit trendline exist to be sure good trading practices are followed with this strategy.
To support the professional trading community Matt and Steve have worked so hard to develop I would appreciate this being kept in the BPT membership. Also, if you have any ideas for improving or enhancing this strategy, please let me know. I have the following general plan for future upgrades already: 1) Add a volume option for entry. 2) Add a second target exit option. 3) Add an option to exit a partial postion on the first exit and have stops moved to entry automatically. 4) Have the stop exit option automatically move up to the previous low ( that will be a bit of a challenge). 5) Create the short position version of this long postion strategy.
Matt,
If you've read this far then you don't have any more excuses for missing entries on your own trade ideas, because now you can automate them. LOL!
Search the blog for a
Quick Comment
Posted by cnaquin on 26th of Jul 2009 at 07:54 am
Search the blog for a previous post of mine titled "My Trading Rules" for an example.
Here's an image of the
from the watch this, these Broke out earlier this morning, ...
Posted by cnaquin on 23rd of Jul 2009 at 01:46 pm
Here's an image of the trendline strategy. The blue line is the entry line, the yellow dashed line is the stop loss line and the red line is the exit line. BTW, this is for TS which I failed to mention earlier.
I wish I didn't have
from the watch this, these Broke out earlier this morning, ...
Posted by cnaquin on 23rd of Jul 2009 at 01:33 pm
I wish I didn't have a full time day job so I could jump in on the bolg with all you day traders. However, my day job has caused me to work on developing several automated strategies. I am very satisfied with my modifed moving average strategies for the inverse ETF pairs I trade and monitor. I sent you these quite a while back. Next, I had to figure out how to automate trading your trade ideas so I wouldn't miss a good entry point. I am live testing just this week one of two strategies intended to automate trading the trade ideas you identify for us.
The first strategy I am testing which features an entry trendline, stop loss trendline, and exit trendline has been very profitable this week. It is realtively simple.
The second strategy I'm working on is a bit more complex and features a breakpoint entry and two exit points based on automatically moving stops up to previous lows and a stop at entry upon the first exit. The entry rules require no gap up at session open, close above breakpoint, and above average volume. The required volume above average is user specified. The postion size for the first exit is user specified. The bar interval lengths to determine previous low stops for the first and second exit points are also user specified. I have only backtested this so far.
I think either one of these or a combination would work nicely if you want to use them to not misses entries on your own trade ideas. Let me know if you are interested in the codes.
I use a custom session
Mechanical Systems Awesome Day!
Posted by cnaquin on 14th of Jul 2009 at 03:35 pm
I use a custom session time set to end at 3:59 PM with the TS "SetExitOnClose;" statement in my strategy codes to exit. This works fine for me.
Carey
Download Jing
This Jink program is cool! very easy to create videos ...
Posted by cnaquin on 2nd of Jun 2009 at 09:34 pm
http://www.jingproject.com/
SRS 15 Min Alert System
Posted by cnaquin on 28th of May 2009 at 01:49 pm
Here's an alert system shown graphically on the image that I am currently testing for the SRS 15 min system. The idea is for an e-mail to be sent when the short period average is within a certain percentage of the slow period average prior to the crossover with a warning message that the crossover is near but not yet confirmed. A follow up e-mail is sent when the crossover is confirmed for an actual entry. In the example shown from yesterday's data I show 0.5% warning levels and you should be able to see that the short period average crossed the warning level at 13:15 when an alert message would have been sent and that the short period average was still within the warning range at 13:30 when another alert warning message would have been sent. This would have been followed by an alert entry message at 13:45 once the crossover was confirmed. I can use this whenever I want to follow the system when I am away from my Tradestation platform and have the auomated systems turned off (which I don't like to leave unattended for any significant length of time) but still want the option to place phone orders. I have the TS code for this if you are interested.
Absolutely one of the best
Had to post, I have a son just like Shay
Posted by cnaquin on 27th of May 2009 at 11:29 pm
Absolutely one of the best messages I've read in years. I'll be sure to pass it on.
Thanks,
SRS 15 Min System
SRS 15 Min System
Posted by cnaquin on 27th of May 2009 at 01:05 am
When I last looked at this I didn't realize that my strategy was limiting maximum trade size to 100,000 shares. I increased the limit to 1,000,000 shares just to see what would happen. With an initial investment of $100,000, the return from 1-1-08 through 5-19-09 without reinvestment is 480%+ and with reinvesting 100% of profits the return increases to 9100%+ (that is $9,100,000 and change). The last trade for this period was on 5-18-09 with a short of 351,270 shares at $23.41 covered at $20.53 for a profit of $1,011,657 on a single trade. The maximum losing trade during this period was on 5-12-09 for a loss of $212,196.
I actually backtested the SRS
Premium Content
Posted by cnaquin on 27th of May 2009 at 12:11 am
I actually backtested the SRS 15 min system to limt long entries only if close is greater than open of the confirming candle and to limit short entries only if close is less than open of the confirming candle with the respective MA crossovers. The system return from 1/1/08 to 5/19/09 with these conditions is only 300+% vs 480+% without these conditions. That is why all that is required is for the MA's to cross regardless of what the confirming candle does - profits are better.
It doesn't matter if the
Premium Content
Posted by cnaquin on 26th of May 2009 at 11:57 pm
It doesn't matter if the confirming candle closes up or down. All that is required is for the MA's to cross.