logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Derek Worswick  
#1 Posted : Friday, August 17, 2007 3:22:00 AM(UTC)
Derek Worswick

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 8/11/2005(UTC)
Posts: 104

Hi,

Could you help me with the formula to calculate and draw Two Horizontal Lines plus and minus one standard Deviation on a Detrend of f Prices from the Instantaneous Trend Line.

Does the Detrend of Prices from the Instantaneous Trend Line have to be calculated a special way?

Best regards,

Derek

Derek Worswick  
#2 Posted : Friday, August 17, 2007 4:50:12 AM(UTC)
Derek Worswick

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 8/11/2005(UTC)
Posts: 104

Hi again,

My original letter should have read,

Could you help me with the formula to draw Two Horizontal Lines

"Plus and Minus One Sigma" on a Detrend of the Prices of the Instantaneous Trend Line.

Is there a special method of calculating the Detrend of prices from the Instantaneous Trend Line.in this case?

Sorry about my error.

Regards.

Derek

Jose  
#3 Posted : Friday, August 17, 2007 11:00:09 AM(UTC)
Jose

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 1/19/2005(UTC)
Posts: 1,065
Location: Koh Pha-Ngan, Earth

Was thanked: 2 time(s) in 2 post(s)
Derek, check out these indicators from MetaStockTools.com's formulae collection: 2-point plot - coding example of 2-point, x/y line plot - useful for creating automatic chart trendlines. TrendLine - adjustable automatic trendline. TrendLine-dates - date-adjustable chart trendline. Benchmark trendline - plots a performance benchmark trendline based on a fixed % yearly growth rate - with several user inputs. LinReg Trendline v4 - Linear Regression Trendline with Standard Deviation/Error Channels/Bands, date-adjustable. jose '-)
Derek Worswick  
#4 Posted : Saturday, August 18, 2007 3:08:05 AM(UTC)
Derek Worswick

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 8/11/2005(UTC)
Posts: 104

Hi,

Thank you for your help.

My best attempt so far is below... if the maths is correct?

----------------------------------------------------------------------------

ITR:=(Fml("H TL sum 1") + Fml("H TL sum 2") + Fml("H TL sum 3"));

DeITR:=((C-ITR)/ITR)*100;

DeITR;

nn:=LastValue(Cum(1)-50);

Sigma:=LastValue(Stdev(DeITR,nn));

Sigma;

MinusSigma:=Sigma*-1;

MinusSigma

------------------------------------------------------------------------------------------------------

Derek

Derek Worswick  
#5 Posted : Saturday, August 18, 2007 3:17:29 AM(UTC)
Derek Worswick

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 8/11/2005(UTC)
Posts: 104

Hi again,

Is it possible to plot OHLC Price Bars instead of just Closing prices

on a "Detrend of Price from Instantaneous Trend Line Graph".

Regards

Derek

Derek Worswick  
#6 Posted : Monday, October 1, 2007 4:37:10 AM(UTC)
Derek Worswick

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 8/11/2005(UTC)
Posts: 104

Hi,

Is it possible to

Suppress Trailing Zeros” displayed on a MetaStock Chart?

e.g. I get output of a custom formula displayed as “37.000000”

Hoping you can help.

Derek

Users browsing this topic
Guest (Hidden)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.