TradingView
astropark
2021年7月26日中午12點25分

[astropark] Moon Phases [strategy] 

Bitcoin / TetherUSBinance

描述

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:
tradingview.com/script/awjAcgfl-PX-Moon-Phase/

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

發布通知

little fix in the code
評論
grandmasterkaleem
Its repaints?
astropark
hi @grandmasterkaleem,
no, it doesn't
grandmasterkaleem
@astropark, thanks bro for reply
kurtsmock
@grandmasterkaleem, lol. I don't think repainting would be a big factor in a strategy predicated on moon cycles. hehe
kurtsmock
You got the best comments here ever in the history of comments 😂😂😂
Sprout
I see that your code calculates moon phases vs hard coded.
Since you are familiar the code, would it be easily adaptable to calculate for sunrise and sunset's?
usefulHunter4435
Can you make this into a 1 minute or 2 minute chart?
if you make
After confirming the test, there is a purchase intention
astropark
hi @usefulHunter4435,
it already works on 1m chart
usefulHunter4435
@astropark, but too long
Can you adjust the numbers?
astropark
Hi @usefulHunter4435,
I think I don't understand your question, sorry, I can't make full or new moon comes sooner 😅
更多