SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
Strategies & Market Trends : Let's Talk Technical Analyisis (TA)

 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext  
To: TechTrader42 who wrote (9)11/17/2001 8:54:16 PM
From: Chris  Read Replies (1) of 178
 
saw this on chatboards. dollar stops drawn on chart form
need to see if i can get this into mswin format

From: profitok <profitok@o...>
Date: Sat Nov 17, 2001 9:30 pm
Subject: Re: [RT] Re: Profit Taking


try the perfect stop
for ts2000
see the credit for writing it goes to:
{***************************************************************************
*****************
Title: Three day volatility StopLoss

Description: Three day volatility StopLoss increases the stoploss value
when 3-day volatility
increases above the 5 and 8 day volatility. Change in risk is
proportional to
the percent increase in volatility.

Written by: John Hall

History: Written 7/29/01

****************************************************************************
******************}

Inputs: price((H+L)/2), dollar_risk(500), PositionBasis(True);
variables: RiskCalc(0), OrderPrice(0), stoploss(0);

stoploss = dollar_risk;

If MarketPosition = 1 and PositionBasis Then Begin
If volatility(3) > volatility(3)[3] and volatility(3) > volatility(5) and
volatility(3) > volatility(8) then
stoploss = dollar_risk * (1 + ( volatility(3)/volatility(3)[3] ));

If volatility(3) < volatility(3)[3] and volatility(3) < volatility(5) and
volatility(3) < volatility(8) then
stoploss = dollar_risk * (1 - ( volatility(3)/volatility(3)[3] ));

RiskCalc = stoploss + Commission;

If BigPointValue <> 0 Then
OrderPrice = EntryPrice - (RiskCalc / BigPointValue);

ExitLong ("longX") Next Bar at OrderPrice Stop;
End;
If MarketPosition = -1 and PositionBasis Then Begin
If volatility(3) > volatility(3)[3] and volatility(3) > volatility(5) and
volatility(3) > volatility(8) then
stoploss = dollar_risk * (1 + ( volatility(3)/volatility(3)[3] ));

If volatility(3) < volatility(3)[3] and volatility(3) < volatility(5) and
volatility(3) < volatility(8) then
stoploss = dollar_risk * (1 - ( volatility(3)/volatility(3)[3] ));

RiskCalc = stoploss - Commission;

If BigPointValue <> 0 Then
OrderPrice = EntryPrice + (RiskCalc / BigPointValue);

ExitShort ("ShortX") Next Bar at OrderPrice Stop;
End;
Report TOU ViolationShare This Post
 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext