Login Page - Create Account

Support Board


Date/Time: Sun, 05 May 2024 11:43:18 +0000



Post From: 'Invert Chart' function for Historical Charts - Bug

[2023-03-28 13:40:50]
User34124 - Posts: 271
CHFJPY 15 March 2023 Historical D1 candle.

In the screenshot, the candle has been annotated the given 7 times it can be.

Left is the original candle, price values from top to bottom:

H 147.58464495
O 146.91218367
C 142.95213386
L 142.65326217

Corresponding 1.0/prices and display are on the right.

H --> L: 1/147.58464495 = 0.0067757726

^ The above line is completely missing. whereas the below 3 lines are not.

O --> : 1/146.91218367 = 0.0680678741
C --> : 1/142.95213389 = 0.0069953485
L --> H: 1/142.65326217 = 0.00701000443

This inverted high (new low) not printing, is akin to the wick is not printing, hence the obvious bug in my original screenshot.



***********



Alternatively, (or additionally depending on your lust for thoroughness), just update normal chart functions to apply when using the Multiple Bars study.. all it needs to do is recognise a chart with a '-' at the start of the price.
imagesierra.png / V - Attached On 2023-03-28 13:39:31 UTC - Size: 101.6 KB - 69 views