NO LINKS OR MQL SOURCE CODE REQUESTS. Please follow the rules.

DislikeRe: MT4 Indicator requests and ideas

#14401
stefanl wrote:
Tue Nov 23, 2021 9:50 pm
Greetings,
Can you please add alerts into this indicator, when the price is getting above a configurable number, e.g. 80% ?
Thank you.
Hello trader,

No, this wont be done and I have removed the file simply because you have joined and immediately asked for free work. These type of posts will be deleted simply because:

  • You haven't provided a reason on why adding Alerts when the price is above a configurable number would be helpful.
  • We don't know you (yet).

Please acquaint yourself with our house rules if you wish to be part of our family. We welcome all traders here, so please make an effort first before asking for coding work :thumbup:
Trade with the broker that supports our work! FBS are offering $140 to get you started! Click, here to begin live trading, today.
No commissions are earned by Forex-station.


The brand new FBS Forex Calendar 🗓️
How to: Draw Fibonacci Extensions the easy way
How to: Identify major Support & Resistance using the line chart


Re: MT4 Indicator requests and ideas

#14402
stefanl wrote:
Tue Nov 23, 2021 9:50 pm
Greetings,
Can you please add alerts into this indicator, when the price is getting above a configurable number, e.g. 80% ?
Thank you.

NEW GUY JOINS
MAKES FIRST POST......


whoa-take-it-easy.gif
Contribution Inspector & GIF Animator at your service 👨‍⚖️

Re: MT4 Indicator requests and ideas

#14403
mrtools wrote:
Tue Nov 23, 2021 8:33 am
That indicator needs "Cycle_KROUFR_version" to work.
Dear @mrtools,

Good Day Sir,

Thank you for your quick reply, i am attaching the code of Cycle Kroufer for your kind consideration & request to make this indicator based upon:
1. Zerolag Tema
2. Fractal Cycles & Nicolas Darvas Stuff
3. Over sale/bought regions based upon ATR
4. Non Repaint Divergence based upon avg crossing with option to choose from Fractal or Dravas, MTF as usual.

That would be a new year gift for many from you.

Regards

Code: Select all

----------------------------------------------------------code---------------------------

//+------------------------------------------------------------------+
//|                                        Cycle_KROUFR_version.mq4  |
//+------------------------------------------------------------------+
#property  copyright "Copyright © 2008 | Grayman77, zIG, akadex"
#property  link      "ForexResearch"

#property indicator_separate_window
#property indicator_minimum 0
#property indicator_maximum 100
#property indicator_level1 20
#property indicator_level2 50
#property indicator_level3 80
#property indicator_buffers 1
#property indicator_color1 DarkOrchid

//---- input parameters
extern int FastMA=12;
extern int SlowMA=24;
extern int Crosses=50;
extern bool Comments=true; 

//---- buffers
double MA[];
double MCD[];
double MAfast[],MAslow[];
double Cross[];
double max_min[];
double PointDeviation[];
double PeriodTimeAVG[];

//---- var
double smconst,ST,max,min;
int ShiftFirstCross;  // смещение первого пересечения c начала истории
int ShiftCrossesCross;  // смещение (Crosses+1)-го пересечения c начала истории (первое - пропускаем)
int k;

//+------------------------------------------------------------------+
//| Custom indicator initialization function                         |
//+------------------------------------------------------------------+
int init()
  {
//   string short_name;
//---- indicator line
   IndicatorBuffers(8);
   SetIndexBuffer(0, MA);
   SetIndexStyle(0,DRAW_LINE,STYLE_SOLID,2,DarkOrchid);
   SetIndexBuffer(1, MCD);
 	SetIndexBuffer(2, MAfast);
	SetIndexBuffer(3, MAslow);
	SetIndexBuffer(4, Cross);
	SetIndexBuffer(5, max_min);
	SetIndexBuffer(6, PointDeviation);
	SetIndexBuffer(7, PeriodTimeAVG);
   
   SetIndexEmptyValue(0,0.0);
   SetIndexEmptyValue(1,0.0);
   SetIndexEmptyValue(2,0.0);
   SetIndexEmptyValue(3,0.0);
   SetIndexEmptyValue(4,0.0);
   SetIndexEmptyValue(5,0.0);
   SetIndexEmptyValue(6,0.0);
   SetIndexEmptyValue(7,0.0);
   
   ShiftFirstCross=0;
	ShiftCrossesCross=0;
	k=0;
	max=0.;
   min=1000000.;
   
   return(0);
  }
int deinit()
  {
   Comment("");
   return(0);
  }
//+------------------------------------------------------------------+
//| Schaff Trend Cycle                                               |
//+------------------------------------------------------------------+
int start()
  {
   int counted_bars=IndicatorCounted();
   int i,j,limit,NumberCross,BarsCross;
   double prev,MinMACD,MaxMACD,delta,Sum_max_min;
   
   if(Bars<=SlowMA) return(-1);
   
   //---- последний посчитанный бар будет пересчитан
   if(counted_bars>0) counted_bars--;
   limit=Bars-counted_bars;
   if(limit>Bars-SlowMA-1) limit=Bars-SlowMA-1;
   
//+------------------------------------------------------------------+
//| Time AVG                                                         |
//+------------------------------------------------------------------+
   for(i=limit;i>0;i--)
     {
     Cross[i]=0.;
     // Вычислить значения средних и поместить в буферы
     MAfast[i]=iMA(NULL,Period(),FastMA,0,MODE_SMA,PRICE_CLOSE,i);
     MAslow[i]=iMA(NULL,Period(),SlowMA,0,MODE_SMA,PRICE_CLOSE,i);
     // Найти пересечения средних
     if(MAfast[i]>=MAslow[i] && MAfast[i+1]MAslow[i+1]) // быстрая пересекает медленную сверху вниз
       {
       // Если это первое найденное пересечение - запомнить его смещение
       if(ShiftFirstCross==0) ShiftFirstCross=i;
       // Если еще не найдено Crosses+1 пересечение
       if(ShiftCrossesCross==0)
         {
         k++;
         // если найдено - запомнить
         if(k==Crosses+1) ShiftCrossesCross=i;
         }
       // Запомнить факт пересечения в буфере
       Cross[i]=-1.;
       // Запомнить разность max-min в буфере
       max_min[i]=max-min;
       // Сбросить значения max и min
       max=0.;
       min=1000000.;
       }
     // Выбираем максимальную цену (из High) между пересечениями и минимальную из Low
     if(maxLow[i]) min=Low[i];
     }
   
   
   // Считаем статистику
   if(limit>ShiftCrossesCross) limit=ShiftCrossesCross;
   for(i=limit;i>0;i--)
     {
     // Найти первое пересечение (справа налево)
     j=i;
     while(Cross[j]==0.) j++;
     // Найти следующие Crosses пересечений
     NumberCross=0;
     BarsCross=0;
     Sum_max_min=0.;
     while(NumberCross=0;i--)
     {
     // Вычислить MACD
     MCD[i]=iMA(NULL,0,FastMA,0, MODE_EMA, PRICE_TYPICAL, i)-
            iMA(NULL,0,SlowMA,0, MODE_EMA, PRICE_TYPICAL, i);
     
     // Найти макс. и мин. значения MACD на периоде TimeAVG
     MinMACD=MCD[i];
     MaxMACD=MCD[i];
     for(j=i+1;jMaxMACD) MaxMACD=MCD[j];
       }
     
     // Вычислить стохастик от MACD
     delta=MaxMACD-MinMACD;
     if(delta==0.)  // проверка для исключения деления на 0
      ST=50.;
      else   // если не 0 - делим
       {
       ST=(MCD[i]-MinMACD)/delta*100;
       }
      // Заполнить буфер
     prev=MA[i+1];
     MA[i]=(2./(1.+PeriodTimeAVG[i+1]/2.))*(ST-prev)+prev;
     
     //Вывести комментарии
     if (!IsTesting() && Comments)
     Comment(" Боковые отклонения: "+DoubleToStr(PointDeviation[1],0)+
     " пунктов\n Среднее количество баров: "+DoubleToStr(PeriodTimeAVG[1],0)+
     "\n Пересечений: "+Crosses); 
       }
  
  return(0);
  }
//+------------------------------------------------------------------+
cycle_koufer extremus.mq4
(3.13 KiB) Downloaded 66 times
Cycle_KROUFR_version.mq4
(6.79 KiB) Downloaded 66 times
CycleKroufrExtremums 2.0.mq4
(4.66 KiB) Downloaded 71 times

InfoRe: MT4 Indicator requests and ideas

#14404
k_khan_bt wrote:
Tue Nov 23, 2021 10:59 pm
Dear @mrtools,
Mumbo jumbo everywhere.

Please bro, can you help us keep the topic neat by wrapping your code next time by using the CODE function?

You've been here since 2018 🤔
If you're still not sure how, please see below.

Just highlight your code and press the CODE button 👇

Image
Trade with the broker that supports our work! FBS are offering $140 to get you started! Click, here to begin live trading, today.
No commissions are earned by Forex-station.


The brand new FBS Forex Calendar 🗓️
How to: Draw Fibonacci Extensions the easy way
How to: Identify major Support & Resistance using the line chart

Re: MT4 Indicator requests and ideas

#14405
Jimmy wrote:
Tue Nov 23, 2021 11:29 pm
Mumbo jumbo everywhere.

Please bro, can you help us keep the topic neat by wrapping your code next time by using the CODE function?

You've been here since 2018 🤔
If you're still not sure how, please see below.

Just highlight your code and press the CODE button 👇

Image
Brother Jimmy,

Apologies i just forgot that function will take care next time, thank you for a disciplinary reminder!

Regards


Re: MT4 Indicator requests and ideas

#14407
mrtools wrote:
Wed Nov 24, 2021 7:08 am
Just add the EMAD?
Sorry, you can add anything you want

It was a bit rushed at the time so only EMAD popped into my head because that's what I usually try first to see what might happen😅

Anyway, really appreciate your work💝💯
o(≧▽≦)o 𝓣𝓱𝓪𝓷𝓴𝓼 𝓕𝓸𝓻𝓮𝔁 𝓢𝓽𝓪𝓽𝓲𝓸𝓷 ❤️

Don't mind me. I'm stupid af

LikeRe: MT4 Indicator requests and ideas

#14408
k_khan_bt wrote:
Wed Nov 24, 2021 6:29 am
Brother Jimmy,

Apologies i just forgot that function will take care next time, thank you for a disciplinary reminder!

Regards
Thank you bro 🙏
Trade with the broker that supports our work! FBS are offering $140 to get you started! Click, here to begin live trading, today.
No commissions are earned by Forex-station.


The brand new FBS Forex Calendar 🗓️
How to: Draw Fibonacci Extensions the easy way
How to: Identify major Support & Resistance using the line chart


  1. Similar Topics

    1. Double Heading + Zigzag swing trading binary & forex ideas

      12 Replies 6473 Views

      by sal, Sun Dec 20, 2020 10:08 pm in Trading Systems

      12 Replies
      6473 Views
    2. Support Resistance strategy & Ideas

      9 Replies 2818 Views

      by sal, Sun Jul 18, 2021 10:29 pm in Trading Systems

      9 Replies
      2818 Views
    3. Forex News Indicator MT4 and MT5

      0 Replies 414 Views

      by pruso, Thu Aug 26, 2021 8:14 pm in Commercial Services

      0 Replies
      414 Views

Return to “MT4 Indicators”

Users viewing this forum: andrei-1, axelush, bubu3088, CommonCrawl [Bot], Demos4x, DVanAssen, ffsss, global, gustavoborges, juantrader, KAESER444, kvak, Majestic-12 [Bot], SEMrush [Bot], Sunrisetobi, talaate, Woodyz and 62 guests