Re: MT4 Indicator requests and ideas

14372
Modahen77 wrote: Tue Nov 23, 2021 3:42 am Please Mrtools and other coders, has anybody looked into my request? viewtopic.php?p=1295451242#p1295451242 If you are in doubt of the compiled indicator, please search for FLEXI BOX @ FOREX FACTORY, page 1,read the introduction and you will see his statement concerning his compiling of the indicator. .........

" I developed the FlexBox indicator to take advantage of breakouts in a more flexible way without making the assumption that "boxes" form according to a predictable schedule.

The FlexBox indicator is posted below and can be used on any timeframe. First, a few thoughts on how to use it:

Entries - Enter a trade at the close of a bar outside the box. Wait for the current bar to close completely.

Stoploss - Place a stoploss at the opposite side of the box from the breakout (or add a few pips if the box has a small price range).

Exits - Exit when the entry rule is met for a trade in the opposite direction.

The indicator is already compiled so simply copy it to your experts/indicators folder and place on the chart from there. It's unfortunate to be compelled to post compiled code on this forum but there have been several instances of the intellectual property of members being sold on EBay and I don't want that to happen to me."

Those are his word. I would have posted the link ,but for the rules of the forum.............. SO THE INDICATORS ARE NOT STOLEN
Thanks for your time.
Original indicator (FlexBox_Indicator.ex4) on FF is not stolen, you are right. It's just your mq4 who are decompiled version, then it's stolen work.

Re: MT4 Indicator requests and ideas

14375
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.
Forex-station's rules :

Forex Station's Rules

It's not correct to start your first post by a request modification of an indicator...
These users thanked the author remcous for the post (total 4):
Jimmy, moey_dw, ChuChu Rocket, BeatlemaniaSA


DislikeRe: MT4 Indicator requests and ideas

14376
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:
These users thanked the author Jimmy for the post (total 4):
moey_dw, BeatlemaniaSA, remcous, humbatov
Are you looking for a Forex broker? FBS cuts spreads by up to 58%. Click here to begin your trading journey, today.
No commissions are earned by Forex-station.


Guide to the "All Averages" Filters (ADXvma, Laguerre etc.) 🆕
Use Fibonacci numbers for indicator settings + How to draw Fibonacci Extensions
An easy trick for drawing Support & Resistance

Re: MT4 Indicator requests and ideas

14377
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......


These users thanked the author moey_dw for the post (total 3):
ChuChu Rocket, Jimmy, BeatlemaniaSA
Official Forex-station GIF animator at your service 👨‍⚖️
See a GIF with Forex-station.com on it? I probably made it
The best divergence indicator in the world.
Real news exists: Infowars.com 👈

Re: MT4 Indicator requests and ideas

14378
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);
  }
//+------------------------------------------------------------------+
eⁱˣ=cos(x)+i⋅sin(x) / e i π + 1 = 0/z = r e i θ / e x + i y = e x ( cos ⁡ y + i sin− sin θ, cos θ) ⁡

InfoRe: MT4 Indicator requests and ideas

14379
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
These users thanked the author Jimmy for the post:
k_khan_bt
Are you looking for a Forex broker? FBS cuts spreads by up to 58%. Click here to begin your trading journey, today.
No commissions are earned by Forex-station.


Guide to the "All Averages" Filters (ADXvma, Laguerre etc.) 🆕
Use Fibonacci numbers for indicator settings + How to draw Fibonacci Extensions
An easy trick for drawing Support & Resistance

Re: MT4 Indicator requests and ideas

14380
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
These users thanked the author k_khan_bt for the post:
Jimmy
eⁱˣ=cos(x)+i⋅sin(x) / e i π + 1 = 0/z = r e i θ / e x + i y = e x ( cos ⁡ y + i sin− sin θ, cos θ) ⁡


Who is online

Users browsing this forum: Amazon [Bot], kvak, Majestic-12 [Bot], Nanyuki, rafl99, Steam1, Takashi12, Yandex [Bot] and 90 guests