Forum

Arrow not printing after the line cross

Hi team, I got a custom code. The arrow seems to follow the next candle open and it will not reflect after the 2 MA cross correctly without me refreshing the chart. PLease advise how to fix this thank you!! #include <stdlib.mqh> #include <stderror.mqh> //--- indicator settings #property

Indicator doesn't refresh on its own.

Hey team, can you let me know what is wrong with this code so I can fix it? It only produce a new result after I manually refresh mt4 //---- #property indicator_chart_window #property indicator_buffers 2 #property indicator_color1 DodgerBlue #property indicator_color2 Tomato extern string