This is type of custom screener I searched and made to screen bulk stocks any one can modify it, other may get help out of it. in my code i have made defined 1. uptrend= ema(close,55)> ema(close,144) and ema(close,144)> ema(close,388) and ema(close,388)> ema(close,576) and close>ema(close,388) 2. downtrend = ema(close,55)< ema(close,144) and ema(close,144)< ema(close,388) and ema(close,388)<ema(close,576) and close<ema(close,388) if the indicator is printing DOWNTREND=TRUE or UPTREND=TRUE then the corresponding stock is in currently in that trend out of the stocks listed in the code in one code only 40 (max) stocks can be called. to add more stocks I copied same code and changed the stocks in the code, now you can screen 80 stocks at a time. This code runs on each bar and checks if the stocks is in uptrend or down trend. you can customize this screener according to your requirement. //thanks QuantNomad from where i solved my problem of screening my top stock for custom trend screener //idea and motivation taken from
after adding another code you can screen 80 stocks at a time and so on , below following link is how it will look like
הערות שחרור
added close price when uptrend was true last time.
הערות שחרור
updated better user interface and added only uptrend in it. 40 stock can be screened in this once at a time. thanks to Sri for recommending these changes.
הערות שחרור
New UPDATE: after trading View announced alert() function , now it is possible to set alert for all this screener. Once you set up alert , you will be informed of the new symbol coming in the screener.
הערות שחרור
Added option to choose time frame for the screener, by default it is to the same as the chart.
ברוח TradingView אמיתית, מחבר הסקריפט הזה פרסם אותו בקוד פתוח, כך שסוחרים יוכלו להבין ולאמת אותו. כל הכבוד למחבר! אתה יכול להשתמש בו בחינם, אבל השימוש החוזר בקוד זה בפרסום כפוף לכללי הבית. אתה יכול להכניס אותו למועדפים כדי להשתמש בו בגרף.
Learning to trade and coding my strategies in Pine Script. Passing Prop Firms. DM me for any inquiries.
Buy me coffee at:
paypal : tabrejalam786007@gmail.com
BTC : 15zY6PUsrV55UQvcfaSqk5hJexKZAwhpcK
גם על:
כתב ויתור
המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.