Rank: Newbie
Groups: Registered, Registered Users, Subscribers Joined: 3/31/2010(UTC) Posts: 2
|
seria possivel somar o fechamento de dois ativos que estão na mesma janela criando um indicador?
Edited by user Wednesday, July 17, 2019 1:40:47 AM(UTC)
| Reason: Not specified
|
|
|
|
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)
|
Originally Posted by: tupan1969 seria possivel somar o fechamento de dois ativos que estão na mesma janela criando um indicador?
Hi, There are different ways you can accomplish this. There is a Security function where you can add 2 securities together. You can use the File > New > Composite to create a composite of 2 securities. You can also create a custom indicator such as:
For the above indicator to work, one security would need to be the "Base" security in the chart and one would be a secondary security. The "P" variable allows you to take the value of the plot, whatever you drop the indicator onto. So you would need to drag and drop the above indicator onto the secondary security in the chart, which would then take the Close price of the base security and add it to the Close price of the secondary security. Afterward you can move the indicator into a separate innner window of the chart if you like, but initially you must drop it onto the secondary security. Edited by user Friday, July 19, 2019 2:34:28 PM(UTC)
| Reason: Not specified
|
|
|
|
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.