Join useThinkScript to post your question to a community of 21,000+ developers and traders.
make a watchlist with those names and run the scan refer to it.There are traders who only trade certain stocks and was wondering is there a way to only run the script on certain symbols like APPL, NFLX, TSLA, AMD, FB, BYND, and BABA?
@leo2022
Near the top of my scan code there is a place where you can choose the minimum to scan for:
Code:# CHOOSE SCAN MODE # # ( 1 = Ignitor Bar , 2 = Pause Bars , 3 = Trigger Bar ) input scanMode = 3;
Just change the 3 to a 1 or 2 to change the mode
Woops.@icbetyper I think your message is for Len20. I think he wrote the script. I am also new to thinkscript
Remember there is more to the 3/4 bar play than developing the indicator, as per Jarret Live traders. His concept works most of the time. I played with some coding, i'm no expert, but I tinkered with the basic concept and had trouble with meeting some of the Official criteria such as the 1st "above avg" wide bar not being in the middle of a trend. If you can get this to work with the SwingArms - bingo.
input OpenBell = 0930;
input OpenHour = 1030;
def FirstHour = if SecondsTillTime(OpenHour) > 0
and SecondsFromTime(OpenBell) >= 0
then 1
else 0;
def whatever = if FirstHour == 1 and whatever_other_conditions_you_need then ... else...
#Added by Chad Nash Oct 2020 www.nashtech.xyz
#Only enter trades between not extended hours
def CloseAllCondition = SecondsTillTime(1558) == 0;
def EOD = if SecondsTillTime(1558) == 0 and SecondsFromTime(1558) == 0 then 1 else 0;
input UseTimeFilter = Yes;
input rthopen = 0931;
input rthclose = 1555;
def RTH = if usetimefilter == yes then if SecondsFromTime(rthopen) >= 0 and
SecondsTillTime(rthclose) >= 0
then 1
else 0 else 1;
input rthopen_EOD = 1545;
input rthclose_EOD = 1559;
def RTH_Last5MinBar = if usetimefilter == yes then if SecondsFromTime(rthopen_EOD) >= 0 and
SecondsTillTime(rthclose_EOD) >= 0
then 1
else 0 else 1;
#End Updates by Chad... Only thing to check is if RTH (regular trading hours) is true to enter trades.
Thread starter | Similar threads | Forum | Replies | Date |
---|---|---|---|---|
H | Triple TSI For ThinkOrSwim | Indicators | 13 | |
C | Triple Exhaustion Indicator For ThinkOrSwim | Indicators | 232 | |
Nirvana Holy Grail Inside Bar Outside Bar For ThinkOrSwim | Indicators | 10 | ||
H | Bill Williams Green, Squat, Fade, Fake Bars and Zone Bars for ThinkorSwim | Indicators | 30 | |
Market Profile (TPOProfile) Monkey Bars for ThinkorSwim | Indicators | 18 |
Start a new thread and receive assistance from our community.
useThinkScript is the #1 community of stock market investors using indicators and other tools to power their trading strategies. Traders of all skill levels use our forums to learn about scripting and indicators, help each other, and discover new ways to gain an edge in the markets.
We get it. Our forum can be intimidating, if not overwhelming. With thousands of topics, tens of thousands of posts, our community has created an incredibly deep knowledge base for stock traders. No one can ever exhaust every resource provided on our site.
If you are new, or just looking for guidance, here are some helpful links to get you started.