<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>BullCharts : trailing stop loss</title>
  <link>http://www.bullcharts.com.au/forum/</link>
  <description>This is an XML content feed of; BullCharts : BullScript : trailing stop loss</description>
  <copyright>Copyright (c) 2006-2009 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 15 Apr 2026 12:03:45 +0000</pubDate>
  <lastBuildDate>Sun, 16 Sep 2012 06:26:33 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.bullcharts.com.au/forum/RSS_post_feed.asp?TID=689</WebWizForums:feedURL>
  <image>
   <title>BullCharts</title>
   <url>http://www.bullcharts.com.au/forum/http://www.bullcharts.com.au/images/bull_logo.gif</url>
   <link>http://www.bullcharts.com.au/forum/</link>
  </image>
  <item>
   <title>trailing stop loss :   Here is an indicator to play...</title>
   <link>http://www.bullcharts.com.au/forum/forum_posts.asp?TID=689&amp;PID=3024#3024</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.bullcharts.com.au/forum/member_profile.asp?PF=1044" rel="nofollow">cmacdon</a><br /><strong>Subject:</strong> 689<br /><strong>Posted:</strong> 16&nbsp;Sep&nbsp;2012 at 6:26am<br /><br />Here is an indicator to play around with.&nbsp; I developed it some time ago when I read a Michael Jenkins article where he used the square root theory to set stop loss levels&nbsp;but I&nbsp;discarded Sq roots method as it did not seem to work too well on some low value dollar ASX stocks.<div>&nbsp;</div><div>Instead, this&nbsp;indicator attempts to&nbsp;show whether a stop loss based on the settings for a number of&nbsp;ATRs is more conservative than a % stop set by the user.&nbsp; It is interesting&nbsp;as once set&nbsp;the more conservative&nbsp;solution changes from time to time as shown by the colour fills and some markers. A variable requires the indicator to be set for Longs or shorts.</div><div>&nbsp;</div><div>&nbsp;</div><div><font color="#800080" size="3"><font color="#800080" size="3"><p>&#091;target</p></font><p></p></font><p><font size="3">=Price</font><font color="#800080" size="3"><font color="#800080" size="3">;&#093;</font></font></p><font color="#800080" size="3"><font color="#800080" size="3"></font></font><font size="3"><p>n  := </p></font><p><font color="#0000c0" size="3"><font color="#0000c0" size="3">input</font></font><font size="3">(</font><font color="#008b8b" size="3"><font color="#008b8b" size="3">"Time periods for highest high"</font></font><font size="3">,15);</font></p><font size="3"><p>type  := </p></font><p><font color="#0000c0" size="3"><font color="#0000c0" size="3">input</font></font><font size="3">(</font><font color="#008b8b" size="3"><font color="#008b8b" size="3">"Is this Stop for 1 Long  or 2 Short"</font></font><font size="3">,1);</font></p><font size="3"><p>sl  := </p></font><p><font color="#0000c0" size="3"><font color="#0000c0" size="3">input</font></font><font size="3">(</font><font color="#008b8b" size="3"><font color="#008b8b" size="3">"percent for Stop Loss"</font></font><font size="3">,6);</font></p><font size="3"><p>　</p><p>LongPercent:=</p></font><p><font color="#0000c0" size="3"><font color="#0000c0" size="3">If</font></font><font size="3">(type=1,</font><font color="#0000c0" size="3"><font color="#0000c0" size="3">Highest</font></font><font size="3">(</font><font color="#0000c0" size="3"><font color="#0000c0" size="3">h</font></font><font size="3">,n)-((sl/100)*</font><font color="#0000c0" size="3"><font color="#0000c0" size="3">C</font></font><font size="3">),</font><font color="#0000c0" size="3"><font color="#0000c0" size="3">undefined</font></font><font size="3">);</font></p><font size="3"><p>　</p></font><font color="#800080" size="3"><font color="#800080" size="3"><p>&#091;color</p></font><p></p></font><p><font size="3">=Dark Gray</font><font color="#800080" size="3"><font color="#800080" size="3">;</font></font><font size="3"> </font><font color="#800080" size="3"><font color="#800080" size="3">linestyle</font></font><font size="3">=Dotted</font><font color="#800080" size="3"><font color="#800080" size="3">;</font></font><font size="3"> </font><font color="#800080" size="3"><font color="#800080" size="3">width</font></font><font size="3">=2</font><font color="#800080" size="3"><font color="#800080" size="3">;&#093;</font></font></p><font color="#800080" size="3"><font color="#800080" size="3"></font></font><font size="3"><p>LongPercent;</p><p>S2  := </p></font><p><font color="#0000c0" size="3"><font color="#0000c0" size="3">input</font></font><font size="3">(</font><font color="#008b8b" size="3"><font color="#008b8b" size="3">"No. of ATRs for Stop Loss"</font></font><font size="3">,2);</font></p><font size="3"><p>LongATR:=</p></font><p><font color="#0000c0" size="3"><font color="#0000c0" size="3">If</font></font><font size="3">(type=1,</font><font color="#0000c0" size="3"><font color="#0000c0" size="3">Highest</font></font><font size="3">(</font><font color="#0000c0" size="3"><font color="#0000c0" size="3">h</font></font><font size="3">,n)-(atr(n)*s2),</font><font color="#0000c0" size="3"><font color="#0000c0" size="3">undefined</font></font><font size="3">);</font></p><font size="3"></font><font color="#800080" size="3"><font color="#800080" size="3"><p>&#091;color</p></font><p></p></font><p><font size="3">= Dark Purple</font><font color="#800080" size="3"><font color="#800080" size="3">;</font></font><font size="3"> </font><font color="#800080" size="3"><font color="#800080" size="3">linestyle</font></font><font size="3">=Dotted</font><font color="#800080" size="3"><font color="#800080" size="3">;</font></font><font size="3"> </font><font color="#800080" size="3"><font color="#800080" size="3">width</font></font><font size="3">=2</font><font color="#800080" size="3"><font color="#800080" size="3">;&#093;</font></font></p><font color="#800080" size="3"><font color="#800080" size="3"></font></font><font size="3"><p>LongATR;</p></font><font color="#008000" size="3"><font color="#008000" size="3"><p>{ Fill }</p></font></font><font color="#800080" size="3"><font color="#800080" size="3"><p>&#091;name</p></font><p></p></font><p><font size="3">=Fill</font><font color="#800080" size="3"><font color="#800080" size="3">;</font></font><font size="3"> </font><font color="#800080" size="3"><font color="#800080" size="3">linestyle</font></font><font size="3">=fill</font><font color="#800080" size="3"><font color="#800080" size="3">;</font></font><font size="3"> </font><font color="#800080" size="3"><font color="#800080" size="3">visible</font></font><font size="3">=false</font><font color="#800080" size="3"><font color="#800080" size="3">&#093;</font></font></p><font color="#800080" size="3"><font color="#800080" size="3"><p>&#091;color</p></font><p></p></font><p><font size="3">= Dark Gray</font><font color="#800080" size="3"><font color="#800080" size="3">&#093;</font></font><font size="3"> LongPercent;</font></p><font size="3"></font><font color="#800080" size="3"><font color="#800080" size="3"><p>&#091;color</p></font><p></p></font><p><font size="3">= Dark Purple</font><font color="#800080" size="3"><font color="#800080" size="3">&#093;</font></font><font size="3">  LongATR;</font></p><font size="3"></font><font color="#800080" size="3"><font color="#800080" size="3"><p>&#091;name</p></font><p></p></font><p><font size="3">=% Set more conservative</font><font color="#800080" size="3"><font color="#800080" size="3">;</font></font><font size="3"> </font><font color="#800080" size="3"><font color="#800080" size="3">linestyle</font></font><font size="3">=marker</font><font color="#800080" size="3"><font color="#800080" size="3">;</font></font><font size="3"> </font><font color="#800080" size="3"><font color="#800080" size="3">marker</font></font><font size="3">=type1</font><font color="#800080" size="3"><font color="#800080" size="3">;</font></font><font size="3"> </font><font color="#800080" size="3"><font color="#800080" size="3">visible</font></font><font size="3">=no</font><font color="#800080" size="3"><font color="#800080" size="3">&#093;</font></font><font size="3"> </font><font color="#800080" size="3"><font color="#800080" size="3">&#091;tooltip</font></font><font size="3">="% Set more conservative"</font><font color="#800080" size="3"><font color="#800080" size="3">&#093;</font></font></p><font color="#800080" size="3"><font color="#800080" size="3"></font></font><font color="#0000c0" size="3"><font color="#0000c0" size="3"><p>cross</p></font><p></p></font><p><font size="3">(LongPercent, LongATR);</font></p><font size="3"></font><font color="#800080" size="3"><font color="#800080" size="3"><p>&#091;name</p></font><p></p></font><p><font size="3">=ATR set more conservative</font><font color="#800080" size="3"><font color="#800080" size="3">;</font></font><font size="3"> </font><font color="#800080" size="3"><font color="#800080" size="3">linestyle</font></font><font size="3">=marker</font><font color="#800080" size="3"><font color="#800080" size="3">;</font></font><font size="3"> </font><font color="#800080" size="3"><font color="#800080" size="3">marker</font></font><font size="3">=type1</font><font color="#800080" size="3"><font color="#800080" size="3">;</font></font><font size="3"> </font><font color="#800080" size="3"><font color="#800080" size="3">visible</font></font><font size="3">=no</font><font color="#800080" size="3"><font color="#800080" size="3">&#093;</font></font><font size="3"> </font><font color="#800080" size="3"><font color="#800080" size="3">&#091;tooltip</font></font><font size="3">="ATR set more conservative"</font><font color="#800080" size="3"><font color="#800080" size="3">&#093;</font></font></p><font color="#800080" size="3"><font color="#800080" size="3"></font></font><font color="#0000c0" size="3"><font color="#0000c0" size="3"><p>cross</p></font><p></p></font><p><font size="3">(LongATR, LongPercent);</font></p><font size="3"><p>shortPercent:=</p></font><p><font color="#0000c0" size="3"><font color="#0000c0" size="3">If</font></font><font size="3">(type=2,</font><font color="#0000c0" size="3"><font color="#0000c0" size="3">Lowest</font></font><font size="3">(</font><font color="#0000c0" size="3"><font color="#0000c0" size="3">l</font></font><font size="3">,n)+((sl/100)*</font><font color="#0000c0" size="3"><font color="#0000c0" size="3">C</font></font><font size="3">),</font><font color="#0000c0" size="3"><font color="#0000c0" size="3">undefined</font></font><font size="3">);</font></p><font size="3"><p>　</p></font><font color="#800080" size="3"><font color="#800080" size="3"><p>&#091;color</p></font><p></p></font><p><font size="3">=Dark Gray</font><font color="#800080" size="3"><font color="#800080" size="3">;</font></font><font size="3"> </font><font color="#800080" size="3"><font color="#800080" size="3">linestyle</font></font><font size="3">=Dotted</font><font color="#800080" size="3"><font color="#800080" size="3">;</font></font><font size="3"> </font><font color="#800080" size="3"><font color="#800080" size="3">width</font></font><font size="3">=2</font><font color="#800080" size="3"><font color="#800080" size="3">;&#093;</font></font></p><font color="#800080" size="3"><font color="#800080" size="3"></font></font><font size="3"><p>ShortPercent;</p><p>　</p><p>ShortATR:=</p></font><p><font color="#0000c0" size="3"><font color="#0000c0" size="3">If</font></font><font size="3">(type=2,</font><font color="#0000c0" size="3"><font color="#0000c0" size="3">Lowest</font></font><font size="3">(</font><font color="#0000c0" size="3"><font color="#0000c0" size="3">h</font></font><font size="3">,n)+(atr(n)*s2),</font><font color="#0000c0" size="3"><font color="#0000c0" size="3">undefined</font></font><font size="3">);</font></p><font size="3"></font><font color="#800080" size="3"><font color="#800080" size="3"><p>&#091;color</p></font><p></p></font><p><font size="3">= Dark Purple</font><font color="#800080" size="3"><font color="#800080" size="3">;</font></font><font size="3"> </font><font color="#800080" size="3"><font color="#800080" size="3">linestyle</font></font><font size="3">=Dotted</font><font color="#800080" size="3"><font color="#800080" size="3">;</font></font><font size="3"> </font><font color="#800080" size="3"><font color="#800080" size="3">width</font></font><font size="3">=2</font><font color="#800080" size="3"><font color="#800080" size="3">;&#093;</font></font></p><font color="#800080" size="3"><font color="#800080" size="3"></font></font><font size="3"><p>ShortATR;</p></font><font color="#008000" size="3"><font color="#008000" size="3"><p>{ Fill }</p></font></font><font color="#800080" size="3"><font color="#800080" size="3"><p>&#091;name</p></font><p></p></font><p><font size="3">=Fill</font><font color="#800080" size="3"><font color="#800080" size="3">;</font></font><font size="3"> </font><font color="#800080" size="3"><font color="#800080" size="3">linestyle</font></font><font size="3">=fill</font><font color="#800080" size="3"><font color="#800080" size="3">;</font></font><font size="3"> </font><font color="#800080" size="3"><font color="#800080" size="3">visible</font></font><font size="3">=false</font><font color="#800080" size="3"><font color="#800080" size="3">&#093;</font></font></p><font color="#800080" size="3"><font color="#800080" size="3"><p>&#091;color</p></font><p></p></font><p><font size="3">= Dark Gray</font><font color="#800080" size="3"><font color="#800080" size="3">&#093;</font></font><font size="3"> ShortPercent;</font></p><font size="3"></font><font color="#800080" size="3"><font color="#800080" size="3"><p>&#091;color</p></font><p></p></font><p><font size="3">= Dark Purple</font><font color="#800080" size="3"><font color="#800080" size="3">&#093;</font></font><font size="3">  ShortATR;</font></p><font size="3"></font><font color="#800080" size="3"><font color="#800080" size="3"><p>&#091;name</p></font><p></p></font><p><font size="3">=% set more conservative</font><font color="#800080" size="3"><font color="#800080" size="3">;</font></font><font size="3"> </font><font color="#800080" size="3"><font color="#800080" size="3">linestyle</font></font><font size="3">=marker</font><font color="#800080" size="3"><font color="#800080" size="3">;</font></font><font size="3"> </font><font color="#800080" size="3"><font color="#800080" size="3">marker</font></font><font size="3">=type1</font><font color="#800080" size="3"><font color="#800080" size="3">;</font></font><font size="3"> </font><font color="#800080" size="3"><font color="#800080" size="3">visible</font></font><font size="3">=no</font><font color="#800080" size="3"><font color="#800080" size="3">&#093;</font></font><font size="3"> </font><font color="#800080" size="3"><font color="#800080" size="3">&#091;tooltip</font></font><font size="3">="% set more conservative"</font><font color="#800080" size="3"><font color="#800080" size="3">&#093;</font></font></p><font color="#800080" size="3"><font color="#800080" size="3"></font></font><font color="#0000c0" size="3"><font color="#0000c0" size="3"><p>cross</p></font><p></p></font><p><font size="3">(ShortPercent, ShortATR);</font></p><font size="3"></font><font color="#800080" size="3"><font color="#800080" size="3"><p>&#091;name</p></font><p></p></font><p><font size="3">=ATR set more conservative</font><font color="#800080" size="3"><font color="#800080" size="3">;</font></font><font size="3"> </font><font color="#800080" size="3"><font color="#800080" size="3">linestyle</font></font><font size="3">=marker</font><font color="#800080" size="3"><font color="#800080" size="3">;</font></font><font size="3"> </font><font color="#800080" size="3"><font color="#800080" size="3">marker</font></font><font size="3">=type1</font><font color="#800080" size="3"><font color="#800080" size="3">;</font></font><font size="3"> </font><font color="#800080" size="3"><font color="#800080" size="3">visible</font></font><font size="3">=no</font><font color="#800080" size="3"><font color="#800080" size="3">&#093;</font></font><font size="3"> </font><font color="#800080" size="3"><font color="#800080" size="3">&#091;tooltip</font></font><font size="3">="ATR set more conservative"</font><font color="#800080" size="3"><font color="#800080" size="3">&#093;</font></font></p><font color="#800080" size="3"><font color="#800080" size="3"></font></font><font color="#0000c0" size="3"><font color="#0000c0" size="3"><p>cross</p></font><p></p></font><p><font size="3">(ShortATR, ShortPercent);</font></p><font size="3"></font></div>]]>
   </description>
   <pubDate>Sun, 16 Sep 2012 06:26:33 +0000</pubDate>
   <guid isPermaLink="true">http://www.bullcharts.com.au/forum/forum_posts.asp?TID=689&amp;PID=3024#3024</guid>
  </item> 
  <item>
   <title>trailing stop loss : Hello slips,  What kind of stop...</title>
   <link>http://www.bullcharts.com.au/forum/forum_posts.asp?TID=689&amp;PID=2652#2652</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.bullcharts.com.au/forum/member_profile.asp?PF=189" rel="nofollow">maximo</a><br /><strong>Subject:</strong> 689<br /><strong>Posted:</strong> 04&nbsp;Mar&nbsp;2011 at 9:32pm<br /><br /><DIV>Hello slips,</DIV><DIV>&nbsp;</DIV><DIV>What kind of stop loss did you want to use, example. ATR&nbsp;or percentage or another?</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 04 Mar 2011 21:32:22 +0000</pubDate>
   <guid isPermaLink="true">http://www.bullcharts.com.au/forum/forum_posts.asp?TID=689&amp;PID=2652#2652</guid>
  </item> 
  <item>
   <title>trailing stop loss : Hi again I asked a question last...</title>
   <link>http://www.bullcharts.com.au/forum/forum_posts.asp?TID=689&amp;PID=2650#2650</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.bullcharts.com.au/forum/member_profile.asp?PF=705" rel="nofollow">slips</a><br /><strong>Subject:</strong> 689<br /><strong>Posted:</strong> 04&nbsp;Mar&nbsp;2011 at 1:26pm<br /><br />Hi again<DIV>I asked a question last night, but reading it now I don't think anyone would have quite got what i was asking.&nbsp; I have been unable to work out how to put my own trailing stop loss in my charts.&nbsp; can anyone guide me through the right process</DIV><DIV>slips</DIV>]]>
   </description>
   <pubDate>Fri, 04 Mar 2011 13:26:17 +0000</pubDate>
   <guid isPermaLink="true">http://www.bullcharts.com.au/forum/forum_posts.asp?TID=689&amp;PID=2650#2650</guid>
  </item> 
 </channel>
</rss>