<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Ensign Software Articles</title>
	<atom:link href="http://www.ensignsoftware.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ensignsoftware.com/blog</link>
	<description>How to use Ensign Charting Software and Trading Tips</description>
	<lastBuildDate>Thu, 26 Apr 2012 20:03:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Study Values in Sections</title>
		<link>http://www.ensignsoftware.com/blog/2012/04/study-values-in-sections/</link>
		<comments>http://www.ensignsoftware.com/blog/2012/04/study-values-in-sections/#comments</comments>
		<pubDate>Thu, 26 Apr 2012 20:02:31 +0000</pubDate>
		<dc:creator>Ensign</dc:creator>
				<category><![CDATA[DYO]]></category>
		<category><![CDATA[Ensign 10]]></category>
		<category><![CDATA[Studies]]></category>

		<guid isPermaLink="false">http://www.ensignsoftware.com/blog/?p=861</guid>
		<description><![CDATA[Q:  How can I have a DYO display study values at the bottom of the chart?  Basically what I want to do is instead of having the show values window appear on the left side of the chart I would like &#8230; <a href="http://www.ensignsoftware.com/blog/2012/04/study-values-in-sections/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><strong>Q:  </strong>How can I have a DYO display study values at the bottom of the chart?  Basically what I want to do is instead of having the show values window appear on the left side of the chart I would like the values to be displayed in the DYO field sections of their respective DYO’s to save screen real estate.</p>
<p><strong>A:   </strong>This DYO will show current study values in sections at the bottom of the chart. These are current values that will update tick by tick. They are not study values aligned for where the mouse is.</p>
<p><a href="http://www.ensignsoftware.com/blog/wp-content/uploads/2012/04/DYOsections.png"><img class="aligncenter size-full wp-image-862" title="DYOsections" src="http://www.ensignsoftware.com/blog/wp-content/uploads/2012/04/DYOsections.png" alt="" width="756" height="566" /></a></p>
<p>A &#8211; Read a study value and show the label with a blue background and white font. The label has |1| to indicate the location is the 1st section.</p>
<p>B &#8211; Read another study value and show with a brown background. The label has |2| to locate the text in the 2nd section.   [B.2] is the value from Row B formatted to show 2 decimals.</p>
<p>A DYO like this can show values in 7 different sections that exist at the bottom of a chart. Use the section tags |1| through |7|.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ensignsoftware.com/blog/2012/04/study-values-in-sections/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Import Ticker Symbols</title>
		<link>http://www.ensignsoftware.com/blog/2012/04/import-ticker-symbols/</link>
		<comments>http://www.ensignsoftware.com/blog/2012/04/import-ticker-symbols/#comments</comments>
		<pubDate>Tue, 17 Apr 2012 17:00:18 +0000</pubDate>
		<dc:creator>Ensign</dc:creator>
				<category><![CDATA[Ensign 10]]></category>
		<category><![CDATA[ESPL]]></category>
		<category><![CDATA[Symbol List]]></category>

		<guid isPermaLink="false">http://www.ensignsoftware.com/blog/?p=853</guid>
		<description><![CDATA[Q:  How can I transfer a list of ticker symbols to Ensign 10. A:  If you want a list of ticker symbols to be a list your data feed follows, save the ASCII file with the name Symbol1.dat in the &#8230; <a href="http://www.ensignsoftware.com/blog/2012/04/import-ticker-symbols/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><strong>Q:  </strong>How can I transfer a list of ticker symbols to Ensign 10.</p>
<p><strong>A:  </strong>If you want a list of ticker symbols to be a list your data feed follows, save the ASCII file with the name Symbol1.dat in the /Feeds/vendor folder. Here is the example for the eSignal vendor and its folder is ES under /Feeds. </p>
<p><a href="http://www.ensignsoftware.com/blog/wp-content/uploads/2012/04/Ticker1.png"><img class="aligncenter size-full wp-image-854" title="Ticker1" src="http://www.ensignsoftware.com/blog/wp-content/uploads/2012/04/Ticker1.png" alt="" width="467" height="521" /></a></p>
<p>Then the program will watch this list of symbols and populate the ESignal quote page with live updates.</p>
<p>If you want a custom quote page, then the ascii text file with the symbols is like this example.  The folder is Quofile and the text file has a .dat suffix. The list of symbols have a single character prefix for the vendor, and they are in the same list order as the Feeds on Setup Feeds. The list starts with A for FXCM vendor and B for Interactive Broker vendor feed, etc.</p>
<p><a href="http://www.ensignsoftware.com/blog/wp-content/uploads/2012/04/Ticker2.png"><img class="aligncenter size-full wp-image-855" title="Ticker2" src="http://www.ensignsoftware.com/blog/wp-content/uploads/2012/04/Ticker2.png" alt="" width="498" height="266" /></a></p>
<p>A Spreadsheet cannot import your ticker list. However you could use ESPL to read your file and then poke the cells on the spread sheet with the strings of your ticker list.</p>
<p>Code example would be something like this.</p>
<pre>begin
  sList.LoadFromFile(sPath + 'yourfilename.dat');
  FindWindow(eSpread);
  for row := 1 to pred(sList.count) do
    SetCell(2, row, sList[row], clWhite); {1st param is column}
end;</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.ensignsoftware.com/blog/2012/04/import-ticker-symbols/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Day Session Range</title>
		<link>http://www.ensignsoftware.com/blog/2012/03/day-session-range/</link>
		<comments>http://www.ensignsoftware.com/blog/2012/03/day-session-range/#comments</comments>
		<pubDate>Tue, 20 Mar 2012 15:49:56 +0000</pubDate>
		<dc:creator>Ensign</dc:creator>
				<category><![CDATA[DYO]]></category>
		<category><![CDATA[Ensign Windows]]></category>
		<category><![CDATA[Range]]></category>

		<guid isPermaLink="false">http://www.ensignsoftware.com/blog/?p=841</guid>
		<description><![CDATA[Q:   I need to view the ES on an all-sessions chart.  But I would like to have a DYO start at 9:30 and end at 16:15.  I would like it to find the high and low during that time which &#8230; <a href="http://www.ensignsoftware.com/blog/2012/03/day-session-range/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><strong>Q:  </strong> I need to view the ES on an all-sessions chart.  But I would like to have a DYO start at 9:30 and end at 16:15.  I would like it to find the high and low during that time which would allow me to display the range on the message text.</p>
<p><strong>A:  </strong>Use a Daily Price Lines tool to find the day session only high and low, and a DYO to calculate and show the range in the message text.</p>
<p><a href="http://www.ensignsoftware.com/blog/wp-content/uploads/2012/03/DPLrange.png"><img class="aligncenter size-full wp-image-842" title="DPLrange" src="http://www.ensignsoftware.com/blog/wp-content/uploads/2012/03/DPLrange.png" alt="" width="654" height="534" /></a></p>
<p>The DPL will find the Today High and Today Low, but have the Day Session box checked so these values are found using only the 9:30 to 16:15 data.  Their values are saved in the GVs as shown so the DYO can calculate and show the range.</p>
<p><a href="http://www.ensignsoftware.com/blog/wp-content/uploads/2012/03/DYOrange.png"><img class="aligncenter size-full wp-image-843" title="DYOrange" src="http://www.ensignsoftware.com/blog/wp-content/uploads/2012/03/DYOrange.png" alt="" width="1129" height="663" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ensignsoftware.com/blog/2012/03/day-session-range/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Two Lessons from History</title>
		<link>http://www.ensignsoftware.com/blog/2012/03/two-lessons-from-history/</link>
		<comments>http://www.ensignsoftware.com/blog/2012/03/two-lessons-from-history/#comments</comments>
		<pubDate>Mon, 12 Mar 2012 17:36:37 +0000</pubDate>
		<dc:creator>Ensign</dc:creator>
				<category><![CDATA[Analysis]]></category>
		<category><![CDATA[Bradley]]></category>
		<category><![CDATA[Indu]]></category>

		<guid isPermaLink="false">http://www.ensignsoftware.com/blog/?p=833</guid>
		<description><![CDATA[Larry Pesavento: &#8216;Bernard Baruch, the famous speculator from the 1920’s had several investment rules that he relied on throughout his career that are now famous quotes and basic tenets for thousands of investors today. These three charts exemplify some of &#8230; <a href="http://www.ensignsoftware.com/blog/2012/03/two-lessons-from-history/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Larry Pesavento: &#8216;Bernard Baruch, the famous speculator from the 1920’s had several investment rules that he relied on throughout his career that are now famous quotes and basic tenets for thousands of investors today. These three charts exemplify some of the most noted of these rules. The first chart shows the Greek Markit manufacturing index in a very steep downtrend.</p>
<p><a href="http://www.ensignsoftware.com/blog/wp-content/uploads/2012/03/MarkitGreece.png"><img class="aligncenter size-full wp-image-834" title="MarkitGreece" src="http://www.ensignsoftware.com/blog/wp-content/uploads/2012/03/MarkitGreece.png" alt="" width="567" height="390" /></a></p>
<p>Since rates on Treasuries have reached essentially zero, it is unlikely this divergence can continue and either Treasuries or equities (and quite possibly both) could be headed for a potential collapse. Either way, this illustrates another rule: do not be concerned on the return ON your money, be concerned with the return OF your money.</p>
<p><a href="http://www.ensignsoftware.com/blog/wp-content/uploads/2012/03/CashSPWeekly.png"><img class="aligncenter size-full wp-image-835" title="CashS&amp;PWeekly" src="http://www.ensignsoftware.com/blog/wp-content/uploads/2012/03/CashSPWeekly.png" alt="" width="554" height="397" /></a></p>
<p>This week, the stock market has reached the three-year anniversary of the major low dating back from March of 2009. Incredibly, nothing in the underlying economy has really changed since. More importantly, all of the AB=CD patterns that I have been looking at on a worldwide basis still remain intact. While I know this may sound like a broken record each week, the record is still playing and has not changed its tune. My bearishness remains intact, and I am awaiting a suitable entrance into the expected reversal.&#8217;</p>
<p><a href="http://www.ensignsoftware.com/blog/wp-content/uploads/2012/03/InduBradley.png"><img class="aligncenter size-full wp-image-836" title="InduBradley" src="http://www.ensignsoftware.com/blog/wp-content/uploads/2012/03/InduBradley.png" alt="" width="621" height="448" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ensignsoftware.com/blog/2012/03/two-lessons-from-history/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Where Files are Saved</title>
		<link>http://www.ensignsoftware.com/blog/2012/03/where-files-are-saved/</link>
		<comments>http://www.ensignsoftware.com/blog/2012/03/where-files-are-saved/#comments</comments>
		<pubDate>Tue, 06 Mar 2012 22:30:39 +0000</pubDate>
		<dc:creator>Ensign</dc:creator>
				<category><![CDATA[Ensign 10]]></category>
		<category><![CDATA[Ensign Windows]]></category>
		<category><![CDATA[Studies]]></category>
		<category><![CDATA[Backups]]></category>

		<guid isPermaLink="false">http://www.ensignsoftware.com/blog/?p=811</guid>
		<description><![CDATA[Q:  There needs to be a better explanation about how to save charts, save layouts, and using the backup folder. A:  Although the answer and examples will use Ensign 10 folders and paths, the information is applicable to Ensign Windows. Charts:  When a &#8230; <a href="http://www.ensignsoftware.com/blog/2012/03/where-files-are-saved/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><strong>Q:</strong>  There needs to be a better explanation about how to save charts, save layouts, and using the backup folder.</p>
<p><strong>A:</strong>  Although the answer and examples will use Ensign 10 folders and paths, the information is applicable to Ensign Windows.</p>
<p><strong>Charts:  </strong>When a chart is opened from the charts form or from a quote page, the process reads the chart&#8217;s property file (if one exits), loads the chart&#8217;s data file and brings the bars on the chart current by extracting from database files, and then dresses the chart with study and draw tool objects.   If a chart is being opened for the first time, it will not have a property file, and so the default C:/Ensign10/Inifile/Chart.ini file is read.  Chart property files are located in the C:/Ensign10/Property folder using the chart symbol in the filename.</p>
<p>Studies and Draw Tools that belong to the chart are located in the C:/Ensign10/Study folder and use the chart symbol in the filename.</p>
<p><strong>Layouts:  </strong>When a layout is opened, the layout script contains information about which forms to open, where to position them, and how to dress the charts with studies and tools.  The layout file possesses the chart properties, and the chart objects.  Thus, a chart opened by a layout does not read from the C:/Ensign10/Property folder nor from the C:/Ensign10/Study folder.   Layout files are located in the C:/Ensign10/Layout folder with a sub-folder for each of the eight layout form tabs.</p>
<p>The layout file is saved when you use the Save or Save As buttons on the layout form.  You should resave layouts using different names when you are evolving your layout content so that you have an earlier version of the layout if you experience a difficulty.</p>
<p>The pop-up menu for Save Layout (hot key CTRL+W) executes the same code as the Save button on the Layout form.</p>
<p><strong>Templates:  </strong>Templates are a collection of studies and draw tool objects that are stored as a file so the collection can be applied to a chart.  Template files are located in the C:/Ensign10/Templates folder with a sub-folder for each of the eight template form tabs. </p>
<p>Template files are saved when you use the Save or Save As buttons on the template form.  You should resave templates using different names when you are evolving your template content so that you have an earlier version of the template if you experience a difficulty and want to return to an earlier version.</p>
<p><strong>Backups:  </strong>You are encouraged to have the Setup | System option checked to Backup Templates on Exit.  This backup feature will backup several important folders, including layouts.  Upon program exit, important files will be copied to the folder C:/Ensign10/AutoBackup which has sub-folders for each day of the week.  Thus, there could be a useful image of your files from Monday if they need to be restored on Wednesday.</p>
<p>Another backup and restore feature is found on the Setup | System | Maintenance form.  Perform task #14 to create an extensive backup to folder C:/Ensign10Backup.  And performing task #15 would restore this backup from the same folder.  This manual backup image is more extensive and is independent of the backup made on program exit.</p>
<p>The backups are accomplished by copying files.  Thus any file could be restored by using Windows Explorer to copy the file from the backup location to its appropriate folder under the C:/Ensign10 folder.</p>
<p><strong>Undelete:  </strong>The chart objects form has an Undelete button which when clicked will restore the last deleted chart object.   The undelete is accomplished by reloading a template of the chart objects that was saved in a C:/Ensign10/Backup folder prior to the deletion.   Though this was intended for use by Ensign 10 behind the scene, this folder might have a useful copy of how a chart was dressed with studies and draw tools if a template file is accidentally deleted or corrupted in the C:/Ensign10/Templates folder.</p>
<p><strong>Personal Backups:</strong>  Trading is a serious endeavor, and should be treated as such.  You should make your own backups to devices which are separate from the computer&#8217;s hard disk.   I recommend a free program called EZBackitup and use it on a daily basis to back up important files and folders to an external hard disk or to jump drives.  It is easy to create a backup script by dragging files or folders from a navigation tree to the backup list.  Jump drives are inexpensive, so I backup to a different one each day of the week.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ensignsoftware.com/blog/2012/03/where-files-are-saved/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dangerous Divergence</title>
		<link>http://www.ensignsoftware.com/blog/2012/02/dangerous-divergence/</link>
		<comments>http://www.ensignsoftware.com/blog/2012/02/dangerous-divergence/#comments</comments>
		<pubDate>Mon, 27 Feb 2012 19:09:23 +0000</pubDate>
		<dc:creator>Ensign</dc:creator>
				<category><![CDATA[Analysis]]></category>
		<category><![CDATA[Divergence]]></category>
		<category><![CDATA[Dow Jones]]></category>

		<guid isPermaLink="false">http://www.ensignsoftware.com/blog/?p=803</guid>
		<description><![CDATA[Larry Pesavento: &#8216;Pattern recognition is a viable method of determining the direction of the market within limits. It is far from an exact science but it does put the odds heavily in the favor of the pattern recognition trader. The &#8230; <a href="http://www.ensignsoftware.com/blog/2012/02/dangerous-divergence/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Larry Pesavento: &#8216;Pattern recognition is a viable method of determining the direction of the market within limits. It is far from an exact science but it does put the odds heavily in the favor of the pattern recognition trader. The work from Dr. Andrew Lo at the Massachusetts Institute of Technology proved this validity without a shadow of a doubt that eventually led to his book &#8220;<em>The Non-Random Walk Down Wall Street</em>&#8220;. </p>
<p>In addition to pattern recognition there are other tools that the technician can use to help determine unusual trading opportunities. It is my opinion, we are at one of these significant points in the stock market. There are two charts accompanying this dialogue that deserve your attention. The first chart shows of the divergence between the NASDAQ market and the New York Stock Exchange index at the top of the market in 2007.</p>
<p><a href="http://www.ensignsoftware.com/blog/wp-content/uploads/2012/02/NYAdailyDivergence2007.png"><img class="aligncenter size-full wp-image-804" title="NYAdailyDivergence2007" src="http://www.ensignsoftware.com/blog/wp-content/uploads/2012/02/NYAdailyDivergence2007.png" alt="" width="1272" height="923" /></a></p>
<p>In 2007, the NASDAQ was making substantially higher highs whereas the New York Stock Exchange index was making a classical double top. Presently, we have a similar situation with the NASDAQ screaming into new high ground whereas the New York Stock Exchange index is barely making a 786 retracement of last year&#8217;s high. I will leave it up to the readers to determine if this is worthy of your attention, but patterns do repeat and it&#8217;s something to keep in the back of your mind.</p>
<p><a href="http://www.ensignsoftware.com/blog/wp-content/uploads/2012/02/NYAdailyDivergence.png"><img class="aligncenter size-full wp-image-805" title="NYAdailyDivergence" src="http://www.ensignsoftware.com/blog/wp-content/uploads/2012/02/NYAdailyDivergence.png" alt="" width="1272" height="923" /></a></p>
<p>So many things are coming together at present that it is hard to believe that the market could go higher from these current levels.  But the one thing we have learned from decades of experience is that market trends can last longer than your equity if you do not plan for risk and watch out for the safety of your capital.&#8217;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ensignsoftware.com/blog/2012/02/dangerous-divergence/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ESPL: ToolBar and ToolButton</title>
		<link>http://www.ensignsoftware.com/blog/2012/02/espl-toolbar-and-toolbutton/</link>
		<comments>http://www.ensignsoftware.com/blog/2012/02/espl-toolbar-and-toolbutton/#comments</comments>
		<pubDate>Tue, 21 Feb 2012 19:15:08 +0000</pubDate>
		<dc:creator>Ensign</dc:creator>
				<category><![CDATA[Ensign 10]]></category>
		<category><![CDATA[ESPL]]></category>
		<category><![CDATA[ImageList]]></category>
		<category><![CDATA[ToolBar]]></category>
		<category><![CDATA[ToolButton]]></category>

		<guid isPermaLink="false">http://www.ensignsoftware.com/blog/?p=790</guid>
		<description><![CDATA[The Ensign 10 ESPL IDE has received significant additions.. Added TStringGrid component Added TToolBar component Added TToolButton component Added TPaintBox component Added StrUtils library Exposed 5 Ensign 10 TImageLists named: imgList16, imgList24, imgList32, imgMarker, and imgLine This example shows a form &#8230; <a href="http://www.ensignsoftware.com/blog/2012/02/espl-toolbar-and-toolbutton/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The Ensign 10 ESPL IDE has received significant additions..</p>
<ol>
<li>Added TStringGrid component</li>
<li>Added TToolBar component</li>
<li>Added TToolButton component</li>
<li>Added TPaintBox component</li>
<li>Added StrUtils library</li>
<li>Exposed 5 Ensign 10 TImageLists named:<br />
imgList16, imgList24, imgList32, imgMarker, and imgLine</li>
</ol>
<p>This example shows a form using TToolBar, TToolButton and imgMarker.</p>
<p><a href="http://www.ensignsoftware.com/blog/wp-content/uploads/2012/02/TToolBarExample.png"><img class="aligncenter size-full wp-image-791" title="TToolBarExample" src="http://www.ensignsoftware.com/blog/wp-content/uploads/2012/02/TToolBarExample.png" alt="" width="791" height="415" /></a></p>
<p>At design time, a TToolBar object was added to the form and aligned for alTop. Then four TToolButtons were added to to the ToolBar.</p>
<p>At run time, the imgMarker list of images from Ensign 10 is assigned to the ToolBar images property, and the ImageIndex properties assigned for the ToolButtons.  See the ESPL documentation for the Marker indexes in the Appendix.</p>
<p>Of course, a TImageList can be added to the form, and one&#8217;s own images can be added to the component.  At design time, the TToolBar images property can be set to the TImageList on the form, and the ToolButton imageindex property set.</p>
<p>The click event for each of the toolbuttons can be written to perform a desired action.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ensignsoftware.com/blog/2012/02/espl-toolbar-and-toolbutton/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ESPL: 2-Dimensional Arrays</title>
		<link>http://www.ensignsoftware.com/blog/2012/02/espl-2-dimensional-arrays/</link>
		<comments>http://www.ensignsoftware.com/blog/2012/02/espl-2-dimensional-arrays/#comments</comments>
		<pubDate>Mon, 20 Feb 2012 22:12:02 +0000</pubDate>
		<dc:creator>Ensign</dc:creator>
				<category><![CDATA[Ensign 10]]></category>
		<category><![CDATA[ESPL]]></category>
		<category><![CDATA[Arrays]]></category>
		<category><![CDATA[TStringGrid]]></category>

		<guid isPermaLink="false">http://www.ensignsoftware.com/blog/?p=781</guid>
		<description><![CDATA[Q:  How do I declare a 2-dimensional dynamic array in ESPL?   A dynamic array is one where I don&#8217;t know the bounds at compile time.  It grows dynamically as new array elements are added. A:  ESPL supports a variety of arrays, &#8230; <a href="http://www.ensignsoftware.com/blog/2012/02/espl-2-dimensional-arrays/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><strong>Q:  </strong>How do I declare a 2-dimensional dynamic array in ESPL?   A dynamic array is one where I don&#8217;t know the bounds at compile time.  It grows dynamically as new array elements are added.</p>
<p><strong>A:  </strong>ESPL supports a variety of arrays, each with different characteristics.  Let me summarize the choices.</p>
<ul>
<li>Multi-diminsional arrays are declared with the [ ] construct at compile time.  See the ESPL manual, topic &#8216;Arrays&#8217; on page 29.</li>
<li>TArrays are single dimensional and semi-automatic in their dimension.</li>
<li>Variant arrays can be dimensioned and redimensioned, but they also are single dimensional.</li>
<li>TLists and TStringLists are single dimension.  They dynamically grow as elements are added.</li>
<li>The TStringGrid object is 2-dimensional with RowCount and ColCount properties.  And these properties can be set at run time.   The values are written and read in the string grid cells.   See this example.</li>
</ul>
<p><a href="http://www.ensignsoftware.com/blog/wp-content/uploads/2012/02/TStringGridExample.png"><img class="aligncenter size-full wp-image-782" title="TStringGridExample" src="http://www.ensignsoftware.com/blog/wp-content/uploads/2012/02/TStringGridExample.png" alt="" width="444" height="317" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ensignsoftware.com/blog/2012/02/espl-2-dimensional-arrays/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tick Count in a Bar&#8217;s Range</title>
		<link>http://www.ensignsoftware.com/blog/2012/02/tick-count-in-a-bars-range/</link>
		<comments>http://www.ensignsoftware.com/blog/2012/02/tick-count-in-a-bars-range/#comments</comments>
		<pubDate>Thu, 16 Feb 2012 17:18:08 +0000</pubDate>
		<dc:creator>Ensign</dc:creator>
				<category><![CDATA[DYO]]></category>
		<category><![CDATA[Ensign 10]]></category>

		<guid isPermaLink="false">http://www.ensignsoftware.com/blog/?p=769</guid>
		<description><![CDATA[Q:  I am wanting to know the number of ticks per bar. The total count from the high to the low. (Bonds are 1/32 so they are tricky). A:  Ensign has a value called Tick Count for each bar, but I do &#8230; <a href="http://www.ensignsoftware.com/blog/2012/02/tick-count-in-a-bars-range/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><strong>Q: </strong> I am wanting to know the number of ticks per bar. The total count from the high to the low. (Bonds are 1/32 so they are tricky).</p>
<p><strong>A:  </strong>Ensign has a value called Tick Count for each bar, but I do not think that is what you seek since you mentioned 1/32nds. The Tick Count is the number of trade ticks received for the bar. I think you are wanting to count the number of price intervals in a bar&#8217;s range. For example, if the bar&#8217;s High is 109-040 and the bar&#8217;s Low is 109-020 the answer is 4 on a ZB bond chart because the difference is 4/64ths.  ZB trades in half 32nds.</p>
<p><a href="http://www.ensignsoftware.com/blog/wp-content/uploads/2012/02/ZBRangeCount.png"><img class="aligncenter size-full wp-image-772" title="ZBRangeCount" src="http://www.ensignsoftware.com/blog/wp-content/uploads/2012/02/ZBRangeCount.png" alt="" width="655" height="416" /></a></p>
<p>This DYO example will make the calculation and show the price count above each bar.</p>
<p><a href="http://www.ensignsoftware.com/blog/wp-content/uploads/2012/02/ZBRangeCountDYO.png"><img class="aligncenter size-full wp-image-773" title="ZBRangeCountDYO" src="http://www.ensignsoftware.com/blog/wp-content/uploads/2012/02/ZBRangeCountDYO.png" alt="" width="759" height="329" /></a></p>
<p>The BAR marker selection will post the expression result as an integer value.  The Marker Location selection used was the Above High 5 location.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ensignsoftware.com/blog/2012/02/tick-count-in-a-bars-range/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Overlay Daily Bar</title>
		<link>http://www.ensignsoftware.com/blog/2012/02/dyo-overlay-daily-bar/</link>
		<comments>http://www.ensignsoftware.com/blog/2012/02/dyo-overlay-daily-bar/#comments</comments>
		<pubDate>Thu, 16 Feb 2012 16:57:41 +0000</pubDate>
		<dc:creator>Ensign</dc:creator>
				<category><![CDATA[DYO]]></category>
		<category><![CDATA[Ensign 10]]></category>

		<guid isPermaLink="false">http://www.ensignsoftware.com/blog/?p=755</guid>
		<description><![CDATA[Q:  Can Ensign overlay a Daily bar chart on a 120-minute bar chart? A:  Ensign does not overlay charts with different time frames. Ensign overlays would be of the same timeframe for both charts. However, this DYO example will plot a daily &#8230; <a href="http://www.ensignsoftware.com/blog/2012/02/dyo-overlay-daily-bar/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><strong>Q:  </strong>Can Ensign overlay a Daily bar chart on a 120-minute bar chart?</p>
<p><strong>A:  </strong>Ensign does not overlay charts with different time frames. Ensign overlays would be of the same timeframe for both charts.</p>
<p>However, this DYO example will plot a daily bar on the intra-day chart. It is not exactly what you requested but might be sufficient for your purposes.</p>
<p><a href="http://www.ensignsoftware.com/blog/wp-content/uploads/2012/02/ZBDailyBarDYO.png"><img class="aligncenter size-full wp-image-758" title="ZBDailyBarDYO" src="http://www.ensignsoftware.com/blog/wp-content/uploads/2012/02/ZBDailyBarDYO.png" alt="" width="775" height="457" /></a>The DYO made the daily bars which are shown in yellow. There are 3 other DYO marker  choices that can do a Standard bar, Candlestick, and Ensign Rocket. The example shows the Flute bar style.</p>
<p><a href="http://www.ensignsoftware.com/blog/wp-content/uploads/2012/02/ZBDailyFluteDYO.png"><img class="aligncenter size-full wp-image-762" title="ZBDailyFluteDYO" src="http://www.ensignsoftware.com/blog/wp-content/uploads/2012/02/ZBDailyFluteDYO.png" alt="" width="758" height="550" /></a></p>
<p>The only line that is plotting is Line K.   Lines A, B, C, F and G which are not necessary for the example are included so that you can check their Show boxes and add more content to the visual, such as bands showing the day developing and High/Low values above the daily bar.</p>
<p>The core of the example is Line E, H, I, J, K.   Lines H through K are the 4 values needed by Line K&#8217;s marker which draws the Flute bar. Line E controls when the bar is drawn.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ensignsoftware.com/blog/2012/02/dyo-overlay-daily-bar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

