
A custom charting method for displaying candles from TradingView with flexible array creation and manipulation of individual candle data points.
Explore complementary indicator rolesHow it works
The candle display method allows traders to create and manipulate custom candle arrays directly within TradingView's Pine script environment. Users can construct individual candles by specifying open, high, low, and close price values using the Candle.new() constructor, which provides granular control over chart representation.
By using array.from() function, traders can dynamically build collections of candles with precise price data. This approach enables flexible chart generation, allowing manual or algorithmic insertion of candle data points with complete customization of visual trading information.
Why it may be useful
Custom candle arrays offer traders unprecedented flexibility in visualizing and analyzing price movements beyond standard chart configurations. By enabling manual creation of candle data, traders can backtest strategies, simulate market scenarios, and develop unique visual representations of price action.
The ability to programmatically generate and manipulate candle data supports advanced technical analysis techniques, allowing for more nuanced interpretation of market dynamics. This method empowers traders to create personalized chart representations that may reveal insights not immediately apparent in traditional charting approaches.
When to explore it
Custom candle array generation is most beneficial when traders need to visualize non-standard price data or simulate specific market scenarios. It becomes particularly useful when developing and testing trading strategies that require precise control over chart representation.
Traders can leverage this technique when working with historical data, creating educational materials, or developing algorithmic trading systems that require unique visualization methods. The flexibility of custom candle arrays makes them valuable for advanced technical analysts seeking to go beyond conventional charting limitations.
Keep exploring
What we’ve verified
Access, alerts and repainting behaviour have not been independently verified for this indicator. Check the creator’s current publication and settings.
General descriptions and classifications are recovered research. Verified details above identify the specific checks we have completed. Check the creator’s current publication for later changes.


![PDF-MA Supertrend [BackQuant] chart preview](https://s3.tradingview.com/y/YuIn2PIz.png?v=1737631586)

![Kalman Hull Supertrend [BackQuant] chart preview](https://s3.tradingview.com/p/PPHncdRt.png?v=1712009858)

