Hey there, fellow traders! Today, we're diving into the fascinating world of Astro Indicators for MetaTrader 5. These tools can add an interesting layer to your trading strategy, so let's break down what they are and how to use them effectively.
Meet the Astro Indicators
There are three key Astro Indicators that you should get familiar with:
- PlanetCycles: This indicator shows the angle (aspect) between two selected planets, giving you insights into potential market shifts.
- Declination: This one displays the declination of all planets, helping you track their positions.
- BodyPosition: This indicator reveals the position of all planets, crucial for your analysis.
When using these indicators, make sure to select the Flag geocentric option in the Indicator Parameter panel. If you don’t, you’ll be viewing a heliocentric perspective instead.
Keep in mind that all indicator values are measured in degrees.

Special Requirements
Astro Library: To get started, you’ll need a special external DLL called swedll32.dll for Astro computation. You can find it in the swedll32.zip or download the original DLL from the link provided.
Installation Steps
- Download all necessary files.
- Extract the swedll32.dll file into the MQL5/Libraries folder from the swedll32.zip or obtain the original DLL (as mentioned above).
- Compile the indicators: planetcycles.mq5, declination.mq5, and bodyposition.mq5.
Interpreting the Indicators
With the PlanetCycles indicator, you can analyze the Sun and Moon cycles. Look for turning points in both the indicator and the price. The value of 0 degrees indicates conjunction (new moon), while 180 degrees signifies opposition (full moon).
If you’re looking for more inspiration, check out this Google search on astro-based trading systems.
Integrating Astro Indicators into Your Trading Systems
The easiest way to integrate these indicators is through the iCustom() function. However, a more robust method is to include the swisseph.mqh file in your Expert Advisor (EA) and utilize the Calculate() function. Check the indicator source to see how to implement this!
The return value a[0] gives you the body position in degrees, while a[1] provides the declination in degrees. For additional body values, the return variable is defined as double a[6].
For more help, don’t forget to check the resources available at ftp://ftp.astro.com/pub/swisseph.
Related Posts
- Unlock Trading Insights with Volume Profile + Range v6.0 for MetaTrader 5
- Discover AllAverages v4.9: The Essential Indicator for MetaTrader 4
- Unlocking the iStochasticOfOsc Indicator for MetaTrader 5: A Trader's Guide
- Mastering the Open Range Breakout Indicator for MetaTrader 5
- Maximize Your Trading Potential with the ColorX2MA_Alert Indicator for MetaTrader 5