Why is only UP Volume counted in this print statement?  [SOLVED]

Questions about MultiCharts and user contributed studies.
tonyt
Posts: 48
Joined: 21 May 2021
Has thanked: 20 times
Been thanked: 1 time

Why is only UP Volume counted in this print statement?

Postby tonyt » 22 Jan 2023

Hello Code Gurus,

I am trying to compare the volume of two 60 min bars of @CL (Crude Oil) data is from TS. When I do a print statement to check them, for some reason only the up volume is calculated. How do I get the total volume to be calculated and displayed? Please see screen shots, Thank you!
Attachments
Volume Calc Error.png
(104.56 KiB) Not downloaded yet
Volume Calc Error Print Stmt.png
(25.2 KiB) Not downloaded yet

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: Why is only UP Volume counted in this print statement?

Postby TJ » 22 Jan 2023


tonyt
Posts: 48
Joined: 21 May 2021
Has thanked: 20 times
Been thanked: 1 time

Re: Why is only UP Volume counted in this print statement?

Postby tonyt » 22 Jan 2023

Thanks for this TJ. It is a good referral tool.

The second link give me a 404 error ..."https://www.multicharts.com/multicharts ... mentation/"

I solved this issue by adding UpTicks and DownTicks.

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: Why is only UP Volume counted in this print statement?

Postby TJ » 22 Jan 2023

These might help:

Image

Image
Attachments
easylanguage stock volume.JPG
(98.13 KiB) Not downloaded yet
Easylanguage future volume.JPG
(120.08 KiB) Not downloaded yet

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: Why is only UP Volume counted in this print statement?  [SOLVED]

Postby TJ » 22 Jan 2023

Thanks for this TJ. It is a good referral tool.

The second link give me a 404 error ..."https://www.multicharts.com/multicharts ... mentation/"
404 Fixed.


Return to “MultiCharts”