westsail5000
New member
hello everyone... I'm trying to make a script that can for example, filter any stocks that are at a minimum, above 5% mark change. this would be used for premarket to help narrow down results. I have a similar script that allows me to filter change from open. I'm sure that the mark % filter would be somewhat similar in coding I'm just not sure how to modify it correctly. Any help greatly appreciated. Here's the script for the Change from open.
Code:
input MinChangeFromOpen = 5; #Change from open, %
def ChangeFromOpen = AbsValue((close-open)/open*100);
plot Signal = ChangeFromOpen >= MinChangeFromOpen;