Richard_Holden |
Gold User, Member, TeleChart
|
Registered User |
|
|
|
|
Gender: |
|
Friday, June 8, 2012 |
Saturday, June 28, 2014 10:01:18 PM |
6 [0.00% of all post / 0.00 posts per day] |
|
Thanks Bruce,
This does the job nicely
Richard
|
Hi,
I'm trying to implementant an indicator using PCF that excatly emulates the TSV line plot with settings of: Period = 25, Average type = Exponential
Note that this is not the same as XAVG(TSV25.0,x) which applies an x day exponential moving average smoothing to the TSV25 after the TSV25 has been calculated instead of using the exponential averaging within the TSV calc.
Results between the two can be significantly different
Thanks for your help
Richard Holden
|
You're right the If Then is just about doable, however the Else clause gets really ugly.
I'm sure i'm not the first to ask, but are there any plans to offer something a little more structures. It really wouldn't be that difficult to implement.
Thanks
|
Hi Bruce,
Thanks for the info, I'm starting to get the hang of the PCF syntax etc.
Although an If Then Else clause would be very useful
Richard
|
QUOTE (StockGuy)
XAVGV25
XAVG = exponential average
V = Volume
25 = period (days)
XAVG(TSV24,12)
TSV 24 = 24 period TSV
12 = period to use in the average
We don't have a function for Wilder's RSI. It can be calculated mathematically but our formula expert, Bruce, is on vacation until Aug 28th. I'll see if he can look at this when he gets back.
Thanks, this is very helpfull
Is there an online document with more examples. the user guide is quite sparce ?
If not, how do I get the previous days TSV24 ( TSV24,-1) ?
Thanks
|
Hi
I'm pretty good at writing code but could do with some help regarding syntax and parameters.
Could you detail the exact syntax for the following PCF Indicators:-
Volume - The 25 day Exponental Moving Average of Volume
TSV(24Period) - The 12 Day Exp Moving Average of TSV(24Period)
Wilders RSI15 - Wilders RSI75
I should be able to work a number of otherthings out from this
Thanks
Richard
|
|