Rank: Advanced Member
Groups: Registered, Registered Users, Unverified Users Joined: 9/18/2008(UTC) Posts: 37
|
I need help please: I want to subtract a normalized index from another one normalized. A) Indx:=Security("C:\Bullbear\Dati\Index\DE02YDBR",C); HP:=HHV(H,64); LP:=LLV(L,64); Media:=(HP+LP)/2; ((Indx-Media)/(HP-Media))*100 B) Indx:=Security("C:\Bullbear\Dati\Index\DE02YDBR",C); HP:=HHV(H,64); LP:=LLV(L,64); Media:=(HP+LP)/2; ((Indx-Media)/(HP-Media))*100 is it possible to subtract these two formulas and create a new indicator ? (A - B) thank you very much
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 7/25/2005(UTC) Posts: 1,042
Was thanked: 57 time(s) in 54 post(s)
|
Hi magic
Unless I'm missing something A-B is going to give you a zero result - the two formulas appear to be identical except in name.
Roy
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Unverified Users Joined: 9/18/2008(UTC) Posts: 37
|
yes, you are right..there is a mistake in formula A this is the right formula : Indx:=Security("C:\Bullbear\Dati\Index\DE10YDBR",C); HP:=HHV(H,64); LP:=LLV(L,64); Media:=(HP+LP)/2; ((Indx-Media)/(HP-Media))*100 thank you luigi
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Unverified Users Joined: 9/18/2008(UTC) Posts: 37
|
Please, how can i create this new indicator ?
|
|
|
|
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.