OPEN-SOURCE SCRIPT
CTR Weekly MA Trading

I built this simple pine script to help me trade on the lower timeframe (1d) while still showing my key weekly moving averages to help me trade with the macro trend.
Rules for trading...
Steps for taking a Short position:
1. Wait for all 3 weekly moving averages to be in alignment (8EMA<21SMA<50SMA). When these aligned the candles will change to bright red, meaning bearish.
2. Wait for a pullback to the 1 Day 21SMA. When a candle touches the 21SMA, that candle will change color to white. This will be your alert to get ready to enter into a short.
3. On the next candle you can then take a short position as long as that candle is below the 21SMA, if not, wait for the net daily candle to close. If that is below the 21SMA you can then enter into a short on the opening of the next daily candle.
I built this to trade the Bear Market but this same method can also work in a Bull Market but just do the opposite.
Rules for trading...
Steps for taking a Short position:
1. Wait for all 3 weekly moving averages to be in alignment (8EMA<21SMA<50SMA). When these aligned the candles will change to bright red, meaning bearish.
2. Wait for a pullback to the 1 Day 21SMA. When a candle touches the 21SMA, that candle will change color to white. This will be your alert to get ready to enter into a short.
3. On the next candle you can then take a short position as long as that candle is below the 21SMA, if not, wait for the net daily candle to close. If that is below the 21SMA you can then enter into a short on the opening of the next daily candle.
I built this to trade the Bear Market but this same method can also work in a Bull Market but just do the opposite.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.