jasondhadley

40/3 Swing Indicator

jasondhadley מעודכן   
This indicator is developed using the basic rules of 40/3 swing trading.
Rule #1 - New high for the last 40 days
Rule #2 - 3 Consecutive days of the close being lower than the previous day
Rule #3 - 4th days closing price is greater than the previous day
When all 3 Rules are met, it will create the Aqua colored label indicating that the 40/3 criteria is met and a reversal is possible.
Rule #4 - 4th days closing price is within the top 25% of that days high/low range.
When Rule #4 is also met, it creates the Red label indicating that there is a very strong chance the reversal has begun.
הערות שחרור:
Added the ability to change the pullback days. It is defaulted to 3.
הערות שחרור:
Cleaned up script to make it easier to read and faster.
Created a new function to allow consecutive counting based on criteria passed in, useful for many projects!
סקריפט מוגן
סקריפט זה פורסם במקור סגור ותוכל להשתמש בו באופן חופשי. אתה יכול להגדירו כמועדף כדי להשתמש בו בגרף. אינך יכול להציג או לשנות את קוד המקור שלו.
כתב ויתור

המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.

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