Modify existing indicator.
Current incdicator is a moving average that changes colour based on the gradient of the moving average (Red = downward trend. Blue = upward trend. Yellow = flat). I would like to be able to adjust the gradient of the moving average at which the line turns yellow from red or blue and the gradient that the line turnsred or blue from yellow.
At a set time of day monitor the moving average until the EA provides a signal to buy or sell based on the colour of the moving average. Enter trade with fixed stop loss and take profit levels. Program 4 adjustable levels at which the stop loss is trailed. Close order if the moving average colour goes back to yellow while trade is open. The EA should not take a trade if the price action has exceeded a set range in the 2 hours (adjustable) before the EA activation time.