Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Gold Customer
Joined: 10/19/2004 Posts: 56
|
When I put a long term moving average on a stock displayed, the price scale seems to get skewed. For example, if I place a 1000 day moving average on the stock SA, the chart gets compressed. How can I prevent this? Try it and you'll see what I mean. In TC, the line doesn't show and the prices don't get compressed.
How can I add multiple studies to 1 pane like TC allows? For example, I'd like to put 3 sets of Stochastic lines and Wilder's RSI on the same pane. Is this easily doable in Blocks? The sample that Bruce had put up had 2 sets of stochastics. How can I add more, as per David Elliott's methodologies?
Thanks in advance.
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
In Blocks, an AutoScaled Chart's minimum and maximum values are determined using all of the Plots in the same Scale. This means none of the indicators will be drawn "off the chart". It is possible to force one Plot to stay within the range of another Plot however. The Moving Average Plot in the attached Workspace using one method of doing so. You would need to duplicate the limiting logic in all of the additional Plots you wished to limit in this way. I've used Patch Panels to store the Minimum and Maximum allowed values, but the calculations could be done within the Block Diagram for the Plot as well.
The basic technique for having more than one Plot in the same Pane is to right-click on the Plot you wish to place there and select Copy. Then right-click on the Pane into which you wish to place the duplicated Plot and select Paste. Care must be taken to actually view the Block Diagrams of the Plots you have copied however. In many cases, a Plot will use another Plot or a Patch Panel as input. You may need to create duplicates of Patch Panels from a Pane you wish to delete in the Pane where you wish to place the Plots. You may also need to change which Plot is used as an input in a Child Study. The attached Workspace has three Stochastics and an RSI plotted in the same Pane.
Please save the attached .bWorks file to the following folder:
\My Documents\Blocks Files\Workspaces
You can then open the Workspace via your FILE menu (Open Workspace then My Computer).
You can use QuickEdit to adjust the settings or view the Block Diagrams.Attachments: vasm25842.bWorks - 92 KB, downloaded 636 time(s).
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 1/15/2005 Posts: 17
|
Hi Bruce,
I haven't been sucessfull in trying to display more of one indicators in the same panel. Frankly, I haven't really understood your explanantion. Is there a simple way of having, let us say, a MAC and a Q-Stick in the same panel?
Thanks
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
xpreivax1,
The basic process is simple. You add the Study and then copy and paste the components from one Pane to the other and delete the original Pane.
The more complicated portions of my original explanation result entirely from the copied Plots possibly using the original Pane (instead of the Pane into which they have been copied) as a data source (be this for a setting or as a Parent Indicator). This means that deleting the original Pane (or any of its components) can cause the newly copied Plots to disappear or plot incorrectly when their data source is removed by deleting the original.
It is these complications that can make this process a non-trivial advanced topic that beginners may not be able to master on their first attempt.
The solution is to edit any Plots that have been moved to use the desired data sources instead (in the Pane into which the Plots are being copied). In some cases this involves creating new Patch Panels. In other cases this involves going into the Block Diagram of the pasted Plot, looking for Blue boxes being used as Inputs and replacing them with Data From Other Tools that will not be deleted. In many cases, you will need to do both things for a single Plot.
A more detailed explanation of this process is provided in my Wednesday, September 26, 2007 3:28:11 PM ET post in this topic. The same post has a Workspace with this already done attached if you wish to see an example where this has already been done.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 1/15/2005 Posts: 17
|
Thanks for your detailed explanation Bruce! (I was originally trying to copy the overall panel, instead of each component separately).
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
xpreivax1,
You're welcome. I'm happy to read you were able to figure it out. As indicated, it's actually one of the more complicated things you can try to do in Blocks (so pat yourself on the back).
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Guest-1 |