How do I run these type of codes?
DislikedI just modified the MurreyMath indicator from Vladislav Goshkov to add in an alert. The alert can be turned on or off. It'll alert only once per bar and NOT per second. In addition, you can change the color of the lines now.
Alert messages are:
Alert("MM[+2/8] SELL: TP1 @ 8/8, TP2 @ 7/8");
Alert("MM[+1/8] SELL: TP1 @ 8/8th, TP2 @ 7/8");
Alert("MM[8/8] If downtrend, SELL & Exit @ 6/8th");
Alert("MM[7/8] If downtrend, SELL & Exit @ 4/8th");
Alert("MM[1/8] If uptrend, BUY & Exit @ 4/8th");
Alert("MM[0/8] If uptrend, BUY & Exit @ 2/8th");
Alert("MM[-1/8]...Ignored