FOREX MT4 INDICATORS DOWNLOAD
  • Donate to us
  • MT4 INDICATORS A
  • MT4 INDICATORS B
  • MT4 INDICATORS C
  • MT4 INDICATORS D
  • MT4 INDICATORS E
  • MT4 INDICATORS F
  • MT4 INDICATORS G
  • MT4 INDICATORS H
  • MT4 INDICATORS I
  • MT4 INDICATORS J
  • MT4 INDICATORS K
  • MT4 INDICATORS L
  • MT4 INDICATORS M
  • MT4 INDICATORS N
  • MT4 INDICATORS O
  • MT4 INDICATORS P
  • MT4 INDICATORS Q
  • MT4 INDICATORS R
  • MT4 INDICATORS S
  • MT4 INDICATORS T
  • MT4 INDICATORS U
  • MT4 INDICATORS V
  • MT4 INDICATORS W
  • MT4 INDICATORS X
  • MT4 INDICATORS Y
  • MT4 INDICATORS Z
  • MT4 INDICATORS NUM
  • MT4 INDICATORS SIGN

xma.mq4

xma.mq4 FOREX MetaTrader4 Indicators Download

xma.mq4 download link will appear after 10 seconds.


Icon

xma.mq4

1 file(s) 2.13 KB
Download


xma.mq4 Programming source code.



#property indicator_chart_window
#property indicator_buffers 4
#property indicator_color1 Yellow
#property indicator_color2 Blue
#property indicator_color3 Red
#property indicator_color4 Yellow

extern double  porog=1.0;
//---- buffers
double Signal[],up[],dn[],fl[];
//+------------------------------------------------------------------+
void init()
  {
   SetIndexStyle(0,DRAW_LINE);
   SetIndexDrawBegin(0,0);
   SetIndexBuffer(0,Signal);

   SetIndexStyle(1,DRAW_LINE);
   SetIndexDrawBegin(1,0);
   SetIndexBuffer(1,up);

   SetIndexStyle(2,DRAW_LINE);
   SetIndexDrawBegin(2,0);
   SetIndexBuffer(2,dn);

   SetIndexStyle(3,DRAW_LINE);
   SetIndexDrawBegin(3,0);
   SetIndexBuffer(3,fl);

   IndicatorShortName("Xma("+porog+")");
   return;
  }
//+------------------------------------------------------------------+
int start()
  {
   int limit;
   double tmp;
   int counted_bars=IndicatorCounted();
   int i;
   if(counted_bars<0) return(-1);
   if(counted_bars>0) counted_bars--;
   limit=Bars-counted_bars;
   for(i=limit;i>=0;i--)
     {
      if(i==Bars-1) Signal[i]=Close[i+1]; else Signal[i]=Signal[i];
      tmp=0;
      if(Signal[i]>0)
         tmp=(Close[i+1]/Signal[i]-1.0)*1000.0;
      if(MathAbs(tmp)>porog)
        {
         double Znak=1.0; if(tmp<0) Znak=-1.0;
         Signal[i]=Close[i+1]/(1.0+Znak*porog/1000.0);
         if(Signal[i]>Signal[i+1]) up[i]=Signal[i];
         if(Signal[i]
YangTrader.ex4 XO ATR AA7 MTF TT.mq4

Related Posts

METATRADER4X

XPMA CBA MTF TT.mq4

METATRADER4X

xpMA.mq4

METATRADER4X

XO ATR AA7 MTF TT.mq4

METATRADER4X

xb4d.mq4

How to use this site.
  1. Subscribe YouTube
  2. Subscribe Facebook
  3. Subscribe Instagram
  4. Download MT4
  5. Watch Youtube Video
  6. Downliad Indicator and Try Trading
  7. Donate to us for update

Recent News

  • i-g-cci2.mq4
  • haosvisual_27jk8.mq4
  • HamaSystem separate window.ex4
  • HalfTrend 2.mq4
  • Gitalovsa.mq4

Donate