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

Notification

Icon
Error

Options
Go to last post Go to first unread
Jose  
#1 Posted : Sunday, October 16, 2005 5:38:21 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)
MetaStock -> Tools -> Indicator Builder -> New -> Copy and paste formula below. [code:1:7686f4e140] ==================== Normalized Indicator ==================== ---8<--------------------------- { Normalizes indicator to 0~100% boundaries } { From: http://www.metastocktools.com } { User inputs } plot:=Input("plot: [1]Indicator, [2]Oscillator",1,2,2); pds:=Input("Indicator periods",1,2600,21); { Indicator - EMA example } Ind:=Mov(C,pds,E); { Normalize indicator to historical highs/lows } Oscillator:=(Ind-Lowest(Ind)) /Max(Highest(Ind)-Lowest(Ind),.000001)*100; { Plot: Indicator on chart, oscillator in own window } If(plot=1,Ind,Oscillator) ---8<--------------------------- [/code:1:7686f4e140] jose '-)
turtle  
#2 Posted : Friday, October 28, 2005 3:04:39 AM(UTC)
turtle

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 9/28/2005(UTC)
Posts: 36
Location: Malaysia

Hi Jose, do you have the coding for wave count? Someting like 12345abc ... I am interested in this but don't know how to count. BTW, I have a good review on your metastock service. (Talk good about you since I need your assistance for the wave coding.) :D http://forum.equis.com/v...ic.php?t=2560&highlight=
Jose  
#3 Posted : Friday, October 28, 2005 4:14:53 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)
Hey, can we change the title of this blog to something less grandiose, such as "Jose's corner"? :? Mr Turtle, I strongly suggest you learn to count - numeracy is essential in this corner of the woods. In the meantime, perhaps you can use some of this MS indicator code: [code:1:5327a91456] ============= Rally counter ============= ---8<---------------------- { Wave/Trend/Rally counter v1.0 } {©Copyright 2005 Jose Silva. For personal use only. http://www.metastocktools.com } { User inputs } pr:=Input("Peak/Trough minimum % change", .01,100,2); plot:=Input("plot: [1]Peaks/Troughs, [2]Rally count, [3]Both",1,4,3); { Peak/Trough signals } pk:=PeakBars(1,C,pr)=0; tr:=TroughBars(1,C,pr)=0; { Wave/Trend/Rally count } count:=Int(Cum(pk+tr)/2); { Plot in own window } If(plot=1,pk-tr, If(plot=2,count, If(plot=3,count*(pk-tr), Zig(C,pr,%)))) ---8<---------------------- [/code:1:5327a91456] jose '-)
Users browsing this topic
Guest (Hidden)
Similar Topics
Re: Normalized Indicator (Formula Assistance)
by RUAGOODP 9/29/2005 2:18:42 AM(UTC)
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.