VWAP Volume Breakout Indicator for ThinkorSwim

F

fatulexus

New member
Thank you so much Mr Ben. One last question and i hope I am not annoying with this. In the screenshot below, is it possible to have the alert as function of the study instead of a fixed number?

 
Last edited by a moderator:
F

fatulexus

New member
You would have to use the scanner for that.
I noticed that my alerts in general disappear quickly, is there any way to make them stay longer.....or have them that i have to be the one to close is instead of disappear?


thanks
 
BenTen

BenTen

Administrative
Staff
VIP
@fatulexus Any past alerts should appear on your Message Center tab.
 
F

fatulexus

New member
@fatulexus Any past alerts should appear on your Message Center tab.

based on my observation, not all sir. My alerts from TTM Squeeze or Sequence Counters disappear after it flash for like 3sec.

I personally would like any alert to stay until i close it.....or at the very least stay long enough for me to actually read it.

is that something customizable.

Thanks as usual
 
1

15minofpham

New member
Hi,
Does anyone know how to write a 5-Minute VWAP strategy to show on a chart with arrows pointing to the candle that's crossing above/below? Would it be possible to also have a lower study using a custom input showing how many times over X times it gained/lost X %?

Thank you,

Tuan
 
V

vmseller

New member
@BenTen - thanks for creating this - this is awesome. I am trying to set up a scanner (and ultimately an alert) for when these conditions are true. I was able to set up the scanner and receive results (have configured: 1 BAR AND ("BULL = True" OR "Bear = true")), but when I look at the chart, it is not what I expect, since I would expect the blue arrows to be within the timeframe I configure on my filter (in this case 5 min). My end result that I am trying to get is a scanner that ONLY shows me the results for stocks that meat the condition within 5 minutes of present time. Hope that makes sense.
 
BenTen

BenTen

Administrative
Staff
VIP
@vmseller Did you select the correct timeframe? Do you have pre-market enabled on your chart? If not, you would have to disable extended hours for your scanner as well.
 
V

vmseller

New member
@BenTen Below is how I have it configured for BULL OR BEAR:
Offset: 0 (because I don't know what else to put there)
timeframe: "DAY"
WIthin 1 BAR
Agregation = 5Min (don't have extended hours selected)

Is there supposed to be a more aggressive "timeframe" option? It only shows day, week, month when editing inputs in "edit conditions" feature.

I would paste a couple screen captures, but can't figure out how to paste images. As an example, I have Aggregation set to 5 min, and clicked scan today at ~8:10AM PST. IPGP appeared on the scan results. I then went to the chart, expecting a blue arrow to be within 5 minutes of 8:10AM PST, but when I got to the chart, I could not see Blue arrow anywhere between 7:55AM and 8AM? (only blue arrow came through at 7:12AM.

Any help appreciated. Thanks again.
 
Last edited:
S

satyarishi

New member
VIP
@Ben - I have this alert set. Wondering how this scanner missed KODK ticker symbol today. I checked my message center and I don't see any alert getting generated for KODK.
 
V

vmseller

New member
@satyarishi - can you tell me how you configured your scanner to alert? are you getting alerted for new stocks that are hitting the 2 deviations within 1 min, 5 min? I don't seem to be getting it to work on my end. My configuration is listed in the above comment. Let me know, thanks!
 
BenTen

BenTen

Administrative
Staff
VIP
@satyarishi Did you have KODK loaded on your chart during the time?
 
S

satyarishi

New member
VIP
@satyarishi Did you have KODK loaded on your chart during the time?
Actually I tried to make changes to the script to create a watchlist out of the same code. I couldn't make it work. How do we use this script to create a watchlist scanner ? Appreciate help
 
S

satyarishi

New member
VIP
Here is the modified code -

Code:
def VWAP = vwap();        # Changed this from plot to def  and commented out bearish plot at the end as well as the scanner can only have one plot for creating watch list

#plot UpperBand = price + numDevUp * deviation;
#plot LowerBand = price + numDevDn * deviation;

#VWAP.setDefaultColor(getColor(0));

# Start Volume
input length = 20;
def Vol = volume;
def VolAvg = Average(volume, length);

def above_volume = Vol crosses above VolAvg;
def bullish_vwap = close crosses above VWAP;

plot bull = above_volume and bullish_vwap;
bull.AssignValueColor(Color.CYAN);
bull.SetPaintingStrategy(PaintingStrategy.BOOLEAN_ARROW_UP);

#def bearish_vwap = close crosses below VWAP;
#plot bear = above_volume and bearish_vwap;
#bear.AssignValueColor(Color.CYAN);
#bear.SetPaintingStrategy(PaintingStrategy.BOOLEAN_ARROW_DOWN);
 
P

paca26

New member
Hey @BenTen
I'm seeing a similar issue. I can see signals for this indicator on SPY's 5 min chart. I created a wishlist with just SPY in it and setup a custom scan as shown in this video (updating a few plots to def like above). Scan says "No matching results".
 
BenTen

BenTen

Administrative
Staff
VIP
@paca26 Did you scan just now? It's after hours.
 
P

paca26

New member
Yes I scanned just now. Does the scan only look at data from the last "aggregation period"? Which is set to 5 min in my case.
 

Similar threads

Top