OPEN-SOURCE SCRIPT

Last Candle OHLC (Ticks or Points)

アップデート済
What the Code Does

1. **Draws Lines and Labels**:
- It draws lines on your chart to show the high, low, open, and close prices from the previous period (like the previous day or week).
- It also labels these lines with numbers that tell you how far the current price is from these levels.

2. **Shows Price Movement**:
- You can see how far the price has moved from these levels in terms of small price changes (ticks) or larger units (points).
- This helps you understand price movements and potential levels of support or resistance.

3. **Customizable**:
- You can choose whether to show these lines and labels, and you can select if you want to see the movement in ticks or points.
- The lines can extend into the future on your chart to help you anticipate where prices might be in the coming days.

### How It’s Useful:

1. **Identify Key Levels**:
- It helps you spot important price levels from past periods, which can act as support or resistance.

2. **Understand Price Movement**:
- You get a visual sense of how much the price has moved from key levels, which can help you gauge market volatility.

3. **Plan Trades**:
- By seeing where the price has been and how it has moved, you can better plan your trades, like deciding where to enter or exit based on these levels.

4. **Flexible for Different Markets**:
- It works across various markets, like stocks, futures, and forex, adjusting to the specific characteristics of each instrument.

In short, this tool helps you visualize and understand past price movements and levels on your chart, aiding in your trading decisions.
リリースノート

This Pine Script indicator allows you to switch between two different functionalities on the TradingView chart, depending on your choice. Here's what it does in simple terms:

1. **Last Candle High & Low (Script 1)**:
- **Displays the high and low** of the last closed candle.
- **Shows these values** in either "Ticks" or "Points" as per your selection.
- **Labels** are placed above and below the last closed candle to indicate these high and low values.

2. **Last Candle OHLC (Script 2)**:
- **Displays the high, low, open, and close** values of the last closed candle.
- **Options for display**: You can choose to show lines and labels for each of these values.
- **Customizable display**:
- Choose which lines and labels to show (e.g., high/low, open/close).
- Customize colors for these lines and labels.
- Choose whether to display these values in "Ticks" or "Points".
- **Timeframe Options**: Allows displaying values from a specific timeframe (like daily) or the current chart timeframe.

### Key Features:
- **Script Selection**: You can select between "Last Candle High & Low" and "Last Candle OHLC" using a dropdown menu.
- **Display Mode**: Switch between "Ticks" and "Points" for displaying values.
- **Extension Length**: Customize how far the lines extend on the chart.
- **Timeframe Customization**: Set a specific timeframe to fetch OHLC values if needed.
- **Labels and Lines**:
- **Script 1**: Shows high and low values with labels.
- **Script 2**: Shows lines and labels for high, low, open, and close, with extensive customization options.

In summary, this script provides a flexible tool to visualize and analyze the last closed candle's high, low, open, and close values with a choice of display options and customizations.
Candlestick analysiscandlestickpatternchartlinesChart patternshighlowHigh-Low IndexohlcpricelevelsTechnical Analysistickpointstickstimeframeanalysis

オープンソーススクリプト

TradingViewの精神に則り、このスクリプトの作者は、トレーダーが理解し検証できるようにオープンソースで公開しています。作者に敬意を表します!無料で使用することができますが、このコードを投稿で再利用するには、ハウスルールに準拠する必要があります。 お気に入りに登録してチャート上でご利用頂けます。

チャートでこのスクリプトを利用したいですか?

免責事項