![]() Good luck and let me know if it worked for you. I don't know whether it's been developed since then. At the time I asked TOS support, but they said there was no such capability yet. I was trying to find a way to setup alert only once, but to apply it for the entire watchlist. The only issue is that you will have to set this alert for every stock in your watchlist to be notified. I believe same logic will work for the price. So you will have to play with the values to fit them to your needs. ![]() 390 - I set it to 390 because I'm using the aggregation period of 5 min, so for the whole trading day it's 5min x 390 = 6 hours and 30 min which is the length of the trading day. volume > 10 - meaning the volume of the current bar/candle is higher 10 times than the average for the last 390 bars/candles.Ĥ. beforeEnd is set to 1530 - meaning 15:30 (3:30pm) same logic as above, but for the end of the trading day.ģ. the alert will ignore any volume spikes in the first 30 minutes of trading because based on my experience, most of the stocks have increased volume during the first 30 minutes of trading, so if you dont ignore, you will have a lot of alerts (depending on how many stocks you are watching).Ģ. rec volumeAtTimeTwo if SecondsTillTime (targetTimeTwo) 0 then volume else volumeAtTimeTwo 1 plot test1 volumeAtTimeOne plot test2 volumeAtTimeTwo And here is the code required to run your scan: input targetTimeOne 959 input targetTimeTwo 1000 input volumeMultiplier 5. afterStart is set to 1000 - meaning 10:00am, i.e. The following values are used in this particular example:ġ. You asked about 1 or 2 min, so you will have to set it to 1 or 2 min. I have chosen 5 min as I work with 5 min candles. Thinkorswim (TOS) Tutorial: How to reset your Thinkorswim paperMoney Tackle Trading 23.6K subscribers Subscribe 152 Share 57K views 6 years ago Thinkorswim Basic Tutorials Do you want to. Please note - when you set the alert you should choose your aggregation period. ![]() This alert will pop up when there is a volume spike in the stock. Plot alert = afterStart and beforeEnd and conditionTrue I had exactly the same question and eventually I found the solution - please see below:ĭef afterStart = secondsfromtime(1000)>0 ĭef conditionTrue = volume > 10*average(volume, 390) When a certain spike in volume occurs (for instance 15%+ gain in volume in trades one or more of my stocks on my watchlist) within a timeframe like 1m (one BAR in the one minute timeframe), an alert triggers!Īlternatively (or as an addition) something that does the same but with the price per share of a stock: If a stock's price goes up like 10% in a specified timeframe like 1-2 minutes, it should fire off my alert.ĭoes someone know how to do it? Woudl be REALLY thankfulĢ) compare the volume to above volume average you want (might want to use input instead of def)ĥ) define an alert plot using the comparison def that plots to plot the "plotter" defįeel free to reply if you still need help I'm quite new here and to all of the ThinkScript stuff! I just wanted to ask real quick if there is a possibility to code a script / alert in TOS' thinkscript / thinkalert plattform that does the following: Use the Volume Max Indicator (formerly VWAP Max) to automate overbought and oversold readings and identify up, down, and choppy market conditions with astonishing clarity. ![]()
0 Comments
Leave a Reply. |