Add a sound alert code to an existing mq4 file

 

Hi all, can someone help me add some code into an existing metatrader indicator.


The indicator I need adding to is called the 'better volume V1.4'. I need code to sound an alert when a volume bar changes colour to:


red

green

yellow

lime

white

magnenta

maroon

(not blue)


If someone can help me I'll be most grateful. I'll treat you to a couple cups of starbacks by paypal :)

 
pab :

Hi all, can someone help me add some code into an existing metatrader indicator.


The indicator I need adding to is called the 'better volume V1.4'. I need code to sound an alert when a volume bar changes colour to:


red

green

yellow

lime

white

magnenta

maroon

(not blue)


If someone can help me I'll be most grateful. I'll treat you to a couple cups of starbacks by paypal :)

You only need to include the Playsound("file") where you want.

file is a sound.wav file.