jbem777 
Gold User, Member, Platinum User, TeleChart

Registered User 




Gender: 

Sunday, July 09, 2017 
Monday, January 08, 2018 9:00:58 PM 
13 [0.00% of all post / 0.06 posts per day] 

Hi Bruce,
I have finally had time to come back to this and continue to have problems. When I try and plot the formulas using TSV 12 as the data source I get nothing. I am using a custom % true PCF to determine when these paramters are met. I have included some images that should help.
Here is what it looks like when I plot the 6 MLR of TSV 12 Using Price History as the data source.

Hi Bruce. I went and double checked everything. Below is an image with the various plots shown in the same window. As you can see, the MLR6 of TSV12 is plotted in yellow. The formula that you provided for MLR6 in plotted in white. They are scaled together. The only thing that I can think of is the data source for the plot for the formula you provided is "price history," however, when I choose TSV12, nothing is plotted. Below is an image.
[URL=http://s258.photobucket.com/user/jbem777/media/TSV12%206%20MLR%20Plot_zpscu5ax4fr.jpg.html] [/URL]
[IMG]http://i258.photobucket.com/albums/hh250/jbem777/TSV12%206%20MLR%20Plot_zpscu5ax4fr.jpg[/IMG]

Thanks for the update Bruce. I don't know why but the plots of thees MLR's does not match the plots on my TSV window on my screen. Any thoughts on why that might be? The formulas are correct, I don't doubt that. It just seems odd that the lines that are plotted are "rougher" and don't match what I have set up. Any thoughts. Should I be using a different data source for my plots?

Thanks Bruce. Maybe I am making a mistake somewhere. In the image below, I have the MLR of TSV12 plotted for the periods of 6, 12, and 30. The data source for the plots is TSV12. I then used a Custom % True Indicator to plot the formula for when either the 6 or 12 MLR are greater than the 30 MLR and it doest work as evidenced by the blue dots. However, when I plot the formulas that you graciously provided on the candlestick portio of my chart, using price as the data source, it matched the dots on the TSV section. I am thinking that I need to change the C to TSV12. Is this correct?
[URL=http://s258.photobucket.com/user/jbem777/media/MLR%20Capture_zpso6haegz5.jpg.html]

I have been trying to create the a PCF for the cross of different MLR for the TSV 12. I thought I had the formula correct, been when plotted using using the Custom Indicator function they lines were very different than what was plotted in the window. Furthermore, when using the Custom % Indicator to back test periods in which these MLR's have crossed my numbers are way off. Could I please get the 6, 12, and 30 period PCF's for a TSV12. Then I could plot the relationships I am looking for using < or >. I am not looking for the day that they crossed, just the PCF to tell when the 6 or 12 MLR is greater or less than the 30 MLR of TSV12.
Also, is there a way to have the values of the differences show up in my column set. For example, I would like to see that diffrenece between the 6 and 30 MLR of TSV12 so I could sort them accordingly.
Thanks

Thanks Bruce, got it all worked out.
Another question for you. I have created 2 6 Period MLR PCF's to track divergence between two variables. At the present time, to evaluate the divergence, I just have to eyeball it and make a judgment. I would like to quantify this divergence in some way and thought that a 6 period MLR of the difference between the 2 variables may make things easier. I originally tried going off the numeric value of the divergence but given variations of the magnitude from one stock to the next, it was difficult to rank them based on the difference alone.
So my question is, how would I write a PCF for a 6 period MLR of the differences between these two PCF's?
MLR6 for ROC7 of TSV18
3 * ((((TSV18TSV18.7)*6) + ((TSV18.1TSV18.8)*5) + ((TSV18.2TSV18.9)*4) + ((TSV18.3TSV18.10)*3) + ((TSV18.4TSV18.11)*2) + (TSV18.5TSV18.12)) / 21)  ( 2 * ( TSV18 + TSV18.1 + TSV18.2 + TSV18.3 + TSV18.4 + TSV18.5  TSV18.7  TSV18.8  TSV18.9  TSV18.10  TSV18.11  TSV18.12 )/6 )
MLR6 for TSV18  General version
3 * (((TSV18 * 6) + (TSV18.1 * 5) + ( TSV18.2 * 4) + (TSV18.3 * 3) + (TSV18.4*2) + TSV18.5) / 21)  ( 2 * ( TSV18 + TSV18.1 + TSV18.2 + TSV18.3 + TSV18.4 + TSV18.5 )/6 )

I would like to create a histogram using the ROC of the TSV. I see that function is not possible on V12 and have read that the custom PCF would be TSV18TSV18.7 for the periods I am looking at. How might I phrase this in a PCF using a histogram centered on the zero line so that positive and negative values would show? TIA.

Gotcha! I got it working for now...I think. Thanks for the insight.

When I use that formula, with the 1 in the front, I recieve this error message " An error occured calculating formula. Divide by 0

QUOTE (Bruce_L)
One of the nice things about a row of dots is that you can have lots of rows of dots in the same pane without the dots being on top of each other as long as you plots the rows of dots at different values (for example rows at 0, 1, 2, 3, 4, 5, & 6).
Since you already have the formulas, you can just use the following template.
(value at which you wish to plot the dot) / ABS(your condition formula here)
If you want different colored dots plotted in a single line, you use the same value. If you want multiple lines of dots, you use a different value for eac line you want to plot.
Thank you! I am almost there but am having trouble figuring out how to plot the rows at different values. How would I do that?

