Sound alert for indicator

Indicators

Job finished

Execution time 17 days

Specification

I would like a sound  alert and email alert for my volume indicator.

I have the code for the volume indicator and would like an alert when the volume bars turn to certain colours in specified timeframes - example an alert when the  volume bars turn green in the  1 hour, 30 Min or/and 15 Min timeframe. There are only three colours that I'm interested in .

Thanx

 

 #property copyright ""

#property link      ""


#property indicator_separate_window

#property indicator_buffers 7

#property indicator_color1 Red

#property indicator_color2 DeepSkyBlue

#property indicator_color3 Yellow

#property indicator_color4 Lime

#property indicator_color5 White

#property indicator_color6 Magenta

#property indicator_color7 Maroon


#property indicator_width1 2

#property indicator_width2 2

#property indicator_width3 2

#property indicator_width4 2

#property indicator_width5 2

#property indicator_width6 2



extern int     NumberOfBars = 500;

extern string  Note = "0 means Display all bars";

extern int     MAPeriod = 100;

extern int     LookBack = 20;



double red[],blue[],yellow[],green[],white[],magenta[],v4[];

//+------------------------------------------------------------------+

//| Custom indicator initialization function                         |

//+------------------------------------------------------------------+

int init()

  {

//---- indicators

      SetIndexBuffer(0,red);

      SetIndexStyle(0,DRAW_HISTOGRAM);

      SetIndexLabel(0,"Climax High ");

      

      SetIndexBuffer(1,blue);

      SetIndexStyle(1,DRAW_HISTOGRAM);

      SetIndexLabel(1,"Neutral");

      

      SetIndexBuffer(2,yellow);

      SetIndexStyle(2,DRAW_HISTOGRAM);

      SetIndexLabel(2,"Low ");

      

      SetIndexBuffer(3,green);

      SetIndexStyle(3,DRAW_HISTOGRAM);

      SetIndexLabel(3,"HighChurn ");

      

      SetIndexBuffer(4,white);

      SetIndexStyle(4,DRAW_HISTOGRAM);

      SetIndexLabel(4,"Climax Low ");

      

      SetIndexBuffer(5,magenta);

      SetIndexStyle(5,DRAW_HISTOGRAM);

      SetIndexLabel(5,"ClimaxChurn ");

      

      SetIndexBuffer(6,v4);

      SetIndexStyle(6,DRAW_LINE,0,2);

      SetIndexLabel(6,"Average("+MAPeriod+")");

      

      IndicatorShortName("Better Volume 1.4" );

      


//----

   return(0);

  }

//+------------------------------------------------------------------+

//| Custom indicator deinitialization function                       |

//+------------------------------------------------------------------+

int deinit()

  {

//----

  

//----

   return(0);

  }

//+------------------------------------------------------------------+

//| Custom indicator iteration function                              |

//+------------------------------------------------------------------+

int start()

  {

  

   double VolLowest,Range,Value2,Value3,HiValue2,HiValue3,LoValue3,tempv2,tempv3,tempv;

   int limit;

   int counted_bars=IndicatorCounted();

//---- last counted bar will be recounted

   if(counted_bars>0) counted_bars--;

   if ( NumberOfBars == 0 ) 

      NumberOfBars = Bars-counted_bars;

   limit=NumberOfBars; //Bars-counted_bars;

   

      

   for(int i=0; i<limit; i++)   

      {

         red[i] = 0; blue[i] = Volume[i]; yellow[i] = 0; green[i] = 0; white[i] = 0; magenta[i] = 0;

         Value2=0;Value3=0;HiValue2=0;HiValue3=0;LoValue3=99999999;tempv2=0;tempv3=0;tempv=0;

         

         

         VolLowest = Volume[iLowest(NULL,0,MODE_VOLUME,20,i)];

         if (Volume[i] == VolLowest)

            {

               yellow[i] = NormalizeDouble(Volume[i],0);

               blue[i]=0;

            }

               

         Range = (High[i]-Low[i]);

         Value2 = Volume[i]*Range;

         

         if (  Range != 0 )

            Value3 = Volume[i]/Range;

            

         

         for ( int n=i;n<i+MAPeriod;n++ )

            {

               tempv= Volume[n] + tempv; 

            } 

          v4[i] = NormalizeDouble(tempv/MAPeriod,0);

         

          

          for ( n=i;n<i+LookBack;n++)

            {

               tempv2 = Volume[n]*((High[n]-Low[n])); 

               if ( tempv2 >= HiValue2 )

                  HiValue2 = tempv2;

                    

               if ( Volume[n]*((High[n]-Low[n])) != 0 )

                  {           

                     tempv3 = Volume[n] / ((High[n]-Low[n]));

                     if ( tempv3 > HiValue3 ) 

                        HiValue3 = tempv3; 

                     if ( tempv3 < LoValue3 )

                        LoValue3 = tempv3;

                  } 

            }

                                      

          if ( Value2 == HiValue2  && Close[i] > (High[i] + Low[i]) / 2 )

            {

               red[i] = NormalizeDouble(Volume[i],0);

               blue[i]=0;

               yellow[i]=0;

            }   

            

          if ( Value3 == HiValue3 )

            {

               green[i] = NormalizeDouble(Volume[i],0);                

               blue[i] =0;

               yellow[i]=0;

               red[i]=0;

            }

          if ( Value2 == HiValue2 && Value3 == HiValue3 )

            {

               magenta[i] = NormalizeDouble(Volume[i],0);

               blue[i]=0;

               red[i]=0;

               green[i]=0;

               yellow[i]=0;

            } 

         if ( Value2 == HiValue2  && Close[i] <= (High[i] + Low[i]) / 2 )

            {

               white[i] = NormalizeDouble(Volume[i],0);

               magenta[i]=0;

               blue[i]=0;

               red[i]=0;

               green[i]=0;

               yellow[i]=0;

            } 

            

         

      }

//----

   

//----

   return(0);

  }

//+------------------------------------------------------------------+

         

Responded

1
Developer 1
Rating
(71)
Projects
254
53%
Arbitration
16
50% / 38%
Overdue
83
33%
Free
2
Developer 2
Rating
(18)
Projects
52
44%
Arbitration
2
0% / 100%
Overdue
24
46%
Free
3
Developer 3
Rating
(41)
Projects
124
34%
Arbitration
32
13% / 75%
Overdue
53
43%
Free
4
Developer 4
Rating
(473)
Projects
1138
44%
Arbitration
51
31% / 33%
Overdue
500
44%
Free
Similar orders
An EA that executes when the 21 and 55 SMA Cross on certain time frame also the EA will understand supply and demand levels and executes when price reacts on this levels specified and target/stoploss levels will be predetermined...also the robot will also comprise stochastic oscillator
Indicator MT5 from Pine Script 5 (TradingView) indicators Request: Develop 1 Indicator mql5 from 2 TV (Pine script 5) indicators Get only basic features, I just need to get values in Copybuffer() for mql5 expert. Total MT5 indicator: 4 levels in the chart + 1 oscillator (line/histogram) =================================== TV Indicator 1: Smart Money Concepts Just get High/low levels from internal/externals (smaller /
I have a full code ,, There are some errors in this.It does not add to the chart, does not show arrow marks, does not alert ,, fix this problem and work properly,, Contact on telegram @Gw_rakib1
Starting from scratch, I need a solution to develop my own crypto trading and exchange platform. This platform should compare prices across various exchanges like Coinbase, Binance, KuCoin, and Unocoin, as well as different cryptocurrencies. The solution must identify opportunities to buy on one platform and sell on another for a profit, transferring funds to my personal wallet instantly for security. The bot should
I am looking for a programmer to do EA trader. If you can understand what I want from the video i do and you can do it, contact me because you will be able to do what I want. https://drive.google.com/file/d/1wbHxbUQQqCkdpr0-pHfIh2b288LzYTV2/view?usp=sharing
I have an indicator i will like to view in form of dashboard across various timeframes, i also will like a push notifications alert feature that will appear on my mt4 mobile to keep track of my trading pairs
Need a dashboard, which can monitor up to 30 selected pairs in selected time frames. It monitors AO, MACD and stochastic. In the cells of dashboard, if AO is positive in the relevant symbol/tf, it writes "UP". When one of AO is above 0 level AND Stochastic is in OS zone it writes "UPUP". When AO is above 0 and when stochastics is oversold minimum of two times,it will alert UPU2 if AO is negative below 0 in the
Looking for custom strength indicators I can add to my EA. An indicator that can measure the strength of buyer and sellers. Please show me what you have, thank you
Modify Indicator 30 - 40 USD
I need an expert who can assist me in modifying an open source PineScript indicator code to add additional features. Only applicants with prove of work should apply for more discussion
Hello i need an expert who can help me modify an open source PineScript indicator code to add additional features. ONLY EXPERT WITH PROVE OF WORK SHOULD CONTACT FOR FURTHER DISCUSSION ON THE PROJECT

Project information

Budget
1 - 20 USD
For the developer
0.9 - 18 USD
Deadline
from 1 to 2 day(s)