Sign Up

Have an account? Sign In Now

Sign In

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask question.

Forgot Password?

Need An Account, Sign Up Here
Sign InSign Up

First independent community of traders

First independent community of traders Logo First independent community of traders Logo

First independent community of traders Navigation

  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • Buy Theme
  • Home
  • About Us
  • Blog
  • Contact Us
Home/ Questions/Q 313
In Process
capitalplus
capitalplus

capitalplus

  • 2 Questions
  • 7 Answers
  • 0 Best Answers
  • 20 Points
View Profile
  • 0
capitalplus
Asked: December 18, 20202020-12-18T06:49:34+00:00 2020-12-18T06:49:34+00:00

EMA with a different formula

  • 0

Please tell me the formula of the EMA indicator, or the indicator itself. 

The bottom line is that instead of summing the unit value (with the corresponding coefficients), sum the values of the EMA of different periods. 

For example, EMA1280, EMA320, EMA80, EMA20, EMA5
with the same increasing coefficients as the original. The highest is at the EMA 5, below the EMA 20, and so on. If the original meaning is that the last value of the bar is more important than the previous ones, because it reflects the latest prices, then here the last trend is more important than the previous trends. But, the previous ones with deletion increase in size and indicate a more general trend that will be taken into account in the formula.

  • 15 15 Answers
  • 0 Followers
  • 0
Answer
Share
  • Facebook

    15 Answers

    • Voted
    • Oldest
    • Recent
    1. bar

      bar

      • 1 Question
      • 2 Answers
      • 0 Best Answers
      • 24 Points
      View Profile
      bar
      2020-12-18T07:04:14+00:00Added an answer on December 18, 2020 at 7:04 am

      Valeriy Yastremskiy:
      Well yes. on the averages of the mosh to blow it up is exquisite)))) 

      All the same, the urdala_ma indicator is the best of the “cars”!

      • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    2. nektomk

      nektomk

      • 2 Questions
      • 37 Answers
      • 0 Best Answers
      • 90 Points
      View Profile
      nektomk
      2020-12-18T06:50:58+00:00Added an answer on December 18, 2020 at 6:50 am

      Valeriy Yastremskiy:

      urdala_ma

      there are also ordinary cars. in the first post thought, take the original ma formulas with closets, add up on small different periods and see what happens.

      ma2= (a1 + a2)/2

      ma3= (a1+a2+a3)/3 

      ma2+ma3 = a1/2 + a2/2 + a1/3 + a2/3 + a3/3 = 5 * a1/6 + 5 * a2/6 + a3/3

      can be divided into 2. ema coefficients are even more complicated, but the essence is the same: the near coefficients will increase more, the far ones less, and the last ones will add up without changes. 

      Ma2 Ma3 max is just a coefficient vector. with scales. You can add them (vectors) at once and not blow up the terminal’s brain with strange averaging and counting of individual ma-shek

      well there is no fish there 🙂 and within will be..guess what ? 🙂

      • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    3. qstr

      qstr

      • 0 Questions
      • 1 Answer
      • 0 Best Answers
      • 22 Points
      View Profile
      qstr
      2020-12-18T07:04:14+00:00Added an answer on December 18, 2020 at 7:04 am

      urdala_ma

      there are also ordinary cars. in the first post thought, take the original ma formulas with closets, add up on small different periods and see what happens.

      ma2= (a1 + a2)/2

      ma3= (a1+a2+a3)/3 

      ma2+ma3 = a1/2 + a2/2 + a1/3 + a2/3 + a3/3 = 5 * a1/6 + 5 * a2/6 + a3/3

      can be divided into 2. ema coefficients are even more complicated, but the essence is the same: the near coefficients will increase more, the far ones less, and the last ones will add up without changes. 

      • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    4. bar

      bar

      • 1 Question
      • 2 Answers
      • 0 Best Answers
      • 24 Points
      View Profile
      bar
      2020-12-18T07:04:14+00:00Added an answer on December 18, 2020 at 7:04 am

      Ivan Butko:
      Please tell me the formula of the EMA indicator, or the indicator itself. 

      The bottom line is that instead of summing the unit value (with the corresponding coefficients), sum the values of the EMA of different periods. 

      For example, EMA1280, EMA320, EMA80, EMA20, EMA5
      with the same increasing coefficients as the original. The highest is at the EMA 5, below the EMA 20, and so on. If the original meaning is that the last value of the bar is more important than the previous ones, because it reflects the latest prices, then here the last trend is more important than the previous trends. But, the previous ones with deletion increase in size and indicate a more general trend that will be taken into account in the formula. 

      Sergey Rashevsky has a good indicator urdala_ma, it is much more effective than any EMA and works quite differently.

      • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    5. avatara

      avatara

      • 0 Questions
      • 2 Answers
      • 0 Best Answers
      • 24 Points
      View Profile
      avatara
      2020-12-18T07:04:14+00:00Added an answer on December 18, 2020 at 7:04 am

      …:

      • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    6. seriousracoon

      seriousracoon

      • 0 Questions
      • 4 Answers
      • 0 Best Answers
      • 28 Points
      View Profile
      seriousracoon
      2020-12-18T07:04:14+00:00Added an answer on December 18, 2020 at 7:04 am

      Ivan Butko:
      Please tell me the formula of the EMA indicator, or the indicator itself. 

      The bottom line is that instead of summing the unit value (with the corresponding coefficients), sum the values of the EMA of different periods. 

      For example, EMA1280, EMA320, EMA80, EMA20, EMA5
      with the same increasing coefficients as the original. The highest is at the EMA 5, below the EMA 20, and so on. If the original meaning is that the last value of the bar is more important than the previous ones, because it reflects the latest prices, then here the last trend is more important than the previous trends. But, the previous ones with deletion increase in size and indicate a more general trend that will be taken into account in the formula. 

      Take the values of the machines, multiply each by the weight, sum and divide by the sum of the weights. What’s so complicated?

      • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    7. arteinvolo

      arteinvolo

      • 0 Questions
      • 5 Answers
      • 0 Best Answers
      • 30 Points
      View Profile
      arteinvolo
      2020-12-18T07:04:14+00:00Added an answer on December 18, 2020 at 7:04 am

      Ivan Butko:
      Please tell me the formula of the EMA indicator, or the indicator itself. 

      The bottom line is that instead of summing the unit value (with the corresponding coefficients), sum the values of the EMA of different periods. 

      For example, EMA1280, EMA320, EMA80, EMA20, EMA5
      with the same increasing coefficients as the original. The highest is at the EMA 5, below the EMA 20, and so on. If the original meaning is that the last value of the bar is more important than the previous ones, because it reflects the latest prices, then here the last trend is more important than the previous trends. But, the previous ones with deletion increase in size and indicate a more general trend that will be taken into account in the formula. 

      • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    8. capitalplus

      capitalplus

      • 2 Questions
      • 7 Answers
      • 0 Best Answers
      • 20 Points
      View Profile
      capitalplus
      2020-12-18T06:50:20+00:00Added an answer on December 18, 2020 at 6:50 am

      Maxim Kuznetsov:

      there will be something like an ema. Calculate the matrix of weights, and it will be. well, “lag behind” the price for about 60 bar.

      the same old price, but for some reason crookedly interpolated. With large periods, sorry, everything is known about the past thoroughly – you can do better, the data is all there.

      You’re right. I’m sure this is another perversion with MA. I’m just curious to see her. I initially thought that when summing up the average value will be obtained, which on the chart will look like the same SMA, only with an averaged period (MA10+MA20) 2=MA15. I mean, I’ll see MA15. But, a line appears on the chart, which behaves quite differently and differs from MA15. 

      And, theoretically, this line on the chart will take into account current information about the latest prices for short periods, as well as the global trend, while not being sluggish. If such a non-DOM doodle carries up-to-date information, then it can certainly be used in some other way (maybe as a filter). i just want to twist it in my hands. 

      • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    9. filpan

      filpan

      • 0 Questions
      • 2 Answers
      • 0 Best Answers
      • 24 Points
      View Profile
      filpan
      2020-12-18T07:04:14+00:00Added an answer on December 18, 2020 at 7:04 am

      Ivan Butko:

      It’s a little complicated)

      Let’s start with a simple one: let’s say on the SMA chart with periods: 1, 2, 4, 8, 16, 32, 64, 128, 256. each of them leaves a trace on the chart in the form of a line. It is necessary to sum up the values of these lines on each candle and display the result on the chart. That is, you will get the same mashka, only it will be calculated based on the values of several mashkas (and not the values of prices on each bar, as in the original). 

      In my opinion, your suggestion makes sense, when summing up taking into account the lag of each SMA, and keeping in mind:

      forum on trading, automated trading systems and testing of trading strategies

      Difference calculus, examples.

      Aleksey Panfilov, 2020.06.22 21:18

      I thought I should fix it in this branch. ))

      forum on trading, automated trading systems and testing of trading strategies

      Predicting the future using Fourier Transforms

      Dmitrii, 2008.04.25 15:47

      Oh, this Fourier…. And you know that the 0th harmonic is equal to the simple average (SMA) for the same decomposition period (T).

      forum on trading, automated trading systems and testing of trading strategies

      Predicting the future using Fourier Transforms

      keeper, 2008.04.25 15:58

      perfectly normal, it’s expected

      It seems to correlate with:

      forum on trading, automated trading systems and testing of trading strategies

      Difference calculus, examples.

      Aleksey Panfilov, 2018.01.31 09:38

      SMA from SMA is, in my opinion, “not in the eyebrow, but in the eye” and by the way about Fourier. maybe we’ll get there again.

      P/S 01.02.2018 I think there is also a difference, try to repeat your Banzai.mq4 indicator on this line.

      SMA by nature is a saw only very small, so when taking the second difference, I assume a sawtooth line of the indicator.

      Only this topic will not be easier than the topic from the previous post. i’m not sure i’ve quite figured it out myself. And in the subject of the previous message, everything is just transparent.

      • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    10. nektomk

      nektomk

      • 2 Questions
      • 37 Answers
      • 0 Best Answers
      • 90 Points
      View Profile
      nektomk
      2020-12-18T06:50:09+00:00Added an answer on December 18, 2020 at 6:50 am

      Ivan Butko:

      It’s a little complicated)

      Let’s start with a simple one: let’s say on the SMA chart with periods: 1, 2, 4, 8, 16, 32, 64, 128, 256. each of them leaves a trace on the chart in the form of a line. It is necessary to sum up the values of these lines on each candle and display the result on the chart. That is, you will get the same mashka, only it will be calculated based on the values of several mashkas (and not the values of prices on each bar, as in the original). 

      there will be something like an ema. Calculate the matrix of weights, and it will be. well, “lag behind” the price for about 60 bar.

      the same old price, but for some reason crookedly interpolated. With large periods, sorry, everything is known about the past thoroughly – you can do better, the data is all there.

      • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    11. capitalplus

      capitalplus

      • 2 Questions
      • 7 Answers
      • 0 Best Answers
      • 20 Points
      View Profile
      capitalplus
      2020-12-18T06:50:01+00:00Added an answer on December 18, 2020 at 6:50 am

      khorosh:

      i strongly disagree. here today on the jew made 2 transactions. ma with a period of 200 and its levels are used for entry and exit.

      Nicely

      • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    12. khorosh

      khorosh

      • 0 Questions
      • 11 Answers
      • 0 Best Answers
      • 42 Points
      View Profile
      khorosh
      2020-12-18T07:04:14+00:00Added an answer on December 18, 2020 at 7:04 am
      EMA with a different formula

      Maxim Kuznetsov:

      do you even know how the EMA is considered, what it means, how it is used (in addition to forex nonsense) ?

      it does not have to be considered as weighted-the incremental calculation is even faster than the sma.

      for large periods, the (suddenly) monotonically growing weighted averages are interchangeable. 

      PS/ didn’t mean to offend, maybe harsh..but, ema more than 100 is a complete garbage, only for the joy of the eyes (it is visually smooth).

      i strongly disagree. here today on the jew made 2 transactions. ma with a period of 200 and its levels are used for entry and exit.

      • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    13. filpan

      filpan

      • 0 Questions
      • 2 Answers
      • 0 Best Answers
      • 24 Points
      View Profile
      filpan
      2020-12-18T07:04:15+00:00Added an answer on December 18, 2020 at 7:04 am
      EMA with a different formula

      Ivan Butko:

      I am curious that the indicator should take into account the average price not for one large period (where, as you say, the price will be monotonically growing), but for several different ones, but all of them would end at the current price. And the weight would be distributed from the smallest period to the largest in descending order. You should get an EMA that will move more actively, but at the same time take into account the latest trends.

      Programmers and traders as soon as not perverted with mashki, but I can not find my own version.

      If suddenly, you asked about it.

      forum on trading, automated trading systems and testing of trading strategies

      On the lag of moving averages

      Aleksey Panfilov, 2018.02.21 04:35

      I like this image of the EMA. In my opinion, it is very clear and simple. We see the nature of the construction and, accordingly, the delay.

      The lever of Archimedes, playable in the distance gain in weight.

      forum on trading, automated trading systems and testing of trading strategies

      Difference calculus, examples.

      Aleksey Panfilov, 2018.01.15 08:07

      To begin a series of comparisons, let’s go back to the well-known one.


            a1_Buffer[i] =iMA(NULL,0,145,0,MODE_EMA,PRICE_OPEN,i);// a1_Buffer[i]=  ((open[i] - Znach)    +5061600*a1_Buffer[i+1 ]-7489800   *a1_Buffer[i+2 ]+4926624*a1_Buffer[i+3 ]-1215450*a1_Buffer[i+4 ])/1282975;

            a5_Buffer[i+92]=a1_Buffer[i];   if(i<=1) { for(z=92-1;z>=0;z--){        a5_Buffer[i+0+z]=  2*a5_Buffer[i+1+z]  -  1*a5_Buffer[i+2+z]  ;  }}

            a2_Buffer[i]= ( (open[i] - Znach)  + 72   *a2_Buffer[i+1 ] )/73;
            
            a6_Buffer[i+92]=a2_Buffer[i];   if(i<=1) { for(z=92-1;z>=0;z--){         a6_Buffer[i+0+z]=  2*a6_Buffer[i+1+z] -  1*a6_Buffer[i+2+z]  ;  }}

      the first line a1_buffer is built as a classic ema with a period of 145 (72*2+1), based on the opening points and shifted 72 steps to the left. A wide gray line in the drawing.

      The second line a5_buffer shows extrapolation using a straight line over the last two points of the first line.  the gray line is thinner in the drawing.

      the third line a2_buffer is constructed directly from the difference equation of the first degree. The blue line in the drawing.

      1*Y_(-1) –2*Y_0+1*Y_ (+1)=0 First degree difference equation for equidistant points.

      2*Y_(-1) –3*Y_0+1*Y_ (+2)=0 Difference equation of the first degree for the shoulder in 2 intervals.

      72*y_(-1) –73*y_0+1*y_ (+72)=0 first degree difference equation for the shoulder in 72 intervals.

      This is essentially an equationArchimedes ‘ lever of the first degree.

      The fourth line a6_buffer shows extrapolation using a straight line over the last two points of the third line.  The red line in the drawing that is based on the opening point.

      We see the complete identity of the two constructions. I gave an example so as not to show the conversion of the code and the form of the classical EMA formula to the difference form.

      • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    14. capitalplus

      capitalplus

      • 2 Questions
      • 7 Answers
      • 0 Best Answers
      • 20 Points
      View Profile
      capitalplus
      2020-12-18T06:49:42+00:00Added an answer on December 18, 2020 at 6:49 am

      Maxim Kuznetsov:

      do you even know how the EMA is considered, what it means, how it is used (in addition to forex nonsense) ?

      it does not have to be considered as weighted-the incremental calculation is even faster than the sma.

      for large periods, the (suddenly) monotonically growing weighted averages are interchangeable. 

      PS/ didn’t mean to offend, maybe harsh..But, ema more than 100 is a complete garbage, only for the joy of the eyes (it is visually smooth).

      I am curious that the indicator should take into account the average price not for one large period (where, as you say, the price will be monotonically growing), but for several different ones, but all of them would end at the current price. And the weight would be distributed from the smallest period to the largest in descending order. You should get an EMA that will move more actively, but at the same time take into account the latest trends.

      Programmers and traders as soon as not perverted with mashki, but I can not find my own version.

      • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    15. nektomk

      nektomk

      • 2 Questions
      • 37 Answers
      • 0 Best Answers
      • 90 Points
      View Profile
      nektomk
      2020-12-18T06:49:38+00:00Added an answer on December 18, 2020 at 6:49 am

      Ivan Butko:
      Please tell me the formula of the EMA indicator, or the indicator itself. 

      The bottom line is that instead of summing the unit value (with the corresponding coefficients), sum the values of the EMA of different periods. 

      For example, EMA1280, EMA320, EMA80, EMA20, EMA5
      with the same increasing coefficients as the original. The highest is at the EMA 5, below the EMA 20, and so on. If the original meaning is that the last value of the bar is more important than the previous ones, because it reflects the latest prices, then here the last trend is more important than the previous trends. But, the previous ones with deletion increase in size and indicate a more general trend that will be taken into account in the formula. 

      do you even know how the EMA is considered, what it means, how it is used (in addition to forex nonsense) ?

      it does not have to be considered as weighted-the incremental calculation is even faster than the sma.

      for large periods, the (suddenly) monotonically growing weighted averages are interchangeable. 

      PS/ didn’t mean to offend, maybe harsh..But, ema more than 100 is a complete garbage, only for the joy of the eyes (it is visually smooth).

      • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    Leave an answer

    Leave an answer
    Cancel reply

    Browse

    Sidebar

    Ask A Question

    Stats

    • Questions 504
    • Answers 2k
    • Posts 5
    • Comments 0
    • Best Answers 0
    • Users 681
    • Popular
    • Comments
    • Tags
    • forexcommunity

      Highlighting what’s important about questions & Answers on Discy Community!

      • 0 Comments
    • forexcommunity

      Introducing Keyboard Shortcuts, our first Labs feature

      • 0 Comments
    • forexcommunity

      Defining quality on Discy Engine — what a helpful answer ...

      • 0 Comments
    • forexcommunity

      Organizational and company accounts on Discy Engine the next step

      • 0 Comments
    • forexcommunity

      Hello world!

      • 0 Comments

    Users

    Leonardcig

    Leonardcig

    • 0 Questions
    • 0 Answers
    DennisByday

    DennisByday

    • 0 Questions
    • 0 Answers
    Haroldmeary

    Haroldmeary

    • 0 Questions
    • 0 Answers

    Footer

    First independent community of traders

    About

    An independent community of forex traders. This is where traders communicate. You can ask your questions and you will receive an answer to your question.
    • Terms of Use
    • Privacy Policy
    • Cookie Policy
    • Knowledge Base
    • Support

    © 2021 Forexcommunity.net. All Rights Reserved