HEY guys brady here, first time poster, long time mastery course student. (that was supposed to be a joke lmao, title="Not Funny")
anyways, im trying to get my CMA line (colored moving average) to have alert function, so id like it when the CMA turned red to post a red x and alert its changed red.
likewise for when it turns green a green x and alert that says its turned green,
the thing is i only know how to code alerts to something that has already been defined in the script above. but the only way i know how to code the CMA to color like that is only one line of code so i dont know how i would go about defining the alert in the script.
the script code is literally the same code as Matts on his zen and art of trading website. i just would love someone who could help me get this CMA Coded with alerts, i will be forever grateful. i hope to hear back soon and happy coding everybody!