<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forum.equis.com/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Formula Assistance</title><link>http://forum.equis.com/forums/3040/ShowForum.aspx</link><description>Formula-related questions about Indicators, Explorations and Experts. </description><dc:language>en-US</dc:language><generator>CommunityServer 2.0 (Debug Build: 60217.2664)</generator><item><title>Copyright and Legal statement                               </title><link>http://forum.equis.com/forums/thread/1995.aspx</link><pubDate>Fri, 13 May 2005 06:41:03 GMT</pubDate><guid isPermaLink="false">2fa994ca-da92-4cc0-8578-1c713492f1d7:1995</guid><dc:creator>henry1224</dc:creator><slash:comments>0</slash:comments><comments>http://forum.equis.com/forums/thread/1995.aspx</comments><wfw:commentRss>http://forum.equis.com/forums/commentrss.aspx?SectionID=3040&amp;PostID=1995</wfw:commentRss><description>&lt;b&gt;All Rights Reserved&lt;br /&gt;&lt;br /&gt;Copyright&amp;#169;2005&lt;br /&gt;&lt;br /&gt;The original authors retain all rights to formulae that they post..&lt;br /&gt;The end users may use the formulae for personal use only.&lt;br /&gt;&lt;br /&gt;The formulae provided are not a recommendation to buy or sell, but rather a guideline to interpreting the specified analysis method.&lt;br /&gt;&lt;br /&gt;This information should only be used by investors who are aware of the risk inherent in securities trading.&lt;br /&gt;&lt;br /&gt;The authors accept no liability whatsoever for any loss arising from any use of these formulae.&lt;/b&gt;</description></item><item><title>next Higher low </title><link>http://forum.equis.com/forums/thread/31253.aspx</link><pubDate>Sat, 21 Nov 2009 04:29:39 GMT</pubDate><guid isPermaLink="false">2fa994ca-da92-4cc0-8578-1c713492f1d7:31253</guid><dc:creator>budfox45</dc:creator><slash:comments>0</slash:comments><comments>http://forum.equis.com/forums/thread/31253.aspx</comments><wfw:commentRss>http://forum.equis.com/forums/commentrss.aspx?SectionID=3040&amp;PostID=31253</wfw:commentRss><description>&lt;P&gt;I need help&lt;img src="/emoticons/emotion-6.gif" alt="Sad [:(]" /&gt; in &amp;nbsp;placing a buy arrow on&amp;nbsp;the next&amp;nbsp;higher low AFTER b:=if(L&amp;gt;A,1,L);&lt;/P&gt;
&lt;P&gt;B would be a set up bar the next low thats higher then the high of b would be &lt;/P&gt;
&lt;P&gt;the Symbol bar&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A:=(HHV(L,50) + LLV(L,50))/2;&lt;/P&gt;
&lt;P&gt;b:=If(L&amp;gt;A,1,L);&lt;/P&gt;
&lt;P&gt;SELL:=b=-1 AND Ref(b,-1)&amp;lt;&amp;gt;-1;&lt;/P&gt;
&lt;P&gt;BUY:=b=1 AND Ref(b,-1)&amp;lt;&amp;gt;1;&lt;/P&gt;
&lt;P&gt;buy-sell;&lt;/P&gt;
&lt;P&gt;BUY:=b=1 AND Ref(b,-1)&amp;lt;&amp;gt;1;&lt;/P&gt;
&lt;P&gt;;&lt;/P&gt;</description></item><item><title>VALUE OF INDICATOR AT A PRICE PEAK</title><link>http://forum.equis.com/forums/thread/31234.aspx</link><pubDate>Wed, 18 Nov 2009 08:15:31 GMT</pubDate><guid isPermaLink="false">2fa994ca-da92-4cc0-8578-1c713492f1d7:31234</guid><dc:creator>abu_shabuasi</dc:creator><slash:comments>1</slash:comments><comments>http://forum.equis.com/forums/thread/31234.aspx</comments><wfw:commentRss>http://forum.equis.com/forums/commentrss.aspx?SectionID=3040&amp;PostID=31234</wfw:commentRss><description>WHAT IS THE FORMULA TO FIND VALUE OF STOCHASTIC ( 11,3) AT PEAK (1,H,3) &lt;br /&gt; &lt;br /&gt;I WILL BE THANKFUL FOR EVERY ANSWER</description></item><item><title>Trailing stop loss in system tester</title><link>http://forum.equis.com/forums/thread/31220.aspx</link><pubDate>Tue, 17 Nov 2009 06:33:32 GMT</pubDate><guid isPermaLink="false">2fa994ca-da92-4cc0-8578-1c713492f1d7:31220</guid><dc:creator>dhirbisht</dc:creator><slash:comments>3</slash:comments><comments>http://forum.equis.com/forums/thread/31220.aspx</comments><wfw:commentRss>http://forum.equis.com/forums/commentrss.aspx?SectionID=3040&amp;PostID=31220</wfw:commentRss><description>&lt;p class="MsoNormal"&gt;&lt;font color="#000000"&gt;&lt;b&gt;I am testing system in system tester from last 6 month and
still I am struck in the concept of trailing stop method used in metastock. I
tried so many codes for trailing stop loss in system tester but the results vary.
Can any one help me and tell about &lt;u&gt;what exactly codes or concept used in
trailing stop loss and initial stop loss in metastock system tester&lt;/u&gt;.&lt;/b&gt;&lt;/font&gt;&lt;/p&gt;</description></item><item><title>Pivot point forumula</title><link>http://forum.equis.com/forums/thread/31201.aspx</link><pubDate>Sat, 14 Nov 2009 13:10:57 GMT</pubDate><guid isPermaLink="false">2fa994ca-da92-4cc0-8578-1c713492f1d7:31201</guid><dc:creator>AshBird</dc:creator><slash:comments>4</slash:comments><comments>http://forum.equis.com/forums/thread/31201.aspx</comments><wfw:commentRss>http://forum.equis.com/forums/commentrss.aspx?SectionID=3040&amp;PostID=31201</wfw:commentRss><description>Hi Guys and Gals, first post.  I'm looking for a pivot point formula to use on a weekly and daily chart.  Can anyone assist?&lt;br /&gt;&lt;br /&gt;Happy trading,&lt;br /&gt;AshBird</description></item><item><title>How to get rid of the same value</title><link>http://forum.equis.com/forums/thread/31217.aspx</link><pubDate>Tue, 17 Nov 2009 02:14:55 GMT</pubDate><guid isPermaLink="false">2fa994ca-da92-4cc0-8578-1c713492f1d7:31217</guid><dc:creator>Nathan</dc:creator><slash:comments>0</slash:comments><comments>http://forum.equis.com/forums/thread/31217.aspx</comments><wfw:commentRss>http://forum.equis.com/forums/commentrss.aspx?SectionID=3040&amp;PostID=31217</wfw:commentRss><description>Hello,&lt;br&gt;&lt;br&gt;I build a simple indicator as follows:&lt;br&gt;&lt;br&gt;var1:=ValueWhen(1,H*0.909&amp;gt;PREV,H);&lt;br&gt;var1&lt;br&gt;&lt;br&gt;It plots the H which is &amp;gt;= 10% growth of the previous H and it counts from the first bar.&lt;br&gt;&lt;br&gt;But if&amp;nbsp; I use it in System tester as follows:&lt;br&gt;&lt;br&gt;{Buy signal:} &lt;br&gt;var1:=ValueWhen(1,H*0.909&amp;gt;PREV,H);&lt;br&gt;
var1=H&lt;br&gt;&lt;br&gt;If there are more than one H equals to var1, the system will activate the buy as well, which it should not. &lt;br&gt;&lt;br&gt;Anyone can help me with that to get rid of those values, just make the tester to follow the indicator.&lt;br&gt;Thanks.&lt;br&gt;&lt;br&gt;&lt;br&gt;Regards,&lt;br&gt;nathan&lt;br&gt;&lt;br&gt;&lt;br&gt;</description></item><item><title>Exploration combining CCI and MACD</title><link>http://forum.equis.com/forums/thread/31199.aspx</link><pubDate>Sat, 14 Nov 2009 02:35:41 GMT</pubDate><guid isPermaLink="false">2fa994ca-da92-4cc0-8578-1c713492f1d7:31199</guid><dc:creator>tonya030</dc:creator><slash:comments>2</slash:comments><comments>http://forum.equis.com/forums/thread/31199.aspx</comments><wfw:commentRss>http://forum.equis.com/forums/commentrss.aspx?SectionID=3040&amp;PostID=31199</wfw:commentRss><description>&lt;P&gt;&lt;img src="/emoticons/emotion-14.gif" alt="Devil [6]" /&gt;I would appreciate if anyone can help me put together an exploration using the CCI and MACD.&amp;nbsp; I am ok doing an expl. for each one and even combining them, but they are not giving me what I really want and God only knows I have tried but when it come to putting it together I am baffled.&amp;nbsp; But anyhow, here is what I would like the exploration to do:&lt;/P&gt;
&lt;P&gt;Find stocks where the CCI is below -100 and rising and the MACD is below 0 and increasing positive from previous bar.&lt;/P&gt;
&lt;P&gt;Any help immensly appreciated;&amp;nbsp; in the meantime I will go back into the book or find some tutorial stuff on the net.&lt;/P&gt;
&lt;P&gt;Tonya030&lt;/P&gt;</description></item><item><title>Scanning for stock make 52 week high/Low </title><link>http://forum.equis.com/forums/thread/31197.aspx</link><pubDate>Fri, 13 Nov 2009 15:27:58 GMT</pubDate><guid isPermaLink="false">2fa994ca-da92-4cc0-8578-1c713492f1d7:31197</guid><dc:creator>MAkleung</dc:creator><slash:comments>1</slash:comments><comments>http://forum.equis.com/forums/thread/31197.aspx</comments><wfw:commentRss>http://forum.equis.com/forums/commentrss.aspx?SectionID=3040&amp;PostID=31197</wfw:commentRss><description>Dose any one know how to write a formula to scan for stock make 52 week high/low ? In addition, where I could find book about how to write Metastock code. I have experience in visual basic and easy language.&lt;br /&gt;Thanks for all your help&lt;br /&gt;Mak</description></item><item><title>How to plot the same value for just once</title><link>http://forum.equis.com/forums/thread/31157.aspx</link><pubDate>Mon, 09 Nov 2009 04:06:15 GMT</pubDate><guid isPermaLink="false">2fa994ca-da92-4cc0-8578-1c713492f1d7:31157</guid><dc:creator>Nathan</dc:creator><slash:comments>0</slash:comments><comments>http://forum.equis.com/forums/thread/31157.aspx</comments><wfw:commentRss>http://forum.equis.com/forums/commentrss.aspx?SectionID=3040&amp;PostID=31157</wfw:commentRss><description>Hi guys,&lt;br /&gt;&lt;br /&gt;Could you help me with this, please?&lt;br /&gt;&lt;br /&gt;How can I plot the same value for just once when they meet some condition.&lt;br /&gt;&lt;br /&gt;E.g.    C1=10,  C2=9,  C3=8, C4=9, C5=7&lt;br /&gt;&lt;br /&gt;         Condition: C &lt;br /&gt;What i want to plot is 9,8,0,7, not 9,8,9, 7.&lt;br /&gt;&lt;br /&gt;Many thanks.&lt;br /&gt;&lt;br /&gt;nathan&lt;br /&gt;&lt;br /&gt;</description></item><item><title>Can I initialize prev with some value &amp;lt;&amp;gt;0?</title><link>http://forum.equis.com/forums/thread/31138.aspx</link><pubDate>Sun, 08 Nov 2009 03:59:44 GMT</pubDate><guid isPermaLink="false">2fa994ca-da92-4cc0-8578-1c713492f1d7:31138</guid><dc:creator>Nathan</dc:creator><slash:comments>2</slash:comments><comments>http://forum.equis.com/forums/thread/31138.aspx</comments><wfw:commentRss>http://forum.equis.com/forums/commentrss.aspx?SectionID=3040&amp;PostID=31138</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;I know the first prev is assumed to be 0. My question is: can I initialize prev with some other value. &lt;br /&gt;&lt;br /&gt;E.g.   IF plot  C*1.03&lt;br /&gt;Thanks.&lt;br /&gt;&lt;br /&gt;Nathan</description></item><item><title>Can anyone program a cumulative product function?</title><link>http://forum.equis.com/forums/thread/31121.aspx</link><pubDate>Sat, 07 Nov 2009 05:40:27 GMT</pubDate><guid isPermaLink="false">2fa994ca-da92-4cc0-8578-1c713492f1d7:31121</guid><dc:creator>exito100</dc:creator><slash:comments>5</slash:comments><comments>http://forum.equis.com/forums/thread/31121.aspx</comments><wfw:commentRss>http://forum.equis.com/forums/commentrss.aspx?SectionID=3040&amp;PostID=31121</wfw:commentRss><description>Is there a way to program in Metastock Formuar language a product of all e.g. closing values without a prev function?&lt;BR&gt;&lt;BR&gt;product:=value1*value2*value3....*last value&lt;BR&gt;&lt;BR&gt;for example as in:&lt;BR&gt;&lt;BR&gt;product:=C*PREV;&lt;BR&gt;&lt;BR&gt;is very slow.&lt;BR&gt;&lt;BR&gt;In other words I am looking for the product equivalent of the cum() function.&lt;BR&gt;&lt;BR&gt;I keep looking and trying.. but if someone figures this out earlier please post here! &lt;IMG class=bbc_emoticon alt=:) src="http://tradersconsortium.com/community/public/style_emoticons/default/smile.gif"&gt;&lt;BR&gt;&lt;BR&gt;Many thanks,&lt;BR&gt;&lt;BR&gt;Klaus</description></item><item><title>std ?</title><link>http://forum.equis.com/forums/thread/30965.aspx</link><pubDate>Mon, 19 Oct 2009 19:14:21 GMT</pubDate><guid isPermaLink="false">2fa994ca-da92-4cc0-8578-1c713492f1d7:30965</guid><dc:creator>neocon</dc:creator><slash:comments>2</slash:comments><comments>http://forum.equis.com/forums/thread/30965.aspx</comments><wfw:commentRss>http://forum.equis.com/forums/commentrss.aspx?SectionID=3040&amp;PostID=30965</wfw:commentRss><description>hi,&lt;br /&gt;&lt;br /&gt;could someone explain the meaning of "std" in the formula below?&lt;br /&gt;&lt;br /&gt;is it standart deviation or sth else?&lt;br /&gt;&lt;br /&gt;((C+2*Std(C,21)-Mov(C,21,S))/(4*(Std(C,21)))*100&lt;br /&gt;&lt;br /&gt;thanks,</description></item><item><title>consolidation detector</title><link>http://forum.equis.com/forums/thread/31064.aspx</link><pubDate>Sun, 01 Nov 2009 14:37:43 GMT</pubDate><guid isPermaLink="false">2fa994ca-da92-4cc0-8578-1c713492f1d7:31064</guid><dc:creator>garp</dc:creator><slash:comments>8</slash:comments><comments>http://forum.equis.com/forums/thread/31064.aspx</comments><wfw:commentRss>http://forum.equis.com/forums/commentrss.aspx?SectionID=3040&amp;PostID=31064</wfw:commentRss><description>&lt;P&gt;Need some help please. How can I intialize a constant value in MS? The manual is no help on this. I'm writing a trivial&amp;nbsp;exploration where the price at t-n is within the channel formed by the high and low at t, + and - a specified percentage.&lt;/P&gt;
&lt;P&gt;It seems &amp;nbsp;the constant values for my channel are constantly changing rendering my algorithm useless. The code:&lt;/P&gt;
&lt;P&gt;{ change the next 3 lines to change search criteria }&lt;BR&gt;upPct:=.20;&amp;nbsp;&amp;nbsp;&amp;nbsp; { 20 % }&lt;BR&gt;dwnPct:=.20;&amp;nbsp;&amp;nbsp; { 20 % }&lt;BR&gt;lookBack:=10;&lt;/P&gt;
&lt;P&gt;baseHigh:=ref(H,0);&lt;BR&gt;baseLow:=ref(L,0);&lt;/P&gt;
&lt;P&gt;upLimit:=baseHigh+(baseHigh*upPct);&lt;BR&gt;dwnLimit:=baseLow-(baseLow*dwnPct);&lt;/P&gt;
&lt;P&gt;hiHigh:=HHV(H,lookBack);&lt;BR&gt;lowLow:=LLV(C,lookBack);&lt;/P&gt;
&lt;P&gt;{ if condition is true, return 1, els, return 0 }&lt;BR&gt;If( upLimit &amp;lt;= hiHigh AND dwnLimit &amp;gt;= lowLow, 1, 0 )&lt;BR&gt;&lt;/P&gt;
&lt;P&gt;Thanks in advance&lt;/P&gt;
&lt;P&gt;G&lt;/P&gt;</description></item><item><title>Has anyone found a TD Sequential expert or addin that works sucessfully</title><link>http://forum.equis.com/forums/thread/31101.aspx</link><pubDate>Wed, 04 Nov 2009 15:37:27 GMT</pubDate><guid isPermaLink="false">2fa994ca-da92-4cc0-8578-1c713492f1d7:31101</guid><dc:creator>SAILBEARS1</dc:creator><slash:comments>0</slash:comments><comments>http://forum.equis.com/forums/thread/31101.aspx</comments><wfw:commentRss>http://forum.equis.com/forums/commentrss.aspx?SectionID=3040&amp;PostID=31101</wfw:commentRss><description>I have seen many posts on here but none claims to work or be easy to load in.  Thanks for any help.</description></item><item><title>anyone can help code these formulae</title><link>http://forum.equis.com/forums/thread/30988.aspx</link><pubDate>Fri, 23 Oct 2009 03:49:26 GMT</pubDate><guid isPermaLink="false">2fa994ca-da92-4cc0-8578-1c713492f1d7:30988</guid><dc:creator>bull&amp;bear</dc:creator><slash:comments>4</slash:comments><comments>http://forum.equis.com/forums/thread/30988.aspx</comments><wfw:commentRss>http://forum.equis.com/forums/commentrss.aspx?SectionID=3040&amp;PostID=30988</wfw:commentRss><description>&lt;P&gt;1)&amp;nbsp;the nr of days macd &amp;gt; than its signal line.&lt;/P&gt;
&lt;P&gt;2)the nr of days macd &amp;gt; 0 &lt;/P&gt;
&lt;P&gt;3)the nr of days close &amp;gt; parabolic stop &amp;amp; reversal (0.2, 0.02)&lt;/P&gt;
&lt;P&gt;4)the nr of days ema20 &amp;gt; ema5&lt;/P&gt;
&lt;P&gt;5)the nr of days counting backwards from today&amp;nbsp;golden cross(ema20cross over &amp;amp; cut above ema50) has taken place.&lt;/P&gt;</description></item><item><title>Explorer producing same results each day</title><link>http://forum.equis.com/forums/thread/31046.aspx</link><pubDate>Sat, 31 Oct 2009 01:59:18 GMT</pubDate><guid isPermaLink="false">2fa994ca-da92-4cc0-8578-1c713492f1d7:31046</guid><dc:creator>DaBassman</dc:creator><slash:comments>3</slash:comments><comments>http://forum.equis.com/forums/thread/31046.aspx</comments><wfw:commentRss>http://forum.equis.com/forums/commentrss.aspx?SectionID=3040&amp;PostID=31046</wfw:commentRss><description>I have been using a formula in Explorer for a few years but for some reason it&lt;br /&gt;has begun producing the same results each day that I run Explorer (EOD) although&lt;br /&gt;the securities data is being updated daily correctly. This is the first time this has happened since I have been running Explorer for this formula. I even tried other Explorer formulas and got the same results. Any ideas? Thanks!&lt;br /&gt;&lt;br /&gt;Peace!&lt;br /&gt;&lt;br /&gt;Charles&lt;br /&gt;&lt;br /&gt;P.S. The "most recent date" in Explorer Options is selected. </description></item><item><title>Questions about backward Reference</title><link>http://forum.equis.com/forums/thread/31066.aspx</link><pubDate>Mon, 02 Nov 2009 00:31:26 GMT</pubDate><guid isPermaLink="false">2fa994ca-da92-4cc0-8578-1c713492f1d7:31066</guid><dc:creator>Nathan</dc:creator><slash:comments>0</slash:comments><comments>http://forum.equis.com/forums/thread/31066.aspx</comments><wfw:commentRss>http://forum.equis.com/forums/commentrss.aspx?SectionID=3040&amp;PostID=31066</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;If i want to buy every time the close price goes up 10%, then close out, and then sell short every time the close drops 10%. How should I code.&lt;br /&gt;&lt;br /&gt;E.g.   C1=8,&lt;br /&gt;         C2=9 (buy)&lt;br /&gt;         C3=10(buy)&lt;br /&gt; Then sell at C4&lt;br /&gt; Then when C5=10&lt;br /&gt;                  C6=8 (Sell short)&lt;br /&gt;                  &lt;br /&gt;&lt;br /&gt;                  C10=6(Sell short)&lt;br /&gt;               &lt;br /&gt;                  C12=4 (Sell short)&lt;br /&gt;My buy/sell short conditon is based on the previous buy/sell short price.&lt;br /&gt;                  &lt;br /&gt;I have asked similar questions about it before. First of all, Thank you for replying. &lt;br /&gt;&lt;br /&gt;I saw some people have this kind of backward reference questions as well, and GV.dll or latch or prev/valuewhen are advised. But I am still not quite understand how to use GV.dll and latch.&lt;br /&gt;&lt;br /&gt;I have work out the formula for buy conditon, and it is fine to me:&lt;br /&gt;&lt;br /&gt;var1:=valuewhen(1,C*0.9&gt;prev, C);&lt;br /&gt;var2:=valuewhen(2,C*0.9&gt;prev, C);&lt;br /&gt;Cross(var1,var2*1.1)&lt;br /&gt;&lt;br /&gt;But, when I use the similar idea in sell short. It  doesnt work. &lt;br /&gt;&lt;br /&gt;I am still new to MS, so if you have a better solution for this, please help me with this. Thanks.</description></item><item><title>How can I write this with Metastock</title><link>http://forum.equis.com/forums/thread/31049.aspx</link><pubDate>Sat, 31 Oct 2009 11:51:41 GMT</pubDate><guid isPermaLink="false">2fa994ca-da92-4cc0-8578-1c713492f1d7:31049</guid><dc:creator>rsdamha</dc:creator><slash:comments>2</slash:comments><comments>http://forum.equis.com/forums/thread/31049.aspx</comments><wfw:commentRss>http://forum.equis.com/forums/commentrss.aspx?SectionID=3040&amp;PostID=31049</wfw:commentRss><description>Hi ,&lt;br /&gt;&lt;br /&gt;How can I write a code that gives me a continuous value if condition A is continuing true.lets try this by using volume with condition ( value remains max ):&lt;br /&gt;day --------- volume&lt;br /&gt;1---------------- 5&lt;br /&gt;2---------------- 2&lt;br /&gt;3---------------- 3&lt;br /&gt;4---------------- 6&lt;br /&gt;&lt;br /&gt;At day 1 value is 5&lt;br /&gt;day 2 value is 5&lt;br /&gt;day 3 value is 5&lt;br /&gt;day 4 valye is 6&lt;br /&gt;&lt;br /&gt;How can I write this with metastock?&lt;br /&gt;&lt;br /&gt;Thank you</description></item><item><title>Ichimoku Kinko Hyo Expert                                   </title><link>http://forum.equis.com/forums/thread/1314.aspx</link><pubDate>Tue, 19 Apr 2005 09:04:32 GMT</pubDate><guid isPermaLink="false">2fa994ca-da92-4cc0-8578-1c713492f1d7:1314</guid><dc:creator>henry1224</dc:creator><slash:comments>5</slash:comments><comments>http://forum.equis.com/forums/thread/1314.aspx</comments><wfw:commentRss>http://forum.equis.com/forums/commentrss.aspx?SectionID=3040&amp;PostID=1314</wfw:commentRss><description>&lt;b&gt;This expert uses the default values from the standard indicators.&lt;br /&gt;&lt;br /&gt;You will need the PowerPivots plus Add-on to use this Expert&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Highlights&lt;br /&gt;&lt;br /&gt;long&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;ST:=(HHV(H,26)+LLV(L,26))/2;&lt;br /&gt;TL:=(HHV(H,9)+LLV(L,9))/2;&lt;br /&gt;A1:=Ref((ST+TL)/2,-25);&lt;br /&gt;A2:=Ref((HHV(H,52)+LLV(L,52))/2,-25);&lt;br /&gt;LE:= If(A1&amp;gt;=A2,Cross(C,A1),Cross(C,A2));&lt;br /&gt;LX:= If(A1&amp;gt;=A2,Cross(A1,C),Cross(A2,C));&lt;br /&gt;SE:= If(A1&amp;gt;=A2,Cross(A2,C),Cross(A1,C));&lt;br /&gt;SX:= If(A1&amp;gt;=A2,Cross(C,A2),Cross(C,A1));&lt;br /&gt;B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!");&lt;br /&gt;B&amp;gt;0 &lt;br /&gt;&lt;br /&gt;&lt;b&gt;Short&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;ST:=(HHV(H,26)+LLV(L,26))/2;&lt;br /&gt;TL:=(HHV(H,9)+LLV(L,9))/2;&lt;br /&gt;A1:=Ref((ST+TL)/2,-25);&lt;br /&gt;A2:=Ref((HHV(H,52)+LLV(L,52))/2,-25);&lt;br /&gt;LE:= If(A1&amp;gt;=A2,Cross(C,A1),Cross(C,A2));&lt;br /&gt;LX:= If(A1&amp;gt;=A2,Cross(A1,C),Cross(A2,C));&lt;br /&gt;SE:= If(A1&amp;gt;=A2,Cross(A2,C),Cross(A1,C));&lt;br /&gt;SX:= If(A1&amp;gt;=A2,Cross(C,A2),Cross(C,A1));&lt;br /&gt;B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!");&lt;br /&gt;B&amp;lt;0 &lt;br /&gt;&lt;br /&gt;&lt;b&gt;out&lt;/b&gt; &lt;br /&gt;&lt;br /&gt;ST:=(HHV(H,26)+LLV(L,26))/2;&lt;br /&gt;TL:=(HHV(H,9)+LLV(L,9))/2;&lt;br /&gt;A1:=Ref((ST+TL)/2,-25);&lt;br /&gt;A2:=Ref((HHV(H,52)+LLV(L,52))/2,-25);&lt;br /&gt;LE:= If(A1&amp;gt;=A2,Cross(C,A1),Cross(C,A2));&lt;br /&gt;LX:= If(A1&amp;gt;=A2,Cross(A1,C),Cross(A2,C));&lt;br /&gt;SE:= If(A1&amp;gt;=A2,Cross(A2,C),Cross(A1,C));&lt;br /&gt;SX:= If(A1&amp;gt;=A2,Cross(C,A2),Cross(C,A1));&lt;br /&gt;B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!");&lt;br /&gt;B=0&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Symbol Tab&lt;br /&gt;&lt;br /&gt;Long entry&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;ST:=(HHV(H,26)+LLV(L,26))/2;&lt;br /&gt;TL:=(HHV(H,9)+LLV(L,9))/2;&lt;br /&gt;A1:=Ref((ST+TL)/2,-25);&lt;br /&gt;A2:=Ref((HHV(H,52)+LLV(L,52))/2,-25);&lt;br /&gt;LE:= If(A1&amp;gt;=A2,Cross(C,A1),Cross(C,A2));&lt;br /&gt;LX:= If(A1&amp;gt;=A2,Cross(A1,C),Cross(A2,C));&lt;br /&gt;SE:= If(A1&amp;gt;=A2,Cross(A2,C),Cross(A1,C));&lt;br /&gt;SX:= If(A1&amp;gt;=A2,Cross(C,A2),Cross(C,A1));&lt;br /&gt;B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!");&lt;br /&gt;B&amp;gt;0 AND Ref(B,-1)&amp;lt;=0&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Short entry&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;ST:=(HHV(H,26)+LLV(L,26))/2;&lt;br /&gt;TL:=(HHV(H,9)+LLV(L,9))/2;&lt;br /&gt;A1:=Ref((ST+TL)/2,-25);&lt;br /&gt;A2:=Ref((HHV(H,52)+LLV(L,52))/2,-25);&lt;br /&gt;LE:= If(A1&amp;gt;=A2,Cross(C,A1),Cross(C,A2));&lt;br /&gt;LX:= If(A1&amp;gt;=A2,Cross(A1,C),Cross(A2,C));&lt;br /&gt;SE:= If(A1&amp;gt;=A2,Cross(A2,C),Cross(A1,C));&lt;br /&gt;SX:= If(A1&amp;gt;=A2,Cross(C,A2),Cross(C,A1));&lt;br /&gt;B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!");&lt;br /&gt;B&amp;lt;0 AND Ref(B,-1)&amp;gt;=0&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Long Exit&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;ST:=(HHV(H,26)+LLV(L,26))/2;&lt;br /&gt;TL:=(HHV(H,9)+LLV(L,9))/2;&lt;br /&gt;A1:=Ref((ST+TL)/2,-25);&lt;br /&gt;A2:=Ref((HHV(H,52)+LLV(L,52))/2,-25);&lt;br /&gt;LE:= If(A1&amp;gt;=A2,Cross(C,A1),Cross(C,A2));&lt;br /&gt;LX:= If(A1&amp;gt;=A2,Cross(A1,C),Cross(A2,C));&lt;br /&gt;SE:= If(A1&amp;gt;=A2,Cross(A2,C),Cross(A1,C));&lt;br /&gt;SX:= If(A1&amp;gt;=A2,Cross(C,A2),Cross(C,A1));&lt;br /&gt;B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!");&lt;br /&gt;B=0 AND Ref(B,-1)&amp;gt;0&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Short Exit&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;ST:=(HHV(H,26)+LLV(L,26))/2;&lt;br /&gt;TL:=(HHV(H,9)+LLV(L,9))/2;&lt;br /&gt;A1:=Ref((ST+TL)/2,-25);&lt;br /&gt;A2:=Ref((HHV(H,52)+LLV(L,52))/2,-25);&lt;br /&gt;LE:= If(A1&amp;gt;=A2,Cross(C,A1),Cross(C,A2));&lt;br /&gt;LX:= If(A1&amp;gt;=A2,Cross(A1,C),Cross(A2,C));&lt;br /&gt;SE:= If(A1&amp;gt;=A2,Cross(A2,C),Cross(A1,C));&lt;br /&gt;SX:= If(A1&amp;gt;=A2,Cross(C,A2),Cross(C,A1));&lt;br /&gt;B:=ExtFml("PowerPivots.SysEval",LE,LX,SE,SX,"!@#$#@!");&lt;br /&gt;B=0 AND Ref(B,-1)&amp;lt;0</description></item><item><title>What are the security function symbols for different time frames? Please?</title><link>http://forum.equis.com/forums/thread/31032.aspx</link><pubDate>Thu, 29 Oct 2009 16:19:51 GMT</pubDate><guid isPermaLink="false">2fa994ca-da92-4cc0-8578-1c713492f1d7:31032</guid><dc:creator>Biff Malibu</dc:creator><slash:comments>1</slash:comments><comments>http://forum.equis.com/forums/thread/31032.aspx</comments><wfw:commentRss>http://forum.equis.com/forums/commentrss.aspx?SectionID=3040&amp;PostID=31032</wfw:commentRss><description>I'd like to do a system test using different time frames of same symbol.&amp;nbsp; I have loaded SPY Daily, SPY Weekly, and SPY monthly into a folder called SPY data using the downloader.&amp;nbsp; I'd like to pull these securities into a system test but I can't find the actual symbols anywhere...&lt;br&gt;&lt;br&gt;I know security("C:\Metastock Data\SPY DATA\"SPY",C) pulls the Daily, but how do I pull the weekly and monthly???&amp;nbsp; Thanks for any help...&lt;br&gt;&lt;br&gt;Biff&lt;br&gt;&lt;br&gt;How'd you guys like that GDP report today?&amp;nbsp; Caught a lot of people by surprise.&lt;br&gt;</description></item><item><title>Limit Entry</title><link>http://forum.equis.com/forums/thread/31017.aspx</link><pubDate>Wed, 28 Oct 2009 06:38:30 GMT</pubDate><guid isPermaLink="false">2fa994ca-da92-4cc0-8578-1c713492f1d7:31017</guid><dc:creator>Adelaide</dc:creator><slash:comments>0</slash:comments><comments>http://forum.equis.com/forums/thread/31017.aspx</comments><wfw:commentRss>http://forum.equis.com/forums/commentrss.aspx?SectionID=3040&amp;PostID=31017</wfw:commentRss><description>Hi all,&lt;br /&gt;&lt;br /&gt;Can someone please help with the code for the following details-&lt;br /&gt;&lt;br /&gt;Limit buy order for tomorrow at&lt;br /&gt;&lt;br /&gt;Todays Low - 1*ATR (10) &lt;br /&gt;&lt;br /&gt;Rounded to 2 decimal places&lt;br /&gt;&lt;br /&gt;Thanks in advance</description></item><item><title>Countback Lines Expert                                      </title><link>http://forum.equis.com/forums/thread/1265.aspx</link><pubDate>Sun, 17 Apr 2005 06:29:16 GMT</pubDate><guid isPermaLink="false">2fa994ca-da92-4cc0-8578-1c713492f1d7:1265</guid><dc:creator>henry1224</dc:creator><slash:comments>3</slash:comments><comments>http://forum.equis.com/forums/thread/1265.aspx</comments><wfw:commentRss>http://forum.equis.com/forums/commentrss.aspx?SectionID=3040&amp;PostID=1265</wfw:commentRss><description>To create this expert, you have to create 2 custom indicators first&lt;br /&gt;{Countbacklines buy}&lt;br /&gt;Days:=10;&lt;br /&gt;BV:=If(L&amp;gt;LLV(L,Days),PREV,&lt;br /&gt;If(Ref(H,-2)&amp;gt;Ref(H,-1) AND Ref(H,-1)&amp;gt;H,Ref(H,-2),&lt;br /&gt;If(Ref(H,-3)&amp;gt;HHV(H,3) AND Alert(Ref(H,-1)&amp;gt;H,2),Ref(H,-3),&lt;br /&gt;If(Ref(H,-4)&amp;gt;HHV(H,4) AND Alert(Ref(H,-1)&amp;gt;H,3),Ref(H,-4),&lt;br /&gt;If(Ref(H,-5)&amp;gt;HHV(H,5) AND Alert(Ref(H,-1)&amp;gt;H,4),Ref(H,-5),&lt;br /&gt;PREV)))));&lt;br /&gt;BV;&lt;br /&gt; &lt;br /&gt;{Countbacklines Sell}&lt;br /&gt;Days:=10;&lt;br /&gt;SV:=If(H&amp;lt;HHV(H,Days),PREV,&lt;br /&gt;If(Ref(L,-2)&amp;lt;Ref(L,-1) AND Ref(L,-1)&amp;lt;L,Ref(L,-2),&lt;br /&gt;If(Ref(L,-3)&amp;lt;LLV(L,3) AND Alert(Ref(L,-1)&amp;lt;L,2),Ref(L,-3),&lt;br /&gt;If(Ref(L,-4)&amp;lt;LLV(L,4) AND Alert(Ref(L,-1)&amp;lt;L,3),Ref(L,-4),&lt;br /&gt;If(Ref(L,-5)&amp;lt;LLV(L,5) AND Alert(Ref(L,-1)&amp;lt;L,4),Ref(L,-5),&lt;br /&gt;PREV)))));&lt;br /&gt;SV;&lt;br /&gt; &lt;br /&gt;Now for the expert  &lt;br /&gt;under the highlight tab&lt;br /&gt; &lt;br /&gt;Long&lt;br /&gt; &lt;br /&gt;Buy:=Cross(C, Fml( "Countbacklines buy"));&lt;br /&gt;Sell:=Cross(Fml( "Countbacklines Sell"),C);&lt;br /&gt;D:=If(BarsSince(Buy)&amp;lt;BarsSince(Sell),-1, If(BarsSince(Buy)&amp;gt;BarsSince(Sell),1,0));&lt;br /&gt;D=-1&lt;br /&gt; &lt;br /&gt;Short&lt;br /&gt; &lt;br /&gt;Buy:=Cross(C, Fml( "Countbacklines buy"));&lt;br /&gt;Sell:=Cross(Fml( "Countbacklines Sell"),C);&lt;br /&gt;D:=If(BarsSince(Buy)&amp;lt;BarsSince(Sell),-1, If(BarsSince(Buy)&amp;gt;BarsSince(Sell),1,0));&lt;br /&gt;D=1&lt;br /&gt; &lt;br /&gt;now under the symbol tab&lt;br /&gt; &lt;br /&gt;EL&lt;br /&gt; &lt;br /&gt;Buy:=Cross(C, Fml( "Countbacklines buy"));&lt;br /&gt;Sell:=Cross(Fml( "Countbacklines Sell"),C);&lt;br /&gt;D:=If(BarsSince(Buy)&amp;lt;BarsSince(Sell),-1, If(BarsSince(Buy)&amp;gt;BarsSince(Sell),1,0));&lt;br /&gt;D=-1 AND Ref(D,-1)&amp;gt;-1&lt;br /&gt; &lt;br /&gt;ES&lt;br /&gt; &lt;br /&gt;Buy:=Cross(C, Fml( "Countbacklines buy"));&lt;br /&gt;Sell:=Cross(Fml( "Countbacklines Sell"),C);&lt;br /&gt;D:=If(BarsSince(Buy)&amp;lt;BarsSince(Sell),-1, If(BarsSince(Buy)&amp;gt;BarsSince(Sell),1,0));&lt;br /&gt;D=1 AND Ref(D,-1)&amp;lt;1</description></item><item><title>buy at preceding high</title><link>http://forum.equis.com/forums/thread/30992.aspx</link><pubDate>Sat, 24 Oct 2009 20:51:09 GMT</pubDate><guid isPermaLink="false">2fa994ca-da92-4cc0-8578-1c713492f1d7:30992</guid><dc:creator>buyandsell</dc:creator><slash:comments>3</slash:comments><comments>http://forum.equis.com/forums/thread/30992.aspx</comments><wfw:commentRss>http://forum.equis.com/forums/commentrss.aspx?SectionID=3040&amp;PostID=30992</wfw:commentRss><description>&lt;P&gt;buy if once the&amp;nbsp;highest price higher than&amp;nbsp;preceding high :&lt;/P&gt;
&lt;P&gt;H&amp;gt; REF(H,-1)&lt;/P&gt;
&lt;P&gt;it may buy at preceding high or higher or lower, it depends on the closing price,&amp;nbsp;however, how to make it to buy at preceding high only while using EST? any setting in EST should I set?&lt;/P&gt;</description></item><item><title>Is it possible to return the Close or date when my previous order was executed</title><link>http://forum.equis.com/forums/thread/30997.aspx</link><pubDate>Sun, 25 Oct 2009 04:31:28 GMT</pubDate><guid isPermaLink="false">2fa994ca-da92-4cc0-8578-1c713492f1d7:30997</guid><dc:creator>Nathan</dc:creator><slash:comments>0</slash:comments><comments>http://forum.equis.com/forums/thread/30997.aspx</comments><wfw:commentRss>http://forum.equis.com/forums/commentrss.aspx?SectionID=3040&amp;PostID=30997</wfw:commentRss><description>Hi, &lt;br /&gt;I know Ref(DATA ARRAY, Period)&lt;br /&gt;But my problem is every time the periods changes. &lt;br /&gt;&lt;br /&gt;So my question is  can I get the close price when my previous order was executed some days ago. If I can, what formula should I use.&lt;br /&gt;&lt;br /&gt;Thanks</description></item><item><title>Can someone code this, please?</title><link>http://forum.equis.com/forums/thread/30937.aspx</link><pubDate>Tue, 13 Oct 2009 23:40:33 GMT</pubDate><guid isPermaLink="false">2fa994ca-da92-4cc0-8578-1c713492f1d7:30937</guid><dc:creator>Nathan</dc:creator><slash:comments>10</slash:comments><comments>http://forum.equis.com/forums/thread/30937.aspx</comments><wfw:commentRss>http://forum.equis.com/forums/commentrss.aspx?SectionID=3040&amp;PostID=30937</wfw:commentRss><description>Hi, how should I code if I want to buy shares when the price increases like 5% and close out when it goes down 10% in like 2 yrs.&lt;br /&gt;&lt;br /&gt;I am sure this is simple for you. I am a new user, so if you can code this, please give me some hints.  Many thanks.</description></item></channel></rss>