Hello everyone,
is there an easy way to obtain by code the price variation percentual ( typically displayed a the top of the chart automatically) ? (I didn't find any keyword for that)
It's not so easy to manually calculate it as sometimes it doesn't take the close of the previous day session.. but it use the close of the cash session.... for example with the vstoxx futures quoted at eurex
I need the value in the circle ..
is there an easy way to obtain by code the price variation percentual [SOLVED]
- Vlada MultiCharts
- Posts: 293
- Joined: 22 Apr 2020
- Has thanked: 8 times
- Been thanked: 76 times
Re: is there an easy way to obtain by code the price variation percentual
Hello dvdkite,
You can use this code:
100 - ((prevclose * 100)/close)
Please check the attached screenshot.
You can use this code:
100 - ((prevclose * 100)/close)
Please check the attached screenshot.
- Attachments
-
- Price Variation Percentual_MultiCharts Support.png
- (121.88 KiB) Not downloaded yet
Re: is there an easy way to obtain by code the price variation percentual [SOLVED]
Thank you. It seems to work perfectly!Hello dvdkite,
You can use this code:
100 - ((prevclose * 100)/close)
Please check the attached screenshot.