pivots calculation based on pine script v4 Indicator suitable for MT4 use. [tags:title] helps to identify potential trading opportunities in different time frames. In addition pivots calculation based on pine script v4 has been designed with ease of use in mind, providing a simple and intuitive interface suitable for both novice and experienced Forex traders.
For MQL5 version please click here.
pine script v4 function I/O :
pivothigh(source, leftbars, rightbars) → series[float]
pivotlow(source, leftbars, rightbars) → series[float]
This indicator includes two simple functions to calculate the pivotshigh and pivotslow functions based on pine script. The functions can be used as copy and paste snippet in conversion projects from tradingview platform.
Note: The pivots indicators implemented in tradingview platform is lagging.
How to Install the pivots calculation based on pine script v4 Indicator in MetaTrader 4
- Unzip the downloaded pivots calculation based on pine script v4 Indicator file.
- Open MetaTrader 4, go to the “File” menu, and select “Open Data Folder”.
- Navigate to the MQL4 folder, then open the Indicators folder.
- Paste the unzipped pivots calculation based on pine script v4 Indicator files into the Indicators folder.
- Restart MetaTrader 4 or refresh the indicators list by right-clicking in the “Navigator” window and selecting “Refresh”.
- In MetaTrader 4, open the “Navigator” window (Ctrl+N) and find the pivots calculation based on pine script v4 Indicator under the “Indicators” section.
- Drag and drop the pivots calculation based on pine script v4 Indicator onto the chart of your choice.
- Adjust the indicator settings as needed and click “OK” to apply it to the chart.