Release v29.6.0 (from 7388a2a6e02df803a33011b40077c533f89a55f0)

This commit is contained in:
jenkins
2025-08-13 14:02:15 +00:00
parent 9edb9e9108
commit 5209fc4afd
12 changed files with 44 additions and 22 deletions

View File

@@ -12129,8 +12129,16 @@ export interface IContext {
*/
is_main_symbol(symbol: ISymbolInstrument | undefined): boolean;
/**
* Allows the minimum depth to be forced.
* @param {number} value - minimum depth to set
* Allows you to specify how many data points beyond the [visible range](https://www.tradingview.com/charting-library-docs/latest/ui_elements/Time-Scale#time-range) the library should request.
* You should use this method only in **exceptional** cases.
*
* By default, the library request data for the visible range and some additional data points required for calculations.
* For example, if you calculate 10-period Moving Average with the {@link PineJSStd.sma} function, the library will request at least 10 extra bars of historical data.
*
* However, the library cannot determine the number of extra bars when your indicator depends on another indicator (chained calculations).
* In this exceptional case, you can specify this number using the `setMinimumAdditionalDepth` method.
* Consider the [Custom Moving Average](https://www.tradingview.com/charting-library-docs/latest/tutorials/create-custom-indicator/constructor-implementation#2-call-setminimumadditionaldepth) example, where a series is calculated and then used as an input for the second calculation.
* @param {number} value - minimum number of bars to request
*/
setMinimumAdditionalDepth(value: number): void;
}
@@ -20842,6 +20850,10 @@ export interface StudyOrDrawingAddedToChartEventParams {
/**
* Name of the added study or drawing.
*/
label: string;
/**
* Id of the added study or drawing.
*/
value: string;
}
/**