After searching for such script, I decided to create mine, and decided to share it with the MQL5 community.
This script exports indicator's values to CSV File along with date and time (you can change the iCustom function parameters to change what indicator to export).
This indicator will allow you to perform the recalculation of the indicator's data only when the new bar on the chart has appeared.MQL5 Wizard - Trade Signals Based on Reversal Candlestick Patterns
Trade signals based on reversal candlestick patterns is considered. The code of the Expert Advisor based on this strategy can be generated automatically using the MQL5 Wizard.