OPEN-SOURCE SCRIPT

Moon Phases + Daily, Weekly, Monthly, Quarterly & Yearly Breaks

█ Moon Phases

From LuxAlgo description.

Trading moon phases has become quite popular among traders, believing that there exists a relationship between moon phases and market movements.
This strategy is based on an estimate of moon phases with the possibility to use different methods to determine long/short positions based on moon phases.

Note that we assume moon phases are perfectly periodic with a cycle of 29.530588853 days (which is not realistically the case), as such there exists a difference between the detected moon phases by the strategy and the ones you would see. This difference becomes less important when using higher timeframes.

█ Daily, Weekly, Monthly, Quarterly & Yearly Breaks

This indicator marks the start of the selected periods with a vertical line that help with identifying cycles.
It allows to enable or disable independently the daily, weekly, monthly, quarterly and yearly session breaks.


This script is based on LuxAlgo and kaushi / icostan scripts.

Moon Phases Strategy [LUX]
Moon Phases Strategy [LuxAlgo]


Year/Quarter/Month/Week/Day breaks
Year/Quarter/Month/Week/Day breaks


Month/week breaks
Month/week breaks
CyclesDAYlunarmonthmoonPivot points and levelsquarterseparatorTrend Analysisverticalweekyear

Script de código aberto

No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Quer usar esse script no gráfico?

Aviso legal