[target=RIBBON;description = Crossover of EMA 7 and EMA12 displayed as ribbon; author= Bleakley, Des;] { **** CALCULATE FAST AND SLOW MOVING AVERAGES **** } fastma := ma(CLOSE, 7, EXPONENTIAL); slowma := ma(CLOSE, 12, EXPONENTIAL); { **** DISPLAY THE CROSSOVER AS A RIBBON **** } trend_up := fastma >= slowma; [name=UP;color=green;] trend_up; [name=DOWN;color=red;] TRUE;