Rank: Newbie
Groups: Registered, Registered Users Joined: 1/9/2014(UTC) Posts: 2
|
Hello,
I'd like to
do the subtraction among 2 custom indicators, can someone be so kind and help
me?
Let me explain:
I plot a
custom indicator (A) from a security, then I plot another indicator (B) from
another security (not the first one). Finally I put A and B on the same chart,
using the same scale.
Now I would
like to subtract B from A and... I can't do it!
Could you
help me?
Best
regards
Marco
|
|
|
|
Rank: Advanced Member
Groups: Moderators, Registered, Registered Users, Subscribers Joined: 10/8/2010(UTC) Posts: 1,960
Thanks: 92 times Was thanked: 155 time(s) in 150 post(s)
|
You would need to use the Security function to reference the non-base Security, or use the "P" variable for the non-base security.
In the example below, A is using the non-base security.
Security("TICKER",Fml("A"))-FML("B")
or
p-FML("B")
In the second example, you would have to highlight FML("A") on the chart by clicking on it, then plot the formula.
FML is also more resource intensive so you may want to re-write the formula inside this new subtraction-based formula.
|
|
|
|
Rank: Newbie
Groups: Registered, Registered Users Joined: 1/9/2014(UTC) Posts: 2
|
Thank you! I really appreciate it! Best regards Marco
|
|
|
|
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.