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

סקריפט קוד פתוח

ברוח TradingView אמיתית, מחבר הסקריפט הזה פרסם אותו בקוד פתוח, כך שסוחרים יוכלו להבין ולאמת אותו. כל הכבוד למחבר! אתה יכול להשתמש בו בחינם, אבל השימוש החוזר בקוד זה בפרסום כפוף לכללי הבית. אתה יכול להכניס אותו למועדפים כדי להשתמש בו בגרף.

רוצה להשתמש בסקריפ זה בגרף?

כתב ויתור