robert, i was playing around with assigning different colors to your reversal lines. as you may remember the peak line, peak line extension, and previous peak extension all have different lines. well i got it to work on the previous peak extension, but not the current peak extension. i copied the same code for both so I'm not certain why it wouldn't work for both. could you spot what I'mby mntman - Trading Discussion
Quotebrushyourteeth Is it possible to draw a horizontal line from the simple moving average (or any other indicator), at a specific time after the open, (say 10:00am), and have the line hold that value and draw out the remainder of the day? i was thinking something similar the other day for this recent pullback. i wanted to be warned and to see where the 50 day moving average was but only ifby mntman - Trading Discussion
QuoteNMR I'd like to set up a custom watch list column that highlights in GREEN with a stock is outside its BB on the W or D chart i found this one from robert from a couple yrs ago... you may be able to tweak it for your colors and length preferred... and the aggregate to weekly for W charts..by mntman - Trading Discussion
Quotedevildriver6 If you're wanting a switch between the two, you can do something like this.... yep exactly... thats how robert defined his switch for the major and minor definitions. i just couldn't figure out how to reference which switch i was currently set to for my plot. later i got to thinking and stupid me realized my answer was already there... robert already had an example of how tby mntman - Trading Discussion
would y'all know how to reference an input condition in a plot? for example: input xyz = {"major", default "minor"} and in a plot i would like to do different things depending on how that input is currently setup. below in red is my incorrect way that i need help with plz: plot abc = if xyz == "major" then This else That; i've tried quotes around the maby mntman - Trading Discussion
Quoterobert Add this code to the bottom of your script. awesome! thanks robert... i need to remember clouds just need to be defined first. i did another one in light gray for fibs 236 to 382 to look for short pullback flag patterns. i threw on your auto trend lines (shown in gray), set no. to show last 4, and your trend lines popped in great with your new minor swing lines on a daily charby mntman - Trading Discussion
robert, thanks for the basic market structure update! i was amazed to see how much shorter the new code was compared to your original. and really appreciate the ease of switching from minor/major swings and recent/previous swings. i trade horizontal breakouts to the 168 to 200% target levels, so i added in a cloud after liking yours from the harmonic patterns. however i realized my cloudby mntman - Trading Discussion
awesome update today robert on your harmonic pattern scripts! i was actually trying the other day (and failed) to create the target zones, so was excited to see that as part of your enhancements today! thanks and i hope you consider expanding your harmonic package to other patterns like 5-0, ab=cd, 3-drives, etc. mikeby mntman - Trading Discussion
thanks robert and no prob i understand. i remember you explaining a little bit about the limitations of the scans one time before maybe with the market forecast divergences... looking fwd to checking this one out and comparing with volume spikes, TICK, and maybe a couple other oscillators just out of curiosity.by mntman - Trading Discussion
hey robert i read thru the article and free e-book you referenced on your website. very interesting strategy, I've never seen reversals traded in this fashion before based on price action alone. until now its always been with the aid of a divergence indicator, like the macd, which can be lagging. question... unfortunately i trade daily candle charts and am unable to watch a particular securitby mntman - Trading Discussion
Quotestrategynode is possible to calculate the angle between two points im not sure if this is what your looking for but below is the only example I'm familiar with. near the end of the script robert calculates the slope between two points. hope it helps. http://www.researchtrade.com/forum/read.php?7,2258,5433#msg-5433by mntman - Trading Discussion
just wanted to say thanks for some of the insight shared on here. i've felt a sort of paralysis lately because the unusual market conditions last few months and its good to be reminded about amplifying the signal and reducing the noise. i'm going to begin flipping over to the weekly to try keep the recent noises relative in context to the larger trends.by mntman - Trading Discussion
QuoteKamadi I have a question. What would be the best ATR setting for day trading stocks. Some say use the 14 settings. But I've seen ppl use 7. What setting is best for day trading i actually only do swing trading and so only familiar with the 14 length for ATR on daily candles. however i have read some posts on here about using ATR for targets and stops, and this post mentions ATR(10) for eby mntman - Trading Discussion
QuoteACWE On a 5 minute chart, as I scroll to the right, the price axis does not change. It's like the chart fits a High/Low scale. try unselecting fit studies option found under settings: QuoteACWE I also like to use HULL as a moving average on a subchart. Can you add that in as a third option to go along with SMA and EMA? unfortunately i didn't have any luck combining all three intby mntman - Trading Discussion
Quotercmcfe can it be altered to display Stochastics, instead of MA crossovers? i was thinking robert had already shown an example of this but i didn't have any luck finding it. im not sure which version of stochastic you use, but below is an example of the standard tos stochasticfull script with roberts cloud script just simply added to the bottom. declare lower; # --- TD Ameritrade IPby mntman - Trading Discussion
QuoteACWE Can someone help me create this colored zone except with moving averages? I tried myself, but then made the realization that I do not know what I am doing. Thanks something like this? i referenced roberts e-charts script so you can decide if you want simple or exponential moving average setting. here's another roberts example which helps explain the basics of crossovers for refereby mntman - Trading Discussion
-- removed -- i apologize... my mistake for misunderstanding the purpose of the original script. in my mind i thought they should be adding, when in fact it was dividing to give an overall average,by mntman - Trading Discussion
QuoteRalph53 Does anyone know how to script a stock's current spread? Thanks. I myself have only seen it available as a market watch column script: def spread = ask - bid; addLabel(yes, round(spread,2), color.current);by mntman - Trading Discussion
QuoteBenT Thanks Mntman. The line I'm using, is 3% of the opening range above opening range high plus 1.5%. (ORH + (range * 0.03)) * 1.015 . When I add the chart bubble with the lastbar[3] it disappears. i guess i'll write a code that if the candle is near the bubble, the bubble disappears. Thanks, anyway. i referenced one of roberts opening range scripts and played around with it. i think iby mntman - Trading Discussion
robert, thank you so much! works like a charm now... your presence is always greatly appreciated here. thanks again mikeby mntman - Trading Discussion
QuoteBenT Thanks for the reply . When I tried this, it added a chartbubble on top of every dash on the line. oops sorry ben... I'm still a beginner trying to learn my way from many of roberts examples. i thought maybe i could give it a stab but probably should have left it to the more experienced members. AddChartBubble( if (SecondsFromTime(1600) == 0) then 1 else 0, ORH + (range * 0.0by mntman - Trading Discussion
robert, I've referenced your EnableApproximation and Slope scripts from here to use in my lower study below. My original trendline in white connects date1 to date2, then using your slope the line extension extends from there in yellow. All of this worked perfectly... (thank you btw for sharing!) However i noticed the line extension (yellow) is also appearing prior to date1 when i scroll tby mntman - Trading Discussion
thats too cool robert and elovemer! i had no idea tos scripting had this kind of capabilitiesby mntman - Trading Discussion
QuoteBenT How can i move the chartbubble a little to the right try referencing this post from robert awhile back. he added [-5] to the "last bar" parameter to move the bubble 5 bars to the left: although i had some trouble duplicating it to the right, you might try playing with a positive number to see if it moves to the right for you. for example: ...., ORH + (range * 0.03by mntman - Trading Discussion
QuoteRalph53 I need . does this work? all i did was use your original code and change the 1 to a 2 in attempt for it to find the max within those 3 days. # 2days def X = close - Max((High), Max((Open[1]), (close[1]))); addlabel(yes, "2 days: " + x, color.white); # 3 days def X2 = close - Max((High), Max((Open[2]), (close[2]))); addlabel(yes, "3 days: " + x2, cby mntman - Trading Discussion
QuoteACWE Is there any way for the BID and ASK to float like in the left hand top corner of the price window or perhaps near the latest candle? i was going to see if i could create this but best i can tell it appears that this is not available in TOS chart studies, and only available thru market watch or orders. QuoteBid Returns current value of bid price for current symbol. This function iby mntman - Trading Discussion
QuoteTampman How about just show both current price and daily change i.e., SPY $215, +$1.32.... etc.. something like this? def sym = close("SPY", period="day" ); def symCh = sym - sym[1]; def pos = if symCh > 0 then 1 else 0; addLabel(yes, "SPY $" + sym + ", $" + symCh, if pos then color.light_green else color.pink);by mntman - Trading Discussion
QuoteRalph53 I was wondering if anyone knows how to combine ‘assignPriceColor’ and ‘assignValueColor’ (for everything other than ‘mostrecent’) in the same script? im not sure if i understand your question correctly but is it something like this below? def X = close > Open; def Y = close < Open; def Z = close == Open; def mostrecent = isnan(close[-1]) ;by mntman - Trading Discussion
ive seen some charts on zerohedge that shows a lower indicator that measures price differences in form of a histogram. they use it for long term charts to go back and look at historical pricing that matches with the current day. i was curious so i took the basic macd histogram, substituted in percentage price, and it seems to plot out fine. now Id like to add a horiztonal line that would extby mntman - Trading Discussion