Fan sayfamıza katılın
Öyleyse bir link gönderin -
başkalarının da faydalanmasını sağlayın
- Görüntülemeler:
- 31563
- Derecelendirme:
- Yayınlandı:
- 2015.05.29 10:02
- Güncellendi:
- 2016.11.22 07:32
-
Bu koda dayalı bir robota veya göstergeye mi ihtiyacınız var? Freelance üzerinden sipariş edin Freelance'e git
Background:
I was impressed by physics calculation with subject named "Linear Momentum" that can be found on Mr. Achmad Hidayat’s blog with title "Konsep Momentum Linier dan Interpretrasinya pada Forex" and challenged to create a simple indicator based on that article. Unfortunately, I wasn’t able to read his article clearly, so I was looking for another reference for better sense. Then I felt grateful after I found a very clear article about Linear Momentum written by Mrs. Sarah Friedl that can be found at http://study.com/academy/lesson/linear-momentum-definition-equation-and-examples.html.
Linear Momentum:
Momentum is strength of an object that moves to different place — this is my own definition. Momentum can be calculated with following equation: momentum = mass x velocity. You should already know that velocity is speed with direction. Shortest equation will be: p=mv where p is momentum, m is mass (in kg) and v is velocity (in m/s).
Linear Momentum Implementation in MetaTrader Custom Indicator:
The following will explain why it’s called Linear Momentum in Forex:
- p = momentum;
- m = mass, converted into volume of trade or tick; I would prefer to use tick volume because it’s more easy to find tick information than volume of all lots traded around the world;
- v = velocity, it’s a value taken from pips movement divided by timeframe (point/seconds, originally in m/s).
![Convert time to double and vice versa](https://c.mql5.com/i/code/library.png)
Library to convert datetime to double and vice versa.
![Pivot Point with adjustable closing time](https://c.mql5.com/i/code/indicator.png)
Pivot Point (PP) indicator for use on timeframes < D1 with adjustable preceding day close time, elimination of sunday bars, optional display of weekly and monthly PP, preview of tomorrows' PP and current days' midpoints.
![PairsIndex](https://c.mql5.com/i/code/indicator.png)
PairsIndex indicator shows the price index of 7 currencies dealing with 7 currency pairs.
![PrimeLevelsBlack](https://c.mql5.com/i/code/indicator.png)
This indicator will place up to 6 lines, at prime levels of your choosing, in a successive pattern on the chart.