Astro Indicators Indicator For MT5
Table Of Contents:
- Astro Indicators Indicator For MT5
- Installing the Astro Indicators Indicator For MT5
- Parameters of the Astro Indicators Indicator For MT5
- Buffers of the Astro Indicators Indicator For MT5
- Main Parts Of The Code
The Astro Indicators Indicator For MT5 tries to explain the market moves with the sun and moon cycle. These cycles have impact on the people so this indicator expect to reflect the cycles in the price moves.
Installing the Astro Indicators Indicator For MT5
After you downloaded the indicator via the form above you need to unzip the zip-file. Then you need to copy the file bodyposition.mq5 into the folder MQL5\Indicators of your MT5 installation. After that please restart MT5 and then you will be able to see the indicator in the list of indicators.
Parameters of the Astro Indicators Indicator For MT5
The Astro Indicators Indicator For MT5 has 1 parameters to configure.
input bool Geocentric=true; // geocentric view
Buffers of the Astro Indicators Indicator For MT5
The Astro Indicators Indicator For MT5 provides 9 buffers.
SetIndexBuffer(0,Moon,INDICATOR_DATA); SetIndexBuffer(1,Mercury,INDICATOR_DATA); SetIndexBuffer(2,Venus,INDICATOR_DATA); SetIndexBuffer(3,Mars,INDICATOR_DATA); SetIndexBuffer(4,Jupiter,INDICATOR_DATA); SetIndexBuffer(5,Saturn,INDICATOR_DATA); SetIndexBuffer(6,Uranus,INDICATOR_DATA); SetIndexBuffer(7,Neptune,INDICATOR_DATA); SetIndexBuffer(8,Pluto,INDICATOR_DATA);
Main Parts Of The Code
int OnCalculate(const int rates_total, const int prev_calculated, const datetime &time[], const double &open[], const double &high[], const double &low[], const double &close[], const long &tick_volume[], const long &volume[], const int &spread[]) { double a[6]; for( int i=prev_calculated; i lt rates_total && !IsStopped(); i++) { calculate(time[i],SE_MOON,a,flag); Moon[i]=a[0]; calculate(time[i],SE_MERCURY,a,flag); Mercury[i]=a[0]; calculate(time[i],SE_VENUS,a,flag); Venus[i]=a[0]; calculate(time[i],SE_MARS,a,flag); Mars[i]=a[0]; calculate(time[i],SE_JUPITER,a,flag); Jupiter[i]=a[0]; calculate(time[i],SE_SATURN,a,flag); Saturn[i]=a[0]; calculate(time[i],SE_URANUS,a,flag); Uranus[i]=a[0]; calculate(time[i],SE_NEPTUNE,a,flag); Neptune[i]=a[0]; calculate(time[i],SE_PLUTO,a,flag); Pluto[i]=a[0]; } return(rates_total); }