get the color of volume indicator ?

 

hi every one

i need the code to buy when color of volume indicator == green & volume >=3000 & period time == h1 

i tried icustome(); but i failed 

please help

volumes

 
e_h: i tried icustome(); but i failed
  1. "Doesn't work" is meaningless - just like saying the car doesn't work. Doesn't start, won't go in gear, no electrical, missing the key, flat tires - meaningless. There are no mind readers here.
  2. Multiple colors means multiple buffers.
  3. You should write a self documenting function instead of calling iCustom directly, see Detailed explanation of iCustom - MQL4 forum
Reason: