always the next best thing from these guysCould we have on 1min ( and 5min ) chart the MTF (1min,2min,3min,4min,5min,10min) Squeeze PRO as lines on the lower?
And on upper MTF 5EMA from Daily, 8EMA from15min, 21EMA from 30min, 50EMA min from 60min
Like On this presentation.?
Join useThinkScript to post your question to a community of 21,000+ developers and traders.
Could we have on 1min ( and 5min ) chart the MTF (1min,2min,3min,4min,5min,10min) Squeeze PRO as lines on the lower?
And on upper MTF 5EMA from Daily, 8EMA from15min, 21EMA from 30min, 50EMA min from 60min
Like On this presentation.?
# mtf_avgs_0
# https://usethinkscript.com/threads/quick-hits-strategy.12785/
# https://www.youtube.com/watch?v=1dKUw0wIeAA&t=1s
# Discover How John Carter Scaled Up His Son’s Daily Income Strategy to Make $300k+ /Day
# simpler trading
# 5EMA from Daily,
# 8EMA from 15min,
# 21EMA from 30min,
# 50EMA from 60min,
def price = close;
input agg1 = AggregationPeriod.day;
input type1 = AverageType.EXPONENTIAL;
input len1 = 5;
def close1 = close(period = agg1);
def ma1 = MovingAverage(type1, close1, len1);
input agg2 = AggregationPeriod.fifteen_min;
input type2 = AverageType.EXPONENTIAL;
input len2 = 8;
def close2 = close(period = agg2);
def ma2 = MovingAverage(type2, close2, len2);
input agg3 = AggregationPeriod.thirty_min;
input type3 = AverageType.EXPONENTIAL;
input len3 = 21;
def close3 = close(period = agg3);
def ma3 = MovingAverage(type3, close3, len3);
input agg4 = AggregationPeriod.hour;
input type4 = AverageType.EXPONENTIAL;
input len4 = 50;
def close4 = close(period = agg4);
def ma4 = MovingAverage(type4, close4, len4);
plot z1 = ma1;
z1.SetPaintingStrategy(PaintingStrategy.HORIZONTAL);
z1.setdefaultcolor(getcolor(1));
z1.hidebubble();
plot z2 = ma2;
z2.SetPaintingStrategy(PaintingStrategy.HORIZONTAL);
z2.setdefaultcolor(getcolor(2));
z2.hidebubble();
plot z3 = ma3;
z3.SetPaintingStrategy(PaintingStrategy.HORIZONTAL);
z3.setdefaultcolor(getcolor(3));
z3.hidebubble();
plot z4 = ma4;
z4.SetPaintingStrategy(PaintingStrategy.HORIZONTAL);
z4.setdefaultcolor(getcolor(4));
z4.hidebubble();
#
Thank you.here is the upper study, MTF averages
Code:# mtf_avgs_0 # https://usethinkscript.com/threads/quick-hits-strategy.12785/ # https://www.youtube.com/watch?v=1dKUw0wIeAA&t=1s # Discover How John Carter Scaled Up His Son’s Daily Income Strategy to Make $300k+ /Day # simpler trading # 5EMA from Daily, # 8EMA from 15min, # 21EMA from 30min, # 50EMA from 60min, def price = close; input agg1 = AggregationPeriod.day; input type1 = AverageType.EXPONENTIAL; input len1 = 5; def close1 = close(period = agg1); def ma1 = MovingAverage(type1, close1, len1); input agg2 = AggregationPeriod.fifteen_min; input type2 = AverageType.EXPONENTIAL; input len2 = 8; def close2 = close(period = agg2); def ma2 = MovingAverage(type2, close2, len2); input agg3 = AggregationPeriod.thirty_min; input type3 = AverageType.EXPONENTIAL; input len3 = 21; def close3 = close(period = agg3); def ma3 = MovingAverage(type3, close3, len3); input agg4 = AggregationPeriod.hour; input type4 = AverageType.EXPONENTIAL; input len4 = 50; def close4 = close(period = agg4); def ma4 = MovingAverage(type4, close4, len4); plot z1 = ma1; z1.SetPaintingStrategy(PaintingStrategy.HORIZONTAL); z1.setdefaultcolor(getcolor(1)); z1.hidebubble(); plot z2 = ma2; z2.SetPaintingStrategy(PaintingStrategy.HORIZONTAL); z2.setdefaultcolor(getcolor(2)); z2.hidebubble(); plot z3 = ma3; z3.SetPaintingStrategy(PaintingStrategy.HORIZONTAL); z3.setdefaultcolor(getcolor(3)); z3.hidebubble(); plot z4 = ma4; z4.SetPaintingStrategy(PaintingStrategy.HORIZONTAL); z4.setdefaultcolor(getcolor(4)); z4.hidebubble(); #
Could we have on 1min ( and 5min ) chart the MTF (1min,2min,3min,4min,5min,10min) Squeeze PRO as lines on the lower?
And on upper MTF 5EMA from Daily, 8EMA from15min, 21EMA from 30min, 50EMA min from 60min
Like On this presentation.?
@halcyonguy thanks for the code. I tried it but it does not plot. The bar above the chart shows in green that the study is applied but it does not plot on the chart. Is there someting that I overlooked? It is a daily chart. is that right?
I'm also new here, and I also need help with posting an image as it seems to want an HTTP? I don't know what HTTP and I woud appreciate help with the steps please?
Thread starter | Similar threads | Forum | Replies | Date |
---|---|---|---|---|
K | Quick question about variables | Questions | 2 | |
D | Quick hasearnings() question | Questions | 1 | |
G | quick question about labels | Questions | 1 | |
A | ATR Quick Calculator? | Questions | 1 | |
P | Is there a way to set an alert when an open position hits a certain P/L %? | Questions | 1 |
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.