Hi,
So I am not much of a coder, although I can read code and have an understanding of how the code is working.
Hoping someone can help me out here.
This is the current code I have for an Inside Bar scanner. It works best to tell you if the current bar is an inside bar. I forget where I got this code from, but it is not mine.
def isInside = high[1] > high and low[1] < low;
plot scan = isInside;
I would like to modify the scan to use on the Monthly and Weekly timeframe. I want the scan to identify stocks that had an inside bar last week/month
I thought if I modified the [1] to [2] in the above code would be all I need to do. Unfortunately it was not that simple, and I'm hoping one of the code experts here can help.
So I am not much of a coder, although I can read code and have an understanding of how the code is working.
Hoping someone can help me out here.
This is the current code I have for an Inside Bar scanner. It works best to tell you if the current bar is an inside bar. I forget where I got this code from, but it is not mine.
def isInside = high[1] > high and low[1] < low;
plot scan = isInside;
I would like to modify the scan to use on the Monthly and Weekly timeframe. I want the scan to identify stocks that had an inside bar last week/month
I thought if I modified the [1] to [2] in the above code would be all I need to do. Unfortunately it was not that simple, and I'm hoping one of the code experts here can help.