Indian Stocks Forum - Share Market Discussions
Calculate heiken ashi with 15 minute ohlc data (open, high, low,close) - Printable Version

+- Indian Stocks Forum - Share Market Discussions (https://www.indianstocksforum.com)
+-- Forum: ISF Discussions (https://www.indianstocksforum.com/forum-8.html)
+--- Forum: Strategies and Indicators (https://www.indianstocksforum.com/forum-13.html)
+--- Thread: Calculate heiken ashi with 15 minute ohlc data (open, high, low,close) (/thread-535.html)



Calculate heiken ashi with 15 minute ohlc data (open, high, low,close) - Sapna Mukherjee - 05-07-2024

Heiken Ashi is a type of candlestick chart that provides a better visual representation of trends in the market by smoothing out price data. The Heiken Ashi (HA) candlesticks are calculated using the following formulas:

1. **HA Close** = (Open + High + Low + Close) / 4
2. **HA Open** = (Previous HA Open + Previous HA Close) / 2
3. **HA High** = Maximum of (High, HA Open, HA Close)
4. **HA Low** = Minimum of (Low, HA Open, HA Close)

To calculate the Heiken Ashi values from 15-minute OHLC (Open, High, Low, Close) data, we'll follow these steps:

1. Start with the first candlestick's Open and Close values to initialize the HA Open and HA Close.
2. For each subsequent candlestick, calculate the HA Close, HA Open, HA High, and HA Low using the formulas provided.