agirlhasnoname42
Member
Darn it all.. that takes away the usefulness for me because of repaint.. although I suppose 1/2 hr till close it might be ok. Thanks
The jagged jerky lines are built-into MTF indicators. Flat lines are due the the delay between the close of the previous candle and the next candle on the higher aggregation. The candle finally closes, it re-writes the final placement of the flat line and jags up to flat-lining the next candle.I'm having trouble trying figure out why my indicator doesn't fit into overbought/oversold like the indicator in the other image.
Can someone help me out? Script is below, I basically added some code to standard TOS slow Stochastics indicator. Also from the image is there a way that I can smooth out the lines? @MerryDay
Requests for the coding of MTF indicators do not often get fulfilled given the repainting issues detailed in the top post of this thread.Hello, Im trying to get some guidance/assistance in adjusting a code so that I can choose what timeframe aggregate a study from while viewing it on a different timeframe. For example, I want to be able to see the study aggregating from the D timeframe while looking at a lower timeframe chart. As you can see, ive gotten as far as to add the input, but im not too educated in code so dont know much beyond this.
Is there a way to add some sort of "Enable approximation" modifier to get a smoother line from the higher time frame charts on to the smaller time frame charts?The jagged jerky lines are built-into MTF indicators. Flat lines are due the the delay between the close of the previous candle and the next candle on the higher aggregation. The candle finally closes, it re-writes the final placement of the flat line and jags up to flat-lining the next candle.
Not reallyIs there a way to add some sort of "Enable approximation" modifier to get a smoother line from the higher time frame charts on to the smaller time frame charts?
As the tutorial explained where you see the price, you need to add the aggregation.Is there a way to do this with an indicator LinearRegCurve ?
i add two lines as stated in the very first post but it doesn't work
here is his code
#
# TD Ameritrade IP Company, Inc. (c) 2008-2023
#
input displace = 0;
input length = 9;
input price = close;
plot LinReg = Inertia(price[-displace], length);
LinReg.setDefaultColor(GetColor(1));
I would like to show lines from the daily chart on the minute chart
#
# TD Ameritrade IP Company, Inc. (c) 2008-2023
#
input agg = AggregationPeriod.DAY;
def price= close(Period =agg) ;
input displace = 0;
input length = 9;
plot LinReg = Inertia(price[-displace], length);
LinReg.setDefaultColor(GetColor(1));
Join useThinkScript to post your question to a community of 21,000+ developers and traders.
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.