IncPriceChannelOnArray - MetaTrader 5 Library - MT4/MT5 Resources

CPriceChannelOnArray class is used to calculate the price channel on the indicator buffer.
This initialize() indicator function calls the OnInit() method with the following parameters:
This solve() function calls the OnCalculate() method with the following parameters:
Additional methods:
The Test_PriceChannelOnArray.mq5 file is an indicator that demonstrates how to use the CPriceChannelOnArray class. The IncPriceChannelOnArray file must be located in the MQL5\Include\IncOnArray directory of the terminal data folder (the IncOnArray folder must be created).
The market often accelerates and decelerates as its movement is determined, so it is not easy to draw straight lines for support and resistance levels. This Price Channel indicator plots price channels and their upper and lower boundaries determined by the highest and lowest prices during a specific period.

Attachment download
📎 incpricechannelonarray.mqh (2.5 KB)
📎 test_pricechannelonarray.mq5 (3.41 KB)
Source: MQL5 #637
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •