GSA15 |
Gold User, Member, TeleChart
|
Registered User |
|
|
|
|
Gender: |
|
Monday, September 27, 2010 |
Saturday, January 23, 2016 1:06:58 PM |
17 [0.01% of all post / 0.00 posts per day] |
|
Hi Bruce, I have figured it out. I had the period at 60. The value of .17 is tested with a period of 1. Which brings up another question. When period is set to 1, what does that mean for my formula, which spans 30 days of data? What os the relation between the period field and the formula?
|
Sure. Try AAPL. On my chart the value shows as zero. When I test the formula I get .17 Can I email you a screen grab?
|
Hi Bruce, I am not sure if there is a data issue with TC2000. Here is an example. The following code which I inserted into a chart as an indicator spits out a value on the chart that is not the same as when I go into the pcf and select the test formula button. ((C - C60) / (ABS(C - C1) + ABS(C1 - C2) + ABS(C2 - C3) + ABS(C3 - C4) + ABS(C4 - C5) + ABS(C5 - C6) + ABS(C6 - C7) + ABS(C7 - C8) + ABS(C8 - C9) + ABS(C9 - C10) + ABS(C10 - C11) + ABS(C11 - C12) + ABS(C12 - C13) + ABS(C13 - C14) + ABS(C14 - C15) + ABS(C15 - C16) + ABS(C16 - C17) + ABS(C17 - C18) + ABS(C18 - C19) + ABS(C19 - C20) + ABS(C20 - C21) + ABS(C21 - C22) + ABS(C22 - C23) + ABS(C23 - C24) + ABS(C24 - C25) + ABS(C25 - C26) + ABS(C26 - C27) + ABS(C27 - C28) + ABS(C28 - C29) + ABS(C29 - C30) + ABS(C30 - C31) + ABS(C31 - C32) + ABS(C32 - C33) + ABS(C33 - C34) + ABS(C34 - C35) + ABS(C35 - C36) + ABS(C36 - C37) + ABS(C37 - C38) + ABS(C38 - C39) + ABS(C39 - C40) + ABS(C40 - C41) + ABS(C41 - C42) + ABS(C42 - C43) + ABS(C43 - C44) + ABS(C44 - C45) + ABS(C45 - C46) + ABS(C46 - C47) + ABS(C47 - C48) + ABS(C48 - C49) + ABS(C49 - C50) + ABS(C50 - C51) + ABS(C51 - C52) + ABS(C52 - C53) + ABS(C53 - C54) + ABS(C54 - C55) + ABS(C55 - C56) + ABS(C56 - C57) + ABS(C57 - C58) + ABS(C58 - C59) + ABS(C59 - C60) + 0.001))
|
Thanks Bruce
|
Hi there, I am new to PCF code writing. Could someone help me with the pcf code for the following logic:Open > CloseOpen - Close is greater than the Open - Close of the any of the last bars over the previous 30 daysThe bar that meets the above criteria has a dot placed under it (or some way to identify that bar on the chart.Hope this makes sense. Any help would be great.Thanks
|
Hi Bruce, where is the label field? Like I said, when you create a pcf I see the label field. I build the pcf, however, that pcf does not appear in my chart indicator list...none of my custom pcfs appear in that list. I can only use my custom pcfs in my watchlist.To use a custom pcf on a chart, I have to insert the custom pcf indicator and then paste my code over the base code.Does this make sense?George
|
Hi Bruce, I am using TC 2000 V11.I would like it so that only the name shows up on my chart. If I write the name before the formula, the formula still appears after the name. Is there some proper syntax I need to be using?ThanksGeorge
|
Hi there, I have added some custom PCFs to my charts. The only way I was able to do this was to select add indicator on the charts screen, select one of the custom PCF indicators, type in my formula and then add the indicator to my chart. The only issue is that the indicator name is the formula I created. Is there a way to name these custom indicators? It does not appear that the custom PCFs I created for my lists (which I can name) show up under indicators on the charts.Any help would be appreciated.ThanksG
|
Hi there, I would like to create a 50 day moving average for the following pcf code for TC2000 V11:(C - C60) / (ABS(C - C1) + ABS(C1 - C2) + ABS(C2 - C3) + ABS(C3 - C4) + ABS(C4 - C5) + ABS(C5 - C6) + ABS(C6 - C7) + ABS(C7 - C8) + ABS(C8 - C9) + ABS(C9 - C10) + ABS(C10 - C11) + ABS(C11 - C12) + ABS(C12 - C13) + ABS(C13 - C14) + ABS(C14 - C15) + ABS(C15 - C16) + ABS(C16 - C17) + ABS(C17 - C18) + ABS(C18 - C19) + ABS(C19 - C20) + ABS(C20 - C21) + ABS(C21 - C22) + ABS(C22 - C23) + ABS(C23 - C24) + ABS(C24 - C25) + ABS(C25 - C26) + ABS(C26 - C27) + ABS(C27 - C28) + ABS(C28 - C29) + ABS(C29 - C30) + ABS(C30 - C31) + ABS(C31 - C32) + ABS(C32 - C33) + ABS(C33 - C34) + ABS(C34 - C35) + ABS(C35 - C36) + ABS(C36 - C37) + ABS(C37 - C38) + ABS(C38 - C39) + ABS(C39 - C40) + ABS(C40 - C41) + ABS(C41 - C42) + ABS(C42 - C43) + ABS(C43 - C44) + ABS(C44 - C45) + ABS(C45 - C46) + ABS(C46 - C47) + ABS(C47 - C48) + ABS(C48 - C49) + ABS(C49 - C50) + ABS(C50 - C51) + ABS(C51 - C52) + ABS(C52 - C53) + ABS(C53 - C54) + ABS(C54 - C55) + ABS(C55 - C56) + ABS(C56 - C57) + ABS(C57 - C58) + ABS(C58 - C59) + ABS(C59 - C60) + 0.001))Then, I would like to subtract the 50 day moving average from the above code to calculate the differential.Can anyone help?Thanks
|
Thanks Bruce. Weird but nothing comes up for me.Is the code you posted the Vervoot code or something similar?ThanksGeorge
|
|