Can someone modify a fair value gap indicator to change the color of the candle (paint bar) on the candle that creates the fair value gap instead of having lines and clouds all over the screen? The code I am using is posted below. Also, add it to a watchlist for multiple time frames so I can spot it easily across multiple assets if one forms? Thank you # FVG Fair Value Gaps Bearish &by rob miller - Trading Discussion
Is there a way to get a star step on close chart? Thanksby rob miller - Trading Discussion
I’m looking for a way to put a VPOC on each candle regardless of time frame. Does anyone have an idea of how to do this? Thanksby rob miller - Trading Discussion
I need help with a fairly easy thinkscript. I’d like a paint bar indicator for a candle with no wicks. I’m not at all good with coding. If Anyone out there can help it’s much appreciated. Thanksby rob miller - Trading Discussion
There is a code on tradestation that I would like help to make a thinkscript, Its called breakout of X bar high. And also breakout of X bar low. Standard on tradestation. Couldnt find anything for it on ToS. This is how tradestation defines it. Brkout of X Bar High marks the high of any bar whose High is higher than the High of any of the previous bars referenced by the study. The Length inby rob miller - Trading Discussion
Can anyone help me create a paint bar thinkscript? What I'm looking for is a quick easy way to visualize the difference between a base candle and a leg candle. Leg candles would be the paint bar. A leg candle is one where the current candle closes outside of the previous candle's range ( high to low ). A base candle is one where the current close is within the previous candle's range (by rob miller - Trading Discussion
Hi Robert, Is there anyway to modify this code to include any candle that closes inside the previous candle? Right now it shows inside bars, Id like to add another color (paint bar) if it wicks above / below but still closes inside the previous bar. Thank you plot Data = close; def insideBar = if (High[0] < High[1] && Low[0] > Low[1]) then yes else no; input price = clby rob miller - Trading Discussion
I have a code for an inside bar. Does anyone know how to get it to color (paint bar) only after the bar closes as a true inside bar? Also put that code in a watch-list so it will flag only after the bar closes? Thanks plot Data = close; def insideBar = if (High[0] < High[1] && Low[0] > Low[1]) then yes else no; input price = close; plot insideBarFlag = double.by rob miller - Trading Discussion
Does anyone know how to create a scan for when 1. An inside day. ( I have this figured already) 2. After the inside day, the first candle to close above the highs or lows of the basing candle? Normally , after a close above/below an inside day, price will continue that way. Possibly retests and then goes. Of course knowing to read price, trend, etc. all come into play also.by rob miller - Trading Discussion
Robert, What color swatches (numbers) are you using for your chart color? I like it, but am unable to match it. Thank youby rob miller - Trading Discussion
still no, its giving me an error on insidematch, anything else? Here is the custom thinkscript I use to scan. 33 so far today. maybe add assign color after this somewhere? def count = 1; def range = high - low; def inside_bar = high <=high[1] and low >= low[1]; plot s = inside_bar && lowest(range,count)within 1 bars;by rob miller - Trading Discussion
Also, a ton of them pulled up and flagged magenta in the watchlist that are not inside bars.by rob miller - Trading Discussion
Weird, some of them flagged a color and some didn't. For example, DOW and FB were inside bars yesterday, my scan pulled them up, painted the bar on the chart, but did not flag a color in the watch list.by rob miller - Trading Discussion
netarchitech, that didnt work. error codes. Any other suggestions?by rob miller - Trading Discussion
I've got this far for an inside bar in a watch list. But how do I assign color? Thanks def insideBar = high < high[1] and low > low[1]; plot iBar = insideBar;by rob miller - Trading Discussion
Robert, Is there a way to scan for closes above or below the highs/lows of a previous inside bar?by rob miller - Trading Discussion
robert, Is there any way to put this code ( Inside Bar ) into a watch list column that would flag a color if it was an inside bar? Much like your bollinger band watch list. But have it only flag it if it closes as an inside bar? (Otherwise it would flag constantly on the open of each bar, except for gaps) Thank you very muchby rob miller - Trading Discussion
I have two thinkscripts I'm trying to combine into one. They're are both for an inside bar. Id like it to paint the inside bar magenta if its a complete inside bar, and cyan if its an inside bar with equal Highs and/or lows as the previous bar. Anyone know how this can be done? Thanks plot Data = close; def insideBar = if (High[0] < High[1] && Low[0] > Low[1]) then yes elsby rob miller - Trading Discussion
Ive been using a code to paint inside bars. It paints new bars also until it goes outside the previous bar. Is there a way to modify this code where it will only flag/paint the candle after it closes? Also is there a way to make it into a pre-defined watchlist? Thanks plot Data = close; def insideBar = if (High[0] < High[1] && Low[0] > Low[1]) then yes else no; input prby rob miller - Trading Discussion
Tanman, I really appreciate all your help. Thank you . I do have another request. I'm looking for a thinkscript to notify you of a hook reversal pattern with a slow stochastics overbought or oversold. In the pattern you would need 4 or 5 consecutive red or green bars all with closes higher/ lower than previous day. Maybe a dot forming above the candle or arrow above the high of the fifth bar andby rob miller - Trading Discussion
thanks Tanman, duh. I wasnt paying attention.by rob miller - Trading Discussion
Tanman. No where in the code does it say close , any other suggestions? Code is below, not sure where to enter . Thanks "Wherever "close" occurs in your code, change it to: close(period = "5 min" ) for 5 minute time frame close(period = "1 hour" ) for 1 hour time frame close(period = "day" ) for daily time frame close(period = "week&by rob miller - Trading Discussion
Tanman, they at Thinkorswim told me to add a timeframe to each code. Is that something you know how to do? I know how to get into the code and change the timeframes myself, but as far as adding it initially is way beyond me. If you think you could take a shot at it I would really appreciate it. Thanks again for all your help.by rob miller - Trading Discussion
I've got another one for you tanman. I was reading about the "E" trade from posts way back and I'm trying to create a watch list column like the one they showed. Problem is, when I put the code in for one column, I cant change the time-frames but on one column. So if 1 column is a 5 min, they all have to be a five min. I like to have the same code for several time-frames. Can you help wby rob miller - Trading Discussion
Tanman, thanks again. I appreciate your help.by rob miller - Trading Discussion
Im new here, read a few older posts, but Im looking for the "E" trade rules and set ups. Also thinkscripts. From what Ive read it sounds simple and easy to follow. Thanks in advance!by rob miller - Trading Discussion
thanks for the TRIN indicator tanman. Just what I was looking for. I have another request. Im looking for a pre market volume chart label for making decisions on gap plays. Anyone have this? Also a study to mark pivot/swing highs and lows so I can quickly identify when trend has changed direction. thanks in advance.by rob miller - Trading Discussion