badshah_e_alam

trend Screener List1

3081 lượt xem
159
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
Phát hành các Ghi chú: added close price when uptrend was true last time.
Phát hành các Ghi chú: 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.
Phát hành các Ghi chú: 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.
Phát hành các Ghi chú: Added option to choose time frame for the screener, by default it is to the same as the chart.
Mã nguồn mở

Với tinh thần của TradingView, tác giả đã xuất bản tập lệnh theo mã nguồn mở, vì thế trader có thể dễ dàng hiểu và tùy chỉnh được. Bạn có thể sử dụng miễn phí, hoặc tùy chỉnh lại mã đã được cấp phép bởi Quy tắc Chung. Bạn có thể sử dụng nó trên biểu đồ.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?
An enthusiast trader. I code my strategies in pine script.DM me or Mail Me for any Info at tabrejalam786007@gmail.com(paypal)
BTC : 1PZdTyH2faJn6XTyFK8C8uvS8zba2gCRmw
ETH : 0x0dF010AE708E424FD227f07538DeB24faa8B60e6

Bình luận

The script is not capable of generating alerts .The screener is only for visual confirmation. Any alert set on the screener will not help.
IT is only for "VISUAL CONFIRMATION". Please don't use it to set alerts.
Phản hồi
badshah_e_alam badshah_e_alam
@badshah_e_alam,

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.
Phản hồi
is it possible to place trades "buy" for top gainers% and "sell" for top loosers% in 10sec from stock screener 1 min time frame
Phản hồi
badshah_e_alam gopinath007777
@gopinath007777, not possible in this custom screener ,it can be done but you have to code different logic for that.
Phản hồi
Wonderful, how did you manage to avoid the error "Unable to resolve symbol_NSE" . I have tried coding a screener type script , but facing some issues. i'm unable to accomodate more than 20 stocks .
Phản hồi
MarkBench manojm4
@manojm4, You can use the security() function a max of 40 times in any script.
Phản hồi
@manojm4, use "NSE:" prefix before symbol for NSE listed stocks, This should not generate any error.
+1 Phản hồi