Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers, Unverified Users Joined: 3/27/2006(UTC) Posts: 41 Location: Singapore
|
Hi Guys, I need to plot a histogram of -ve Chaikin Money Flow indicator normalizing the Y axis so that it plots between 0 and 100%.
My current fomula is as follows: Code:CMFI:=CMF(200);CMFID:=If(CMFI<0,CMFI,0)*100;
Any help would be greatly appreciated.
- Roy
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Unverified Users Joined: 8/12/2005(UTC) Posts: 73
|
All this does is show all values below the zero line in the CMFI Your if statement: If(CMFI<0,CMFI,0)*100;
Code:
pds1:=Input("Periods",1,1000,200);CMFI:=CMF(pds1);CMFID:=If(CMFI<0,CMFI,0);Var1:=CMFID;Var2:=(Var1-Lowest(Var1))/Max(Highest(Var1)-Lowest(Var1),.000001)*100;Var2;
|
|
|
|
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.