DemarkCount template, Wireless Security, DYO Counting bars, DYO Prop, QnA

April 20 , 2005

16:32 @Ensign_HA: Welcome to today's training class with Ensign developers.

 

16:32 @Ensign_HA: One user was having a problem with the DemarkCount template which we had as an example in the Trading Tips newsletter published earlier this week. Upon further inspection I see the problem with the example is that the 2nd DYO for the Down count failed to have the Close Only box checked. You can make the change to the 2nd DYO yourself by opening the property form, and checking the Close Only option. Then the template will work as intended, or you can redownload the DemarkCount template from my website because the template I have reposted prior to class start has the Close Only change made.

16:35 Ticks: Would you have time to cover the basics of the DYO -- (For Newbies)

www.ensignsoftware.com/tips/tradingtips64.htm#Sequential

16:36 @Ensign_HA: this is the article from the Trading Tips newsletter about the DeMark indicator and the template that does the numbers above and below the bars.

16:37 @Ensign_HA: are there any questions about this indicator or the DYOs that implemented it?

 

Wireless Security

16:38 @Ensign_HA: Before we leave the Trading Tips newsletter material, were there any questions about the article on Wireless Security

16:38 @Ensign_HA: Scroll up the image to see the first article on wireless security.

16:39 @Ensign_HA: I had one e-mail from a user with a wireless and he had no idea how to configure his equipment and could not find pictures like mine on his computer. The answer is that most routers can be configured by using your Internet Explorer to navigate to a particular URL address. I think the URL address used to configure my Linksys equipment is a standard address

16:41 @Ensign_HA: I use Internet Explorer to go to URL http://192.168.1.1

16:42 @Ensign_HA: or everyone who have a router that responds to that address.. Anyway, you use Internet Explorer to go to a particular address in your router to configure it. Consult the documentation for your router to see the process of configuring it.

16:44 @Ensign_HA: The ideas given in the article are good ones that should be followed to increase your security if you use a wireless network. The issue of needing a router is very important, but a whole different subject which was not the intent of the article.

16:45 @Ensign_HA: Any questions on either article in the newsletter?

16:45 @Ensign_HA: if you are not getting our newsletters, you are invited to subscribe to the free newsletter by entering your e-mail address in the submit field on our Newsletter web page or you can read the newsletter from the Newsletter page when it gets posted. Some always say they do not receive the images in the body of the newsletter, and that is an issue local to that user's e-mail reader. Thousands of readers get the newsletter with images as it was prepared by me. Those with a viewer problem and still use their Internet Explorer web browser to read the newsletter from our web site.

16:47 @Ensign_HA: ok, on to another subject.

 

6:48 @Ensign_HA: A few weeks ago we increased the number of chat rooms from 20 to 25, which means those wanting access to the added rooms need to upgrade eChat or Ensign Windows so either chat viewer shows the new rooms. Also, as of Monday of this week, the voice feature for these new rooms went on-line.

16:49 @Ensign_HA: Voice is available in our chat rooms simply by checking the Listen check box. This will change your nickname background to blue to indicate you are on the Listen channel. You will hear what others speak and you can talk by holding down the microphone activation key. Which key is to be used for the mic is configured on the Setup form for the chat room, by clicking the Setup button found in the corner.

6:50 @Ensign_HA: Any questions about the chat room, or the voice feature?

16:51 amg2: is there a limit to the # of people that can "Listen"?

16:51 @Ensign_HA: yes there is a limit amg, our testing in the past shows that quality drops off at a quantity of 18 participants on the voice channel. So less than that, and they have good voice, similar to Ventrilo..... more than that and there is breakup. I have not found a work around for that issue, but form many of the private rooms, a capacity of up to 18 is sufficient. Many of the private rooms have fewer than a dozen patrons.

16:52 amg2: ty, Howard

 

16:51 pinkf64: the voice is via ventrilo?

16:53 @Ensign_HA: the Listen voice built into the chat room is NOT ventrilo..... it is separate and works quite well for a small group. For a couple of the larger chat rooms, like the B-Line chat room, they use the Ventrilo application because it handles well a larger group of say 50-70 patrons simultaneously.

 

DYO Counting

6:55 @Ensign_HA: Yesterday, buffy, I saw some in your room were working on numbering every bar on the chart with the numbering starting at the beginning of the day. Can you show the example chart and DYO

www.dacharts.com/qtips-dyos/how-number-each-bar-on-chart.htm

16:56 @Ensign_HA: thx dblue., great example

16:56 @Ensign_HA: excellent, you all do great work

16:57 dblue: fwiw Howard that should have close only checked for the numbering. As an aside.. I have split the dyo into two dyos as I didn't want the coloring to be done at close only which is required for numbers to work well

:57 @Ensign_HA: yes, I agree dblue

16:57 @Ensign_HA: lets use this DYO example for a brief discussion. By understanding the logic, everyone can learn a little bit more, including me.

16:58 @Ensign_HA: The numbering example basically uses just 2 lines, Line A and Line I

6:58 @Ensign_HA: Line A is a selection for a boolean Flag that will test the time stamp on the bar against a particular time. The flag is True when they match, and false the rest of the time. The Line A test is for when a bar's time stamp matches the clock time of 830, which is 08:30

6:59 @Ensign_HA: The designer happens to want to highlight this bar with a different color of gray

17:01 @Ensign_HA: Line I is the other line for numbering the bars, and what it does is return a count of the number of Bars since Line A was True.

17:01 @Ensign_HA: So Line A will be True for the 1st bar of the day, the opening bar.

17:01 @Ensign_HA: Then Line I will return a count of how many bars back on that chart that event occurred. The Line I puts a marker on the chart in the position selected by the Color Band Position selection box.

17:02 @Ensign_HA: This box is using the selection of Above High 2...... we have several choices for position, and 4 different positions - above the High of the bar each a little higher than the other. So the selection of Above High 2 is a used because it give a little bit of a gap between the number printed and the bar high.

7:04 @Ensign_HA: A selection of Above High 3 would have a bigger gap between the number and the bar high. The number printed is the value for the Bars Since Line A True. The Marker selection of BAR will print this value as an integer, which is perfect for the particular use we have in mind.

 

17:04 metal: what does the 1 in bar offset in line I represent

17:05 @Ensign_HA: I am not sure what Bar Offset is doing for Line I and would have to test if a change to the value makes a difference

17:06 dblue: I think I found it was needed to sequence the count correctly Howard

17:07 @Ensign_HA: ok, dblue is that because you want the label of the 1st bar after the open to be a 2 instead of a 1

17:07 dblue: as I recall... yes

17:07 @Ensign_HA: the 1st bar after the open would return a count of 1, so you really are showing as the label for this 1st bar after the open by using the value for the next bar, which basically is just shifting the numbers all one bar leftward so the 830 highlight bar is to be number 1, and then the 8:40 bar is to be 2, etc.

17:09 @Ensign_HA: ok, there you have an explanation of the Bar Offset being a 1, it is printing the count from the following bar in a bar's position. Basically, shifting the results one bar leftward.

 

17:10 @Ensign_HA: The other lines of D,E,F are coloring a bar Red if the open is below the Close and Line G and H are coloring the bar Green if the Open is above the close. Line G is probably unnecessary in the example if you will have Line E store to GV[1] and Line D store to GV[2] instead of how it is shown. Or keep the gvs you have now and change Line F GV write to be [2] so the flag does not corrupt gv[0] which has the open. The reason you found you needed Line G was to reread the Open for [0] because Line F corrupted open from Line E.

17:12 dblue: Thanks H... will have a look at that

17:13 @Ensign_HA: anyway, dblue, you could save one line which might be needed if you do more things.

17:13 dblue: ;))

 

DYO Properties Window

17:13 @Ensign_HA: Ticks, the DYO is a place where some ideas can be implemented. We have several hundreds little functions, formulas, look up items, available for you to pick and choose from. They are organized into 16 categories which is the first column.

17:14 @Ensign_HA: To read data from the bars, you use the Bar Value category. Then the 2nd column is populated with the choices for that category.

17:14 @Ensign_HA: Continuing with the Bar Value category as an example, there will be choices for reading the bar's open, high, low, close, volume, etc.

17:15 @Ensign_HA: The selection expression on Line D is Close + #

17:15 @Ensign_HA: While you might want just the close, this expression offers a bit of added flexibility of adding a number to the value returned, and the number is the value in the 3rd column for Number.

17:16 @Ensign_HA: Line D adds a ZERO to the close, which means the user wants just the close value.

17:19 @Ensign_HA: The 4th column is a Bar Offset.

17:19 @Ensign_HA: for a bar being analyzed, we can refer to other bars besides itself. Itself is an offset of 0, but a negative offset will reference neighboring bars to the left. So Line D is reading the PRIOR bar's close because of the -1 offset. While Line E is reading the current bar's Open because the offset on Line E is a 0.

7:21 @Ensign_HA: Now the Write GV column tells where to store the value read for possible use later on. Line D is saving the prior close in a global variable at position [1]. There are 256 global variables with references by their position from [0] to [255]. Line E is storing the Open value it reads in GV [0]

17:22 @Ensign_HA: so [0] = Open and [1] = Prior close

17:23 @Ensign_HA: Now that these values are held in temporary variables, Line G can do a test on them. Line G category is Global Flag, and there are dozens of tests to select form.

7:23 @Ensign_HA: Line G category is Global Flag, and there are dozens of tests to select form. The author is testing if Value < #

17:24 @Ensign_HA: Value will be obtained from the Read GV and it is reading [0]

17:24 @Ensign_HA: so Value has the Open price and the # part is getting its price from the Number field, which has the GV [1] reference. So # is the Prior Close price.

17:25 @Ensign_HA: the test is then Open < Prior Close. This will be True or False, and when the test is True, the line ALSO executes the Show action of doing the marker which is the Color Bar using the color Red.

 

Suggestion by Howard for DYO Counting Bars

17:27 @Ensign_HA: Now, let me digress a little bit here to show a 2nd way to do the same thing. There is also a Global Flag selection of Value < Next and it would also have worked because Value is the Read GV reference of [0] and Next is the Read GV which is sequentially following, which would be [1]

17:28 @Ensign_HA: the Open and the Prior Close values to be compared happen to be nicely adjacent to each other in [0] and [1]. So the selection of Value < Next would also have worked and then there would not have been any use of the Number field

17:29 dblue: good... thx

 

zol2: Howard, I thought GV 0 was the 'bit bucket' ? i.e. invalid

17:29 @Ensign_HA: zol2, yes, treat it as a bit bucket, however, it is still a valid variable and the author happened to use it. It is a valid spot but since it can be the throw away spot you might easily overwrite its contents elsewhere

17:30 @Ensign_HA: in this example it is written by Line E and then used by Line F so there is no opportunity for it to be overwritten

17:31 @Ensign_HA: however this example does show its being vulnerable.

17:31 @Ensign_HA: Line E write Open to [0] - and so does Line F write a boolean flag to [0] - now [0] is no longer the Open when you get to line G or Line H. That is exactly what I was discussing early on that Line G was needed to restore Open to [0] for the Line H test.

32 @Ensign_HA: however if other GVs had been used, or Line F wrote to some place other than the [0] bit bucket then [0] would be preserved, and still hold the Open so Line H can test it and then Line G could be eliminated as being an unneeded step.

17:33 @Ensign_HA: I see these little things because of my training to look for efficiency. But what way it is written is clear and it works, so it can be left as is or, a smidgen of speed could be picked up by eliminating Line G but probably not worth doing on that account. The more significant issue might be you need just one more line in the DYO do finish off an idea and with just Line J to spare, eliminating Line G might be significant form a space point of view if you need just one more line.

17:35 dblue: I was just grateful to get it to work ;))

17:35 @Ensign_HA: I have felt that way too dblue.

17:35 dblue: lol

17:35 @Ensign_HA: you do good work

17:36 @Ensign_HA: Now, ticks, the discussion has offered some insight, and there is much more to learn. We have a dozen or so excellent examples with commentary on our web site, and buffy's group also has examples on their site.

17:36 Ticks: Most Helpful -- Thanks!

www.ensignsoftware.com/help/help.htm

17:37 @Ensign_HA: on this Help page, a good starting point is to read the 4 selections on the Design Your Own list and then venture on to the DYO Examples list. By reviewing that material you get a better idea of using Global Variables along with how to put on labels, markers, curves, etc

17:38 @Ensign_HA: Different examples are shown to illustrate different effects and ideas. Some are implementing studies and other show visual effects, like the example discussed to day. Some get to be really complex and powerful like the example chart I will show next.

www.ensignsoftware.com/images/ex-01.gif

 

7:39 Ticks: Just an aside: but what is the purpose for the bar numbering for trading purposes?

17:40 @Ensign_HA: dblue, can you answer why you did the numbering?

17:40 dblue: to review charts bar by bar I discussion in this case Howard - can be left turned "off" during day and switched"on" for discussion

17:41 @Ensign_HA: excellent idea, to talk about a particular formation by calling out the bar number - that would help for sure

 

17:42 @Ensign_HA: ok, any other questions?

7:42 metal: is line J the limit, i.e. max 10 lines

17:43 @Ensign_HA: metal, 10 lines is the capacity of one form, but you can add more DYO forms to continue your logic. The example chart posted uses more than one DYO - the DYO is just a form to organize 10 steps

7:43 metal: does that mean use one of the tabs for another form

17:44 @Ensign_HA: no, the tabs are for filling in the form with a setting you saved to the tab. You actually add another DYO study to the chart to have another set of 10 lines. See the example in my April newsletter where for the DemarkCount I used 2 DYO. One DYO was needed for the position above the bars for the labels and a 2nd DYO was needed so we could have a plot position of below the bars for the labels

7:45 metal: okay will check it out

 

7:48 @Ensign_HA: is there another question at this time?

17:48 Ticks: Would using the DYO be a method to highlight bars that meet the parameters of "Harmonic Numbers" ala Pesavento?

17:48 @Ensign_HA: yes ticks it would

17:49 @Ensign_HA: you can read the Pesavento Pattern swing points, and subtract one from the other to get the spread distance and then do bar highlight or coloring if the size of the spread swing to swing is in a certain range

www.ensignsoftware.com/help/dyo2.htm#Break

17:50 @Ensign_HA: see this example for a head start

17:50 @Ensign_HA: it reads some prices of the swings for the Pesavento tool on the chart and does some highlighting. It is not exactly the idea you asked about, but it is a sister to what you will be trying to do

17:51 Ticks: see that -- thanks again

17:53 @Ensign_HA: ok, thanks for coming to class today.... you have a great week trading.

17:54 Ticks: Thanks for the Great Class Ensign....

17:54 @Ensign_HA: welcome ticks