Page 19 of 34

Re: Volatility Indicators for MT4

Posted: Tue Jan 04, 2022 10:47 pm
by naluvs01
Hello fellow traders,

I found this website that reveals client sentiment utilizing AI. It's been helping me confirm my entries. You can type the currency symbol in the "filter instruments" box and then click on the pair you're considering. Then a graph will show you where the retail traders are (a light blue line) compared to where price is (the candlesticks). I hope someone finds this useful.

Enjoy!
https://forexclientsentiment.com/client-sentiment

Re: Volatility Indicators for MT4

Posted: Mon Jan 24, 2022 11:55 pm
by Hercs78
mntiwana wrote: Tue Dec 25, 2018 4:36 am Directional volatility - pa adapted
Mladen's Phase Accumulation Adaptive directional Volatility indicator
with usual prices
Image

Image

Image

Image
I find that changing the setting does not do anything to this indicator? Anyone else with the same problem?
Thanks for replying.
Hercs.

Request for arrows on colour-change please

Posted: Mon Jan 24, 2022 11:59 pm
by Hercs78
Good day, MrTools.
Would you please let me have arrows on colour-change for the TSR(2) indicator attached. Reason being that I have to strain my eyes to see when that happens.
At your convenience of course.
And may I have the source file back as my platform does not accommodate ex4 files.
Thanking you most sincerely,
Hercs.

Re: Request for arrows on colour-change please

Posted: Tue Jan 25, 2022 6:43 am
by mrtools
Hercs78 wrote: Mon Jan 24, 2022 11:59 pm Good day, MrTools.
Would you please let me have arrows on colour-change for the TSR(2) indicator attached. Reason being that I have to strain my eyes to see when that happens.
At your convenience of course.
And may I have the source file back as my platform does not accommodate ex4 files.
Thanking you most sincerely,
Hercs.
That is a repainting version of Hull moving average, we have many versions of that here in the forum, with arrows.

Re: Request for arrows on colour-change please

Posted: Tue Jan 25, 2022 5:53 pm
by Hercs78
mrtools wrote: Tue Jan 25, 2022 6:43 am That is a repainting version of Hull moving average, we have many versions of that here in the forum, with arrows.
Thank you kindly, MrTools, but seeing that there are "many versions", would you mind linking me to the one you or Mladen posted, plse?
Looking forward to hearing from you.
Hercs.

Re: Request for arrows on colour-change please

Posted: Tue Jan 25, 2022 6:10 pm
by Ogee
Hercs78 wrote: Tue Jan 25, 2022 5:53 pm Thank you kindly, MrTools, but seeing that there are "many versions", would you mind linking me to the one you or Mladen posted, plse?
Looking forward to hearing from you.
Hercs.
try

Re: Request for arrows on colour-change please

Posted: Tue Jan 25, 2022 11:40 pm
by Hercs78
Ogee wrote: Tue Jan 25, 2022 6:10 pmtry
Thank you, Ogee.
Much appreciated.
Hercs.

Re: Volatility Indicators for MT4

Posted: Thu Jan 27, 2022 12:52 pm
by ramon
Hello gentlemen ; programments,I thank you for your work, I want to ask you if you could put a button on this indicator , and if there is
the possibility of marking the lines shorter . Tank you


Code: Select all

#property indicator_chart_window
#property strict

extern string          UniqueID      = "YearlyPivots1";  // Unique ID
extern int             LineWidth     = 2;                // Main lines width
extern int             MidLineWidth  = 0;                // Midd lines width
extern ENUM_LINE_STYLE LineStyle     = 0;                // Main lines style
extern ENUM_LINE_STYLE MidLineStyle  = 3;                // Midd lines style
extern color           P_color       = clrLime;          // Pivots color
extern color           S_color       = clrRed;           // Support color
extern color           MS_color      = clrOrange;        // Midd support color
extern color           R_color       = clrBlue;          // Resistance color
extern color           MR_color      = clrAqua;          // Midd resistance color
extern bool            ShowMidPivots = true;             // Show midd pivots?
extern bool            ShowInBack    = true;             // Lines should be in background?

//------------------------------------------------------------------
//
//------------------------------------------------------------------
int init()   {                                   return(0); }
int deinit() { ObjectsDeleteAll(0,UniqueID+":"); return(0); }
int start()
{
   MqlRates monthlyRates[]; 
   MqlDateTime time; time.year  = TimeYear(TimeCurrent())-1;
                     time.mon  = 1;
                     time.day  = 1;
                     time.hour = 0;
                     time.min  = 0;
                     time.sec  = 0;
    datetime startTime = StructToTime(time); time.mon =12;
    datetime endTime   = StructToTime(time);
         int months    = CopyRates(NULL,PERIOD_MN1,startTime,endTime,monthlyRates);
         if (months<1) return(0);

   //
   //
   //
   //
   //

      double high  = monthlyRates[0].high;
      double low   = monthlyRates[0].low;
      double close = monthlyRates[months-1].close;
         for (int i=1; i<months; i++)
         {
            high  = MathMax(monthlyRates[i].high,high);
            low   = MathMin(monthlyRates[i].low ,low);
         }
    
      double P=(high+low+close)/3;
      double R1 = (2*P)-low;
      double S1 = (2*P)-high;
      double R2 = P + (R1-S1);
      double S2 = P - (R1-S1);
      double R3 = high+2*(P-low);
      double S3 = low-2*(high-P); 
    
      double MR1=(P+R1)/2;
      double MR2=(R1+R2)/2;
      double MR3=(R2+R3)/2;
      double MS1=(P+S1)/2;
      double MS2=(S1+S2)/2;
      double MS3=(S2+S3)/2;
        
      CreateLine("Yearly_Pivot_P" ,"Pivot:",P ,P_color,LineStyle,LineWidth);
      CreateLine("Yearly_Pivot_R1","R1:"   ,R1,R_color,LineStyle,LineWidth);
      CreateLine("Yearly_Pivot_R2","R2:"   ,R2,R_color,LineStyle,LineWidth);
      CreateLine("Yearly_Pivot_R3","R3:"   ,R3,R_color,LineStyle,LineWidth);
      CreateLine("Yearly_Pivot_S1","S1:"   ,S1,S_color,LineStyle,LineWidth);
      CreateLine("Yearly_Pivot_S2","S2:"   ,S2,S_color,LineStyle,LineWidth);
      CreateLine("Yearly_Pivot_S3","S3:"   ,S3,S_color,LineStyle,LineWidth);
      if(ShowMidPivots==true)
      {
         CreateLine("Yearly_Pivot_MR1","MR1:",MR1,MR_color,MidLineStyle,MidLineWidth);
         CreateLine("Yearly_Pivot_MR2","MR2:",MR2,MR_color,MidLineStyle,MidLineWidth);
         CreateLine("Yearly_Pivot_MR3","MR3:",MR3,MR_color,MidLineStyle,MidLineWidth);
         CreateLine("Yearly_Pivot_MS1","SR1:",MS1,MS_color,MidLineStyle,MidLineWidth);
         CreateLine("Yearly_Pivot_MS2","SR2:",MS2,MS_color,MidLineStyle,MidLineWidth);
         CreateLine("Yearly_Pivot_MS3","SR3:",MS3,MS_color,MidLineStyle,MidLineWidth);
      }
   return(0);
}

//
//
//
//
//

void CreateLine(string name, string text, double _price, color _color, int _style, int _width)
{
   name = UniqueID+":"+name;
   ObjectCreate(name, OBJ_HLINE, 0, 0, 0);
      ObjectSet(name, OBJPROP_COLOR,  _color);
      ObjectSet(name, OBJPROP_PRICE1, _price);
      ObjectSet(name, OBJPROP_STYLE,  _style);
      ObjectSet(name, OBJPROP_WIDTH,  _width);
      ObjectSet(name, OBJPROP_BACK,   ShowInBack);
   name = name+":l";      
   ObjectCreate(name, OBJ_TEXT, 0, 0, 0);
      ObjectSet(name, OBJPROP_COLOR,  _color);
      ObjectSet(name, OBJPROP_TIME1,  Time[0]);
      ObjectSet(name, OBJPROP_PRICE1, _price);
      ObjectSet(name, OBJPROP_BACK,   ShowInBack);
      ObjectSetText(name,text+DoubleToStr(_price,Digits));
}

Re: Volatility Indicators for MT4

Posted: Thu Jan 27, 2022 1:14 pm
by ramon

Re: Volatility Indicators for MT4

Posted: Sat Jan 29, 2022 5:28 pm
by talaate
mrtools wrote: Thu Dec 23, 2021 3:04 pm Try it out.
Image
Hi mrtools
regards
would you add alerts to this onw, it looks very interesting
Thanks
download/file.php?id=3405422