NexusFi: Find Your Edge


Home Menu

 





Spread(ask- bid) in Thinkorswim Scan


Discussion in ThinkOrSwim

Updated
      Top Posters
    1. looks_one edbrady with 1 posts (0 thanks)
    2. looks_two konstantin4477 with 1 posts (0 thanks)
    3. looks_3 titanus2 with 1 posts (1 thanks)
    4. looks_4 vtmishu with 1 posts (0 thanks)
    1. trending_up 16,490 views
    2. thumb_up 1 thanks given
    3. group 6 followers
    1. forum 4 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
konstantin4477
Moscow Rassia
 
Posts: 2 since May 2013
Thanks Given: 0
Thanks Received: 0

How to make the formula Spread in Thinkorswim Scan? I am trying to apply this formula, but does not work.

def ask = close(priceType = "ASK");
def bid = close(priceType = "BID");
def spread = ask - bid;
plot scan = spread < 0.1;


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
RTH vs ETH: when your chart and Volume Profile trading h …
NinjaTrader
Datafeed for Atas
Platforms and Indicators
requesting .nrd replay files from 2026 spy and qqq
The Elite Circle
My Rant with AMP Futures
Trading Reviews and Vendors
EA
Platforms and Indicators
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Mes vs MNQ
6 thanks
NexusFi site changelog and issues/problem reporting
5 thanks
BERN ALGOS algo trading journal
3 thanks
TopStep Trader disappointment
2 thanks
Want your NinjaTrader indicator created, free?
1 thanks
  #2 (permalink)
edbrady
Virginia
 
Posts: 2 since Sep 2010
Thanks Given: 0
Thanks Received: 0

Just limit your scan to 'Penny Increment Stocks", instead of "All Stocks". They have already seperated them into one category


Reply With Quote
  #3 (permalink)
ZenStocki
Orlando FL,USA
 
Posts: 1 since Dec 2013
Thanks Given: 0
Thanks Received: 0


Trying to get a scan for difference between ask and the bid, used the one in this post but nothing ever comes up, I assume I am doing something fundamentally incorrect and just not clicking something obvious….

Thank you for any info!


Reply With Quote
  #4 (permalink)
Ruckus49
Pittsburgh
 
Posts: 1 since Nov 2014
Thanks Given: 0
Thanks Received: 0

Upping this... I have the exact same question.

thanks


Reply With Quote
  #5 (permalink)
 titanus2 
Tbilisi + Georgia
 
Experience: None
Trading: EUR/USD
Posts: 36 since Aug 2014
Thanks Given: 9
Thanks Received: 20

instead of
 
Code
def the_Bid = CLOSE(pricetype="bid");
just use
 
Code
def the_Bid = bid;
they are already PRE-DEFINED by platform!!


Reply With Quote
Thanked by:




Last Updated on November 4, 2015


© 2026 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 - Downloads - Top
no new posts