<?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 : bull&#115;cript for stoploss..</title>
  <link>http://www.bullcharts.com.au/forum/</link>
  <description>This is an XML content feed of; BullCharts : TradeSim discussion : bull&#115;cript for stoploss..</description>
  <copyright>Copyright (c) 2006-2009 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 15 Apr 2026 07:19:43 +0000</pubDate>
  <lastBuildDate>Wed, 10 Jan 2007 22:12:55 +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=401</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>bull&#115;cript for stoploss.. : much appreciated for the help...</title>
   <link>http://www.bullcharts.com.au/forum/forum_posts.asp?TID=401&amp;PID=1506#1506</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.bullcharts.com.au/forum/member_profile.asp?PF=53" rel="nofollow">etrader</a><br /><strong>Subject:</strong> 401<br /><strong>Posted:</strong> 10&nbsp;Jan&nbsp;2007 at 10:12pm<br /><br /><P>much appreciated for the help CR</P><P>ET</P>]]>
   </description>
   <pubDate>Wed, 10 Jan 2007 22:12:55 +0000</pubDate>
   <guid isPermaLink="true">http://www.bullcharts.com.au/forum/forum_posts.asp?TID=401&amp;PID=1506#1506</guid>
  </item> 
  <item>
   <title>bull&#115;cript for stoploss.. : et Presumably you wish to exit...</title>
   <link>http://www.bullcharts.com.au/forum/forum_posts.asp?TID=401&amp;PID=1505#1505</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.bullcharts.com.au/forum/member_profile.asp?PF=32" rel="nofollow">chart rider</a><br /><strong>Subject:</strong> 401<br /><strong>Posted:</strong> 09&nbsp;Jan&nbsp;2007 at 7:46pm<br /><br /><P>et</P><P>Presumably you wish to exit at the ATR based profit target, unless it is greater than the 3% level, in which case 3% will do just fine and you will take it and run.</P><P>Your usage of the OR statement is ambiguous in this regard and Bullcharts will be unable to resolve the code.</P><P>You might find it better to break the code down into smaller statements to make it easier to manage, for example:</P><P>profitTarget := min(O*1.03, O+(1*ATR(10)));</P><P>if(H &gt;= profitTarget, profitTarget, C);</P><P>CR</P>]]>
   </description>
   <pubDate>Tue, 09 Jan 2007 19:46:46 +0000</pubDate>
   <guid isPermaLink="true">http://www.bullcharts.com.au/forum/forum_posts.asp?TID=401&amp;PID=1505#1505</guid>
  </item> 
  <item>
   <title>bull&#115;cript for stoploss.. : thanks Chart Rider for your magic, ExitTriggerand...</title>
   <link>http://www.bullcharts.com.au/forum/forum_posts.asp?TID=401&amp;PID=1503#1503</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.bullcharts.com.au/forum/member_profile.asp?PF=53" rel="nofollow">etrader</a><br /><strong>Subject:</strong> 401<br /><strong>Posted:</strong> 08&nbsp;Jan&nbsp;2007 at 11:34pm<br /><br /><P>thanks Chart Rider for your magic,</P><P>ExitTrigger&nbsp;and EntryTrigger were not recognised for some reason, programming not being in my forte ! I just used "Volume&gt;0" for my Exit Condition, to be able to exit on the same day as my entry.</P><P>The Exit Price section was perfect, and was interesting being able to produce different results. Now&nbsp;going one step further produced another challenge for me. I expanded your working exit example to the one below, which is supposed to read an exit of 3% &gt; Open, or the Open + 1*ATR(10) exit, otherwise exit @ close if these conditions are not met. It seems to be valid in Bullscript formula but comes out "invalid exit price data" in Tradesim. Can you see where my problem lays ??</P><P>if(H &gt;= O*1.03 or O+(1*atr(10)), O*1.03 or O+(1*atr(10)), C);</P><P>thanks again</P><P>etrader</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Mon, 08 Jan 2007 23:34:19 +0000</pubDate>
   <guid isPermaLink="true">http://www.bullcharts.com.au/forum/forum_posts.asp?TID=401&amp;PID=1503#1503</guid>
  </item> 
  <item>
   <title>bull&#115;cript for stoploss.. : etrader Not sure if it will work,...</title>
   <link>http://www.bullcharts.com.au/forum/forum_posts.asp?TID=401&amp;PID=1502#1502</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.bullcharts.com.au/forum/member_profile.asp?PF=32" rel="nofollow">chart rider</a><br /><strong>Subject:</strong> 401<br /><strong>Posted:</strong> 07&nbsp;Jan&nbsp;2007 at 8:06pm<br /><br /><P>etrader</P><P>Not sure if it will work, but try the following:</P><P>In the exit tab:</P><P>ExitTrigger := EntryTrigger;&nbsp; &nbsp;{sets exit to same day as entry}</P><P>In the Exit Price dialog box:</P><P>if(H &gt;= O+0.01+ATR(10),&nbsp;O+0.01+ATR(10),&nbsp;C);</P><P>I'd be interested in your feedback on&nbsp;whether or not&nbsp;this works.</P><P>CR</P>]]>
   </description>
   <pubDate>Sun, 07 Jan 2007 20:06:38 +0000</pubDate>
   <guid isPermaLink="true">http://www.bullcharts.com.au/forum/forum_posts.asp?TID=401&amp;PID=1502#1502</guid>
  </item> 
  <item>
   <title>bull&#115;cript for stoploss.. : thanks Chartrider, but not exactly...</title>
   <link>http://www.bullcharts.com.au/forum/forum_posts.asp?TID=401&amp;PID=1501#1501</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.bullcharts.com.au/forum/member_profile.asp?PF=53" rel="nofollow">etrader</a><br /><strong>Subject:</strong> 401<br /><strong>Posted:</strong> 06&nbsp;Jan&nbsp;2007 at 7:41pm<br /><br /><P>thanks Chartrider, but not exactly what i am after, my explanation not the best.</P><P>I was trying to use the entryprice as a reference for my exit if that makes sense. Will try and expand a bit, noting this is entering and exiting on the same daily bar.</P><P>I wish to exit&nbsp;at&nbsp;my entryprice (open+0.01) plus 1*ATR(10), and if the high does not reach this figure, my secondary exit will be at the close.</P><P>I tried to put these exits into a bullscript exit on the exit tab but does not work for some reason. Further ideas appreciated.</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Sat, 06 Jan 2007 19:41:57 +0000</pubDate>
   <guid isPermaLink="true">http://www.bullcharts.com.au/forum/forum_posts.asp?TID=401&amp;PID=1501#1501</guid>
  </item> 
  <item>
   <title>bull&#115;cript for stoploss.. : etrader The stops tabexecutes...</title>
   <link>http://www.bullcharts.com.au/forum/forum_posts.asp?TID=401&amp;PID=1473#1473</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.bullcharts.com.au/forum/member_profile.asp?PF=32" rel="nofollow">chart rider</a><br /><strong>Subject:</strong> 401<br /><strong>Posted:</strong> 18&nbsp;Dec&nbsp;2006 at 7:30pm<br /><br /><P>etrader</P><P>The stops tab&nbsp;executes the script once only, on the day of entry.&nbsp; Try using C - 2*ATR(10), I'm fairly sure this will work.</P><P>CR</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Mon, 18 Dec 2006 19:30:53 +0000</pubDate>
   <guid isPermaLink="true">http://www.bullcharts.com.au/forum/forum_posts.asp?TID=401&amp;PID=1473#1473</guid>
  </item> 
  <item>
   <title>bull&#115;cript for stoploss.. : I am not sure if it can be done...</title>
   <link>http://www.bullcharts.com.au/forum/forum_posts.asp?TID=401&amp;PID=1468#1468</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.bullcharts.com.au/forum/member_profile.asp?PF=53" rel="nofollow">etrader</a><br /><strong>Subject:</strong> 401<br /><strong>Posted:</strong> 11&nbsp;Dec&nbsp;2006 at 10:41pm<br /><br /><P>I am not sure if it can be done this way, but would appreciate any help.</P><P>Using a tradesim test I use my entry conditions as required which will trigger at an entry price. I wish to use an atr exit based on this entry price.?? This is where my problem lies confused as how to represent this in bullscript.</P><P>Under the Stops tab calculating the Initial Stop I try to use::&nbsp;&nbsp;&nbsp; Entryprice&nbsp;- 2*ATR(10)</P><P>and this does not seem to work. Ideas welcome..</P><P>etrader</P>]]>
   </description>
   <pubDate>Mon, 11 Dec 2006 22:41:31 +0000</pubDate>
   <guid isPermaLink="true">http://www.bullcharts.com.au/forum/forum_posts.asp?TID=401&amp;PID=1468#1468</guid>
  </item> 
 </channel>
</rss>