Login Page - Create Account

Support Board


Date/Time: Tue, 18 Mar 2025 14:31:36 +0000



Post From: Potential error with Study/Price Overlay with DrawStyle : CUSTOM_VALUE_AT_Y

[2018-04-09 16:42:42]
User470516 - Posts: 78
Dear Madam, dear Sir,

I have written several pieces of code to test the Study/Price Overlay with DrawStyle : CUSTOM_VALUE_AT_Y. I have the following error: the overlay study correctly gets the sc.Subgraph[].Data[] (let us call them Vindex) containing the values for the bar indexes but these values instead of being displayed at the Y-coordinate contained in the sc.Subgraph[].Arrays[0][] array, are displayed at Y = Vindex, i.e.: the value is displayed at Y = the value in the subgraph for the corresponding sc.Index. I hope I am clear.

Is it something you can reproduce or am I missing something?

Besides, I have a question re. overlaying charts. Is there a way to programmatically overlay studies so that we get the exact same behaviour as the Study/Price Overlay with the "Match Source Bars to Destination Bars" set to NO?

Thank you for your support.

Laurent