i have been trying to code an indicator that will change colors according to two different data sets but i have run into a lot of trouble with nt's regions, variables, data sets and other minutiae.
i'd like to plot a 9 period sma. this 9 period sma would be plotted orange if a 10 period sma and an 18 period sma are both rising. it would be plotted purple if the 10 period and 18 period sma's are both falling and it would be plotted black in any other case.
i have managed to create an sma that changes colors if it is rising or falling, but i haven't had success in plotting one sma according to how two other sma's are trending. maybe someone with more extensive experience coding in nt could help me.
thanks.
Comment