<?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 : Svapo Oscillator Code</title>
  <link>http://www.bullcharts.com.au/forum/</link>
  <description>This is an XML content feed of; BullCharts : BullScript : Svapo Oscillator Code</description>
  <copyright>Copyright (c) 2006-2009 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 15 Apr 2026 12:01:52 +0000</pubDate>
  <lastBuildDate>Mon, 14 Mar 2011 17:25:19 +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=692</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>Svapo Oscillator Code : BullCharts formulaaah  {heikin...</title>
   <link>http://www.bullcharts.com.au/forum/forum_posts.asp?TID=692&amp;PID=2660#2660</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> 692<br /><strong>Posted:</strong> 14&nbsp;Mar&nbsp;2011 at 5:25pm<br /><br /><P><FONT size=4>BullCharts formulaaah</FONT></P><P>&nbsp;<BR>&#091;Description='SVAPO is an indicator presented by Sylvain Vervoort in the Nov 07 issue of the Stocks &amp; Commodities magazine.<BR>This indicator combines price and volume information into a Short-Term Volume And Price Oscillator.&#093;</P><P>{heikin ashi closing average haCl and input variables} <BR>haO:=(Ref((O+H+L+C)/4,-1) + PREV)/2; <BR>haC:=((O+H+L+C)/4+haO+Max(H,haO)+Min(L,haO))/4;<BR>{input SVAPO period and smooth HA closing Price} <BR>period:= Input("SVAPO period :",20,8); <BR>sHaC:= Tema(haC,period/1.6,E); <BR>{input minimum per thousand price change} <BR>cutoff:= Input("Minimum %o price change :",10,1); <BR>{Inputs for standard deviation bands} <BR>devH:= Input("Standard Deviation High :",1.5,0.1); <BR>devL:= Input("Standard Deviation Low :",1.3,0.1); <BR>stdevper:= Input("Standard Deviation Period :", 100,100); <BR>vc:=Ref(Ma(C,period*5,S),-1); <BR>{Basic trend} <BR>vtr:=Tema(LinRegSlope(C,period),period); <BR>{SVAPO result of price only} <BR>SVAPO:= Tema(sum(if(HaC&gt;(ref(sHaC,-1)*(1+cutoff/10000)) AND BarsSince(vtr&gt;=ref(vtr,-1))&lt;=2,vc, if(sHaC&lt;(ref(sHaC,-1)*(1-cutoff/10000)) AND BarsSince(vtr&gt;ref(vtr,-1))&lt;=2,-vc,0)),period) /(vc+1), period,E);</P><P>&#091;color=red&#093;devH*Stdev(SVAPO,stdevper); <BR>&#091;color=lime green&#093;-devL*Stdev(SVAPO,stdevper); <BR>&#091;color=black&#093;0;&nbsp; <BR>&#091;color=blue&#093;SVAPO</P><P>&nbsp;</P><span style="font-size:10px"><br /><br />Edited by maximo - 14&nbsp;Mar&nbsp;2011 at 5:28pm</span>]]>
   </description>
   <pubDate>Mon, 14 Mar 2011 17:25:19 +0000</pubDate>
   <guid isPermaLink="true">http://www.bullcharts.com.au/forum/forum_posts.asp?TID=692&amp;PID=2660#2660</guid>
  </item> 
  <item>
   <title>Svapo Oscillator Code : Metastock Formular{calculate the...</title>
   <link>http://www.bullcharts.com.au/forum/forum_posts.asp?TID=692&amp;PID=2658#2658</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.bullcharts.com.au/forum/member_profile.asp?PF=723" rel="nofollow">wacazac</a><br /><strong>Subject:</strong> 692<br /><strong>Posted:</strong> 13&nbsp;Mar&nbsp;2011 at 10:20pm<br /><br />Metastock Formular<br><br>{calculate the heikin-ahhi closing average haCl and get the input variables}<br>haOpen:=(Ref((O+H+L+C)/4,-1) + PREV)/2;<br>haCl:=((O+H+L+C)/4+haOpen+Max(H,haOpen)+Min(L,haOpen))/4;<br>period:= Input("SVAPO period :", 2, 20, 8);<br>cutoff:= Input("Minimum %o price change :",0,10,1);<br>{Inputs for standard deviation bands}<br>devH:= Input("Standard Deviation High :", 0.1, 5, 1.5);<br>devL:= Input("Standard Deviation Low :", 0.1, 5, 1.3);<br>stdevper:= Input("Standard Deviation Period :", 1, 200, 100);<br>{Smooth HaCl closing price}<br>haC:=Tema(haCl,period/1.6);<br>{Medium term MA of Volume to limit extremes and division factor}<br>vave:=Ref(Mov(V,period*5,S),-1);<br>vmax:=vave*2;<br>vc:=If(V&lt;vmax,V,vmax);<br>{Basic volume trend}<br>vtr:=Tema(LinRegSlope(V,period),period);<br>{SVAPO result of price and volume}<br>SVAPO:=Tema(Sum(If(haC&gt;(Ref(haC,-1)*(1+cutoff/1000)) AND Alert(vtr&gt;=Ref(vtr,-1),2), vc, If(haC&lt;(Ref(haC,-1)*(1-cutoff/1000)) AND Alert(vtr&gt;Ref(vtr,-1),2),-vc,0)),period)/(vave+1),period);<br>devH*Stdev(SVAPO,stdevper);<br>-devL*Stdev(SVAPO,stdevper);<br>zeroref:=0;<br>zeroref;<br>SVAPO<br>######################<font color="#ff0000">{the code appears to be correct to here but the I get error messge "operater expected,not there</font>" <font color="#ff0000">can some kind sole correct this code please</font><img src="http://www.bullcharts.com.au/forum/smileys/smiley31.gif" border="0" alt="Hug" title="Hug" />?<br><br>declare upper;<br><br>input SVAPOLength = 8;<br>input MinPctODelta = 1;<br>input STDevHi = 1.5;<br>input STDevLo = 1.3;<br>input STDPeriod = 100;<br>############################<br>#Heiken Ashi Data set<br>#############################<br><br>def Vclose = (Open + High + Low + Close) / 4; <br>rec Vopen = compoundValue(1, ((open&#091;1&#093; + high&#091;1&#093; + low&#091;1&#093; + close&#091;1&#093;) / 4 + vopen&#091;1&#093;) / 2, hl2);<br><br>def HaC = TEMA(Vclose, SVAPOLength /1.6);<br>REC vave =(SIMPLeMovingAvg(Volume,SVAPOLength*5)&#091;1&#093;);<br>def vMax=vave*2;<br>def VC= if (Volume&lt;vMax,Volume,vMax);<br>def VTR=TEMA(LINearRegressionSlope(volume,SVAPOLength),SVAPOLength);<br><br>plot SVAPO=TEMA(sum (if (HaC&gt;(HaC&#091;1&#093;*(1+MinPctODelta/1000)) and VTR&gt;=VTR&#091;1&#093;,VC, If(haC&lt;(haC&#091;1&#093;*(1-MinPctODelta/1000)) AND vtr&gt;vtr&#091;1&#093;,-VC,0)),SVAPOLength)/(vave+1),SVAPOLength);]]>
   </description>
   <pubDate>Sun, 13 Mar 2011 22:20:53 +0000</pubDate>
   <guid isPermaLink="true">http://www.bullcharts.com.au/forum/forum_posts.asp?TID=692&amp;PID=2658#2658</guid>
  </item> 
 </channel>
</rss>