NexusFi: Find Your Edge


Home Menu

 





How to Create Custom Filter Similar to Price_Change Filter


Discussion in ThinkOrSwim

Updated
    1. trending_up 640 views
    2. thumb_up 0 thanks given
    3. group 9 followers
    1. forum 0 posts
    2. attach_file 0 attachments




 
Search this Thread

How to Create Custom Filter Similar to Price_Change Filter

  #1 (permalink)
yachtsandthots
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.

Reply With Quote




Last Updated on January 23, 2020


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts