[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] Damage Control



PureBytes Links

Trading Reference Links


Thanks very musch Dima I will have look and a 
fiddle :) over the next few days 
<BLOCKQUOTE 
>
----- Original Message ----- 
<DIV 
>From: 
Dima 
Rasnitsyn 
To: <A title=amibroker@xxxxxxxxxx 
href="">amibroker@xxxxxxxxxxxxxxx 
Cc: <A title=rasnitsyn@xxxx 
href="">Dmitri Rasnitsyn (E-mail 2) 
Sent: Thursday, April 26, 2001 1:15 
PM
Subject: RE: [amibroker] Damage 
Control


<FONT face=Arial color=#993366 
size=2><SPAN 
>Hello 
David!
<FONT face=Arial color=#993366 
size=2><SPAN 
> 
<FONT face=Arial color=#993366 
size=2><SPAN 
>The 
following simple code implements Larry William&#8217;s Smash Day Pattern exactly as 
described in &#8216;Day Trade Futures Online&#8217; pages 108-112. 

<FONT face=Arial color=#993366 
size=2><SPAN 
>It 
seems relatively reliable, especially for short-term trades, and I think it 
can be further &#8220;optimized&#8221; to filter out false 
signals.
<FONT face=Arial color=#993366 
size=2><SPAN 
> 
<B 
><I 
><FONT face=Arial color=#993366 
size=2><SPAN 
>numDays 
= 3; // Consider smash Day if closed above/below previous numDays 
highs/lows
<B 
><I 
><FONT face=Arial color=#993366 
size=2><SPAN 
>closeInDayRangePct 
= 0.25; // Smash day close should be in the high/low %% of the day 
range
<B 
><I 
><FONT face=Arial color=#993366 
size=2><SPAN 
>smashDayDown 
= close < LLV (ref (low, -1), numDays) AND close < open AND close< 
(low + closeInDayRangePct * (high - 
low));
<B 
><I 
><FONT face=Arial color=#993366 
size=2><SPAN 
>smashDayUp 
= close > HHV (ref (high, -1), numDays) AND close > open AND close > 
(high - closeInDayRangePct * (high - 
low));
<B 
><I 
><FONT face=Arial color=#993366 
size=2><SPAN 
>/*
<B 
><I 
><FONT face=Arial color=#993366 
size=2><SPAN 
>graph0 
= smashDayDown;
<B 
><I 
><FONT face=Arial color=#993366 
size=2><SPAN 
>graph0style 
= 2;
<B 
><I 
><FONT face=Arial color=#993366 
size=2><SPAN 
>graph1 
= smashDayUp;
<B 
><I 
><FONT face=Arial color=#993366 
size=2><SPAN 
>graph1style 
= 2;
<B 
><I 
><FONT face=Arial color=#993366 
size=2><SPAN 
>*/
<B 
><I 
><FONT face=Arial color=#993366 
size=2><SPAN 
>// 
Enter in the direction opposite to the smash day if the very next day price 
moves opposite the smash day.
<B 
><I 
><FONT face=Arial color=#993366 
size=2><SPAN 
>buy 
= ref (smashDayDown, -1) AND high > ref (high, 
-1);
<B 
><I 
><FONT face=Arial color=#993366 
size=2><SPAN 
>sell 
= ref (smashDayUp, -1) AND low < ref (low, 
-1);
<FONT face=Arial color=#993366 
size=2><SPAN 
> 
<FONT face=Arial color=#993366 
size=2><SPAN 
> 
<FONT face=Arial color=#993366 
size=2><SPAN 
>Regards,
<FONT face=Arial color=#993366 
size=2><SPAN 
>Dima.
<FONT face=Arial color=#993366 
size=2><SPAN 
> 
<FONT face=Tahoma color=black 
size=2><SPAN 
>-----Original 
Message-----From: David 
Holzgrefe [mailto:dtholz@xxxx]<SPAN 
>Sent: Tuesday, April 24, 2001 12:42 
AMTo: 
amibroker@xxxxxxxxxxxxxxx<SPAN 
>Subject: Re: [amibroker] Damage 
Control
<FONT face="Times NewRoman" 
size=3><SPAN 
> 
<FONT face=Arial color=black 
size=2>Dima 
Please publish or email me your smash Bar reversal code from what I have heard 
to works quite well on asx stocks, even if it doesn't it would be well worth 
the look to learn from<SPAN 
>
<FONT face="Times NewRoman" 
color=black size=3><SPAN 
> <FONT 
color=black><SPAN 
>
<FONT face=Arial color=black 
size=2>Thanks 
David<SPAN 
>
<FONT face="Times NewRoman" 
color=black size=3><SPAN 
> <FONT 
color=black><SPAN 
>
<FONT face="Times NewRoman" 
color=black size=3>----- Original 
Message ----- <SPAN 
>
<DIV 
>
<P class=MsoNormal 
><FONT 
face=Arial color=black size=2><SPAN 
>
From:<FONT face=Arial 
color=black size=2><SPAN 
> <A 
title=rasnitsyn@xxxx href="">Dima Rasnitsyn 
<SPAN 
>

<P class=MsoNormal 
><FONT 
face=Arial color=black size=2><SPAN 
>To:<FONT 
face=Arial color=black size=2><SPAN 
> <A 
title=amibroker@xxxxxxxxxxxxxxx 
href="">amibroker@xxxxxxxxxxxxxxx 
<SPAN 
>
<P class=MsoNormal 
><FONT 
face=Arial color=black size=2><SPAN 
>Sent:<FONT 
face=Arial color=black size=2><SPAN 
> Tuesday, April 24, 
2001 1:02 PM<SPAN 
>
<P class=MsoNormal 
><FONT 
face=Arial color=black size=2><SPAN 
>Subject:<FONT 
face=Arial color=black size=2><SPAN 
> RE: [amibroker] 
Damage Control<SPAN 
>
<P class=MsoNormal 
><FONT 
face="Times New Roman" color=black size=3><SPAN 
> <FONT 
color=black><SPAN 
>
<P class=MsoNormal 
><SPAN 
class=EmailStyle19><SPAN 
>Nate,
<P class=MsoNormal 
><SPAN 
class=EmailStyle19><SPAN 
> 
<P class=MsoNormal 
><SPAN 
class=EmailStyle19><SPAN 
>Thank 
you very much for sharing your experience.
<P class=MsoNormal 
><SPAN 
class=EmailStyle19><SPAN 
> 
<P class=MsoNormal 
><SPAN 
class=EmailStyle19><SPAN 
>What 
would be your advise for a beginning Commodity trader with [the standard] 
$5000 on the account? You can rarely (if at all) find a futures trade with the 
risk of less then $400 per contract (unless you day trade), According to your 
formula one should not take the trades with more then $100 
risk&#8230;
<P class=MsoNormal 
><SPAN 
class=EmailStyle19><SPAN 
> 
<P class=MsoNormal 
><SPAN 
class=EmailStyle19><SPAN 
>I was 
considering Larry Williams&#8217; money management recommendation (&#8216;Day Trade 
Futures Online&#8217;) of 
<P class=MsoNormal 
><SPAN 
class=EmailStyle19><SPAN 
> 
<P class=MsoNormal 
><SPAN 
class=EmailStyle19><SPAN 
>N 
contracts = Account Value * 0.12 / (maximum drawdown per contract), i.e. risk 
no more then 12% on the trade.
<P class=MsoNormal 
><SPAN 
class=EmailStyle19><SPAN 
> 
<P class=MsoNormal 
><SPAN 
class=EmailStyle19><SPAN 
>I will 
very appreciate your comments.
<P class=MsoNormal 
><SPAN 
class=EmailStyle19><SPAN 
> 
<P class=MsoNormal 
><SPAN 
class=EmailStyle19><SPAN 
> 
<P class=MsoNormal 
><SPAN 
class=EmailStyle19><SPAN 
>BTW, 
are there many futures traders on the list?<SPAN 
>  I can share my 50Kb AFL code for the 
trading system based on Larry Williams Volatility breakout Oops!, Smash Day 
Reversal, and other techniques. I am not sure those techniques are good for 
stocks&#8230;
<P class=MsoNormal 
><SPAN 
class=EmailStyle19><SPAN 
> 
<P class=MsoNormal 
><SPAN 
class=EmailStyle19><SPAN 
>Thanks,
<P class=MsoNormal 
><SPAN 
class=EmailStyle19><SPAN 
>Dima.
<P class=MsoNormal 
><SPAN 
class=EmailStyle19><SPAN 
> 
<P class=MsoNormal 
><SPAN 
class=EmailStyle19><SPAN 
> 
<DIV 
>
<P class=MsoNormal 
><FONT 
face=Tahoma color=black size=2><SPAN 
>-----Original 
Message-----From: Dr.S. 
Nathan Berger [mailto:snberger@xxxx]<SPAN 
>Sent: Monday, April 23, 2001 6:39 
AMTo: 
amibroker@xxxxxxxxxxxxxxxCc: 
snberger@xxxx<SPAN 
>Subject: [amibroker] Damage 
Control<SPAN 
>
<P class=MsoNormal 
><FONT 
face="Times New Roman" color=black size=3><SPAN 
> <FONT 
color=black><SPAN 
>
<P class=MsoNormal 
><FONT 
face="Courier New" color=black size=2><SPAN 
>Essentially, 
Damage Control is this: Research shows the maximum amount 
you<SPAN 
>can 
lose on any single trade without damaging your long-term 
investmentcapital is 2% of your equity. So, if you have an 
account of, say,$20,000.00, then you can risk no more than 
$400.00 on any given trade. BTW,2% is aggressive. 1% to 1 1/2% is 
more conservative.Here is how to apply the rule in 
determining how many contracts or sharesto 
buy:Let's say you see an opportunity in ABC Widget Co. (ABC). 
Using whateversystem to determine the entry point, say $30.00, 
and the stop loss exitpoint, say $28.00. This means you are 
risking $2.00 per share of ABC.2% of your investment "nest 
egg" of $20,000.00 = $400.00. At $2.00 pershare, you can afford 
to buy no more than 200 shares of ABC.If you find an 
opportunity to purchase a contract on, say, lumber, at$250.00 
risk, you can only trade 1 contract; if the risk is $150.00 
percontract, you can afford to purchase 2 
contracts.I know-  you're thinking you can never get 
rich using such tightlimitations. Truth is, you can get rich, BUT 
IT WILL TAKE SOME TIME! Thekey is realizing that you can make 
money in the markets only as long as youare playing. When you're 
out of money, you're OUT OF THE GAME. If you finda deal that 
exceeds these limits, pass on it. It pays great dividends towait 
for trade opportunities that permit tight stops.Hope this 
helps...Nate Berger<FONT 
color=black><BR 
><BR 
><FONT 
color=black><SPAN 
>
<DIV 
>
<P class=MsoNormal 
><FONT 
face="Courier New" color=black size=2><SPAN 
>Your use of 
Yahoo! Groups is subject to the <A 
href="">Yahoo! Terms of 
Service. 
<SPAN 
>
<P class=MsoNormal 
><FONT 
face="Times New Roman" color=black size=3><SPAN 
> <FONT 
color=black><SPAN 
>
<P class=MsoNormal 
><FONT 
face="Times New Roman" color=black size=3><SPAN 
><FONT 
face="Courier New" color=black size=2><SPAN 
>Your use of 
Yahoo! Groups is subject to the <A 
href="">Yahoo! Terms of 
Service. 
<SPAN 
>
<FONT face="Times NewRoman" 
color=black size=3><BR 
><BR 
><FONT 
color=black><SPAN 
><FONT 
face="Courier New" color=black size=2><SPAN 
>Your use of 
Yahoo! Groups is subject to the <A 
href="">Yahoo! Terms of 
Service. 
<SPAN 
>
Your 
use of Yahoo! Groups is subject to the <A 
href="">Yahoo! Terms of Service.