Lunar Cycles Projected Forward; Moon phases into futureProjecting Lunar Cycles/ half-cycles forward in time
User sets the recent Full moon in history to anchor from; Indicator projects 1/2 cycles forward in time
//inputs//
-input number of full lunar cycles to project forward from input full moon time
-choose color/opacity/border color/text display
مراحل القمر
Moon Phases Strategy 2015 till 2021Moon Phases Strategy
Thank you to Author: Dustin Drummond for allowing me to use his Moon Phase strategy code and modify it. I wanted to test out the accuracy of the moon phase. And I could not have done it without his code
It was created to test the Moon Phase theory compared to just a buy and hold strategy.
It buys on full Moon and sells on the new moon. I also have added the ability to add stop loss and target profit if anyone wants to tinker with it. This strategy uses hard-coded dates from 1/1/2015 until 12/31/2021 only! Any dates outside of that range need to be added manually in the code or it will not work.
I may or may not update this so please don't be upset if it stops working after 12/31/2021.
Feel free to use any part of this code and please let me know if you can improve on this strategy.
Result:
50% accurate using data from 2015 till today.
I find a buy and hold strategy to have outperformed the moon phase.
It does have its value. It might be used as a confluence with other established indicators.
[astropark] Moon Phases [alarms]Dear Followers,
today I'm glad to present you an indicator which calculates Moon Phases and let's you set an alert over it.
This is a public free indicator based on the public one by @paaax:
I added my usual alert system logic, plus some more customization inputs for easy coloring.
The lower the timeframe you use it and set your alerts on, the more precise the alert value you get.
Here below the script for backtesting it:
Enjoy!
-- astropark
[astropark] Moon Phases [strategy]Dear Followers,
today I'm glad to present you an indicator which calculates Moon Phases and let's you backtest the simplest strategy over it: buy/sell on full moon and do the opposite on new moon.
This is a public free indicator based on the public one by @paaax:
I added my usual backtesting logic, plus some more customization inputs for easy coloring.
The lower the timeframe you backtest on, the more backtesting data are effective.
Enjoy!
-- astropark
Simple Moon Phases StrategySimple Moon Phases Strategy
This strategy is very basic and needs some filters to improve results. It was created to test the Moon Phase theory compared to just a buy and hold strategy and it did not beat the buy and hold. However, if you flip the entry and exit signals to the opposite signals it performs a lot worse, so there might be some validity to the Moon Phases having an effect on the markets. I might try to add some filters and increase hold times with trailing stops in a separate version.
WARNING: This strategy uses hard-coded dates from 1/1/2015 until 12/31/2021 only! Any dates outside of that range need to be added manually in the code or it will not work. I may or may not update this so please don't be upset if it stops working after 12/31/2021.
Feel free to use any part of this code and please let me know if you can improve on this strategy.