Indicator which shows colored Object depending on MA

 

hey guys,


im looking for a simple Indicator which shows an Object like a square somewhere in the chart. And its color is depending on some other indicator like moving average.


For Example:

MA30 falling => red square

MA30 raising => green square


I hope someone knows the solution :)


greetings !

Files:
rect2.mq4  6 kb
 
fxfaker: I hope someone knows the solution :)
  1. With what? You haven't stated a problem.
  2. learn to code it, or pay someone. We're not going to code it FOR you.
    We are willing to HELP you when you post your attempt (using SRC) and the nature of your problem.
Reason: