Scan for green SPX

ezrollin

Member
VIP
How would I not scan only unless the SPX is green?

Code:
plot IsGreen = close("symbol" = "SPX", "period" = AggregationPeriod.DAY, "priceType" = PriceType.LAST) is greater than or equal to 0;

This will work correct?
thanks
 

ezrollin

Member
VIP
Sorry, I typed that up at 1am just before passing out.
I see its wrong.
It shouldnt be ">0" it should be ">0%"
It should be current price > yesterdays[1] close
 

rad14733

Well-known member
VIP
@ezrollin Let's take a step back... There should be videos in the Thinkorswim Learning Center that cover the Stock Hacker Scanner, as well as Thinkscript Reference... Also, the more information you provide, the better we can assist you... We're getting a lot of brief and somewhat cryptic questions recently, as though they are hastily typed out on a cell phone... Details are key to receiving accurate help... Don't make us pry information out of you...
 

Similar threads

Top