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

Notification

Icon
Error

Options
Go to last post Go to first unread
magiclaas  
#1 Posted : Tuesday, December 3, 2013 2:46:23 PM(UTC)
magiclaas

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

mstt  
#2 Posted : Tuesday, December 3, 2013 6:31:36 PM(UTC)
mstt

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
magiclaas  
#3 Posted : Tuesday, December 3, 2013 10:20:23 PM(UTC)
magiclaas

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

magiclaas  
#4 Posted : Thursday, December 5, 2013 3:19:54 AM(UTC)
magiclaas

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.