Can someone help me with this mt4 script. I have two custom indicators, xcode and arrows signal (3). Not sure if the (3) is because i have two other versions of the same indicator. I am trying to build a script that will alert me to when these two indicators align. I know nothing about programming but chatgbt has given me the following code but this yields 2 errors. unexpected end of program and unbalanced parenthesis.
{double Arrows_Signal3 = iCustom(NULL, 0, "Arrows_Signal3");
double XCODE = iCustom(NULL, 0, "XCODE",);
void OnTick()
{if (Arrows_Signal_3 == XCODE)
Alert("The indicators have aligned!") }
can someone help me fix these errors. Much appreciated.
{double Arrows_Signal3 = iCustom(NULL, 0, "Arrows_Signal3");
double XCODE = iCustom(NULL, 0, "XCODE",);
void OnTick()
{if (Arrows_Signal_3 == XCODE)
Alert("The indicators have aligned!") }
can someone help me fix these errors. Much appreciated.