trend Screener downtrend

1668 просмотров
this is in continuation with - previous trend screener i have published, In this code only downtrend screener is there ,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.
you can change or add new symbol in input section.

in my code i have made defined and printed last close price when downtrend was true.
1. 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.
Информация о релизе: 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.
Информация о релизе: Release Notes: Added option to choose time frame for the screener, by default it is to the same as the chart.
Скрипт с открытым кодом

В истинном духе TradingView автор этого скрипта опубликовал его с открытым исходным кодом, чтобы трейдеры могли понять, как он работает, и проверить на практике. Вы можете воспользоваться им бесплатно, но повторное использование этого кода в публикации регулируется Правилами поведения. Вы можете добавить этот скрипт в избранное и использовать его на графике.

Хотите использовать этот скрипт на графике?
An enthusiast trader. I code my strategies in pine script.DM me or Mail Me for any Info at
BTC : 1PZdTyH2faJn6XTyFK8C8uvS8zba2gCRmw
ETH : 0x0dF010AE708E424FD227f07538DeB24faa8B60e6


@badshah_e_alam, thanks for this great idea !!

Why is there a restriction to 40/80 positions?

By aim is to develop a screener for stock exchanges (selected by user input) based on the RSL (relative strength index from Levy/available as pine script).
As a result a table with 2 columns (share_name and rsl-value), sorted by rsl value, should be listed.

Tanks for any ideas and tips.
+1 Ответить
@Holle164, Thank you for asking, Why is there a restriction to 40/80 positions?
The restriction is because of maximum number of security functions and variable limit exceeds if i use more than 40 symbols.

to coustomize according to your requirement you can make changes in function "screenerFunc() " in the code.
hello Sir,
this is really a nice attempt . now could you please configure this for NIFTY shares , so that we could easily trade in Nifty futures based on this wonderful trend ananlysis.
NIFTY 50 is an Indian index, comprises of top 50 companies of India.
+1 Ответить
@namwal, thanks for asking. You can easily change the symbol in input section of the indicator. you can replace any or all symbol in input settings.
+1 Ответить
namwal badshah_e_alam
@badshah_e_alam, thanks for the reply, but the nifty 50 consists of 50 stocks, but in your case, i would only add 40 stocks, so how to do it for 50 stocks, please guide ...
+1 Ответить
@namwal, MAKE A copy of this code and use it on two chart layout (rename the copy of the code), then replace the symbol according to your requirement , now you can screen 80 stocks.
+1 Ответить
gopinath007777 badshah_e_alam
@badshah_e_alam, correct as many as u can , can u make one for top gainers% and losers%
badshah_e_alam gopinath007777
@gopinath007777, you can get that at tradingview's stock screener its already there
Can we make a pivot crossover screener
badshah_e_alam RohitPahuja
@RohitPahuja, yes you can make, its open source code. you can modify it.
+1 Ответить