Sound alert for indicator

Indicadores

Trabalho concluído

Tempo de execução 17 dias

Termos de Referência

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);

  }

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

         

Respondido

1
Desenvolvedor 1
Classificação
(71)
Projetos
254
53%
Arbitragem
16
50% / 38%
Expirado
83
33%
Livre
2
Desenvolvedor 2
Classificação
(18)
Projetos
52
44%
Arbitragem
2
0% / 100%
Expirado
24
46%
Livre
3
Desenvolvedor 3
Classificação
(41)
Projetos
124
34%
Arbitragem
32
13% / 75%
Expirado
53
43%
Livre
4
Desenvolvedor 4
Classificação
(473)
Projetos
1138
44%
Arbitragem
51
31% / 33%
Expirado
500
44%
Livre
Pedidos semelhantes
Hello, i am searching for an experienced, professional software engineer, who can convert three Indicators from MQL4 to MQL5. This may sound like an easy job, but one indicator is like a trading system and therefore a bit complex. So you need to have a very good understanding of both languages. You should also be able to code MQL5 classes ( https://www.mql5.com/en/docs/basis/oop ). The intention is to code MQL5
I came across an indicator that's perfectly good in catching spikes in boom amd crash but i would want it to be modified and to improve accuracy As a professional you will have to go through the indicator and explain to me the strategy with which the indicator was buid and tell me the possibility of improving it better
Delete the minutes field the days dirctaly =1440 ( hide for the customer ) . The indicator setting appears with the indicator on the screen in the same color chosen The possibility of more than one indicator appearing on the screen. Good arrangement
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

Informações sobre o projeto

Orçamento
1 - 20 USD
Desenvolvedor
0.9 - 18 USD
Prazo
de 1 para 2 dias