San Luis Obispo, California/United States
Posts: 1 since Jan 2020
Thanks Given: 0
Thanks Received: 0
|
Hello,
Does anyone know how to write a custom filter for ThinkorSwim that's similar to the Price_Change filter? Instead of:
CLOSE is at least ___% greater than ___ bars ago, I want to create a custom filter that scans for stocks where the
CLOSE is at least ___% greater than the OPEN for any 1-minute candle
I imagine it would look something like this:
input price = close;
input percent = 10.0;
def x = ((close - open)/open);
plot scan;
scan = x >= percent;
I appreciate the help.
|