Re: MT4 Indicators with alerts/signals

1221
mntiwana wrote: Thu Dec 21, 2017 9:16 pm
did you checked this thread
Velocity - Momentum & ROC Indicators
viewtopic.php?p=1295353551#p1295353551
dear mntiwana,
thanks for your reply. I´ve checked it last minutes, but i didn´t find a simple mom-indi with alert or mtf.
Only special like gausian, atr and so on....
Can you make a recommendation, which mom-indi resembles a simple mom-indi?
May be i´m to blind :-)
thanks in advanced Markus
we can't change the wind, but we can set the sails differently


Re: MT4 Indicators with alerts/signals

1222
marwilli wrote: Thu Dec 21, 2017 9:36 pm
dear mntiwana,
thanks for your reply. I´ve checked it last minutes, but i didn´t find a simple mom-indi with alert or mtf.
Only special like gausian, atr and so on....
Can you make a recommendation, which mom-indi resembles a simple mom-indi?
May be i´m to blind :-)
thanks in advanced Markus
momentum - floating levels
posted here in its belonging thread
viewtopic.php?p=1295367439#p1295367439
Attachments
These users thanked the author mntiwana for the post:
marwilli
Indicator is just a tool.

Use it only if it can benefit you. Leave it if you don't know how to use it optimally.


Re: MT4 Indicators with alerts/signals

1226
I need add alert change color Red and Blue

Code: Select all

//-----------------------------------------------------------
//---------            MONDAY        ------------------------
//-----------------------------------------------------------
#property copyright "Copyright  MONDAY"
#property link      "www.monday.com.pl"

#property indicator_separate_window
#property indicator_buffers 2
#property indicator_color1 Red
#property indicator_color2 Blue

int gi_76 = 200;
int gi_80 = 55;
int gi_92 = 1;
double g_ibuf_96[];
double g_ibuf_100[];
bool gi_104;
bool gi_108;
bool gi_112 = TRUE;

int init() {
   gi_112 = TRUE;
   SetIndexStyle(0, DRAW_HISTOGRAM, EMPTY, 3, Red);
   SetIndexBuffer(0, g_ibuf_96);
   SetIndexStyle(1, DRAW_HISTOGRAM, EMPTY, 3, RoyalBlue);
   SetIndexBuffer(1, g_ibuf_100);
   return (0);
}

int deinit() {
   return (0);
}

int start() {
   double low_44;
   double high_52;
   double lda_92[10000][3];
   string ls_unused_96;
   if (!gi_112) return (0);
   
   int ind_counted_8 = IndicatorCounted();
   int li_20 = 0;
   int li_16 = 0;
   int index_24 = 0;
   double high_60 = High[gi_76];
   double low_68 = Low[gi_76];
   int li_32 = gi_76;
   int li_36 = gi_76;
   for (int li_12 = gi_76; li_12 >= 0; li_12--) {
      low_44 = 10000000;
      high_52 = -100000000;
      for (int li_28 = li_12 + gi_80; li_28 >= li_12 + 1; li_28--) {
         if (Close[li_28] < low_44) low_44 = Low[li_28];
         if (Close[li_28] > high_52) high_52 = High[li_28];
      }
      if (Low[li_12] < low_44 && Open[li_12] > high_52) {
         li_16 = 2;
         if (li_20 == 1) li_32 = li_12 + 1;
         if (li_20 == -1) li_36 = li_12 + 1;
      } else {
         if (Low[li_12] < low_44) li_16 = -1;
         if (High[li_12] > high_52) li_16 = 1;
      }
      if (li_16 != li_20 && li_20 != 0) {
         if (li_16 == 2) {
            li_16 = -li_20;
            high_60 = High[li_12];
            low_68 = Low[li_12];
            gi_104 = FALSE;
            gi_108 = FALSE;
         }
         index_24++;
         if (li_16 == 1) {
            lda_92[index_24][1] = li_36;
            lda_92[index_24][2] = low_68;
            gi_104 = FALSE;
            gi_108 = TRUE;
         }
         if (li_16 == -1) {
            lda_92[index_24][1] = li_32;
            lda_92[index_24][2] = high_60;
            gi_104 = TRUE;
            gi_108 = FALSE;
         }
         high_60 = High[li_12];
         low_68 = Low[li_12];
      }
      if (li_16 == 1) {
         if (High[li_12] >= high_60) {
            high_60 = High[li_12];
            li_32 = li_12;
         }
      }
      if (li_16 == -1) {
         if (Low[li_12] <= low_68) {
            low_68 = Low[li_12];
            li_36 = li_12;
         }
      }
      li_20 = li_16;
      if (gi_108 == TRUE) {
         g_ibuf_100[li_12] = 1;
         g_ibuf_96[li_12] = 0;
      }
      if (gi_104 == TRUE) {
         g_ibuf_100[li_12] = 0;
         g_ibuf_96[li_12] = 1;
      }
   }
   return (0);
}

Re: MT4 Indicators with alerts/signals

1227
pawel.kowalski wrote: Fri Dec 22, 2017 9:45 am I need add alert change color Red and Blue

Code: Select all

//-----------------------------------------------------------
//---------            MONDAY        ------------------------
//-----------------------------------------------------------
#property copyright "Copyright  MONDAY"
#property link      "www.monday.com.pl"

}
Looks like a decompiled code,but experts can better explain
and then plz try to post in mq4 file format
Indicator is just a tool.

Use it only if it can benefit you. Leave it if you don't know how to use it optimally.

Re: MT4 Indicators with alerts/signals

1229
Dear colleagues ! About a year ago I got a very promising indicator, but its potential is strongly reduced by silence. The funny thing is that both are found on the Internet option include a complete alarm set. However, in reality, no sound, no punsh notification to failed. Compiling under the old build did not solve the problem. The errors during compilation nor in the new nor in the old build is not defined. Can anyone solve this mystery ?

Re: MT4 Indicators with alerts/signals

1230
Dear Coders,
# Indicator is #SURE1:
Have to code a message and push notification alerts on closed bars as a template says (based on indicator #SURE1).
Main lines:
BLUE – price line
MAGENTA – top line
LIME – middle line
OLIVE – bottom line
Situations:
• When BLUE – price line touched MAGENTA – top line message should be ( Price line goes IN Top line)
• When BLUE – price line untouched MAGENTA – top line message should be ( Price line goes OUT Top line)
• When BLUE – price line touched LIME – middle line message should be ( Price line goes IN Middle line)
• When BLUE – price line untouched LIME – middle line message should be ( Price line goes OUT Middle line)
A message should contains Symbol + TF + Message + Local Time


Who is online

Users browsing this forum: Bing [Bot], Facebook [Crawler], horizon202, Proximic [Bot], ssscary, Xxcoincoin and 99 guests