Forum

How can I optimize this code? It runs very slowly during the first initialization of the indicators.

How can I optimize this code? It runs very slowly during the first initialization of the indicators. The final calculations of ergoCCIBuf and triggerBuf depend on the preceding buffers. #property indicator_separate_window #property indicator_buffers 8 #property indicator_plots 2 #property

Please help, why does this indicator work fine in backtesting but cannot be displayed on the chart?

#property version "1.00" #define ND NormalizeDouble #property indicator_chart_window #property indicator_buffers 5 #property indicator_plots 3 #property indicator_color1 clrDodgerBlue #property indicator_color2 clrDodgerBlue #property indicator_color3 clrDodgerBlue #property indicator_color4