TradingView
achalmeena
25 déc. 2020 17:10

Custom GAP UP scanner for NIFTY Stocks 

Nifty 50 IndexNSE

Description

The security function can be called 40 times in a codescript. We can therefore scan about 40 stocks out of NIFTY 50 stocks with a single script.
This code can be modified to search for other scripts by changing the condition function
condition() => open > (close * 1.0025)

Only stocks which have gap up of 0.25% or more will be reported.
Commentaires
investbig
Thanks a lot for such a wonderful and profit making indicator. A question please. How do we add relative volume to this script and how can it be used as a custom screener
achalmeena
@investbig, Lets say you want all scrip with volume > average value for last 30 days. You can modify condition as
condition() => volume > sma(volume,30)
in case you are using version 5 of the script use ta.sma
patelketul121
dear it not working can you help me
I really want gap finder
achalmeena
@patelketul121, Copy the code in the pine editor and now run the code. It will take some time to run , compile and provide result.
canislupus1905
That's great but can you make it for all s&p500, nasdaq and TOP 50 crypto coins? Thanks in advance.
susantarya.sg
Can we add multiple condition like volume exhaustion and volatality expansion with some mathematical expression.
Plus