Plot Trend1 = MovAvgExponential(close, 10);
Trend1.AssignValueColor(if close > Trend1 then Color.GREEN else Color.RED);
Trend1.SetLineWeight(1);
Plot Trend2 = MovAvgExponential(close, 30);
Trend2.AssignValueColor(if close > Trend2 then Color.GREEN else Color.RED);
Trend2.SetLineWeight(2);
Plot Trend3 = MovAvgExponential(close, 3);
Trend3.AssignValueColor(if close > Trend3 then Color.GREEN else Color.RED);
Trend3.SetLineWeight(2);
plot L4= close < Trend1 and Trend1< trend2 and close > trend3;
addChartBubble(L4,High,"4",color.cyan);
plot L5 = close > Trend1 and close<trend2 and Trend2 > Trend1;
addChartBubble(L5,low, "5",color.blue);
Hi, I need some help here, based on the script, it automatically plots a label whenever the plot conditions are met. But when I combined two plots together(Pic 1), the chart looks very cluttered.
Questions:
1. Is there a way to only PLOT the label on the last candle when the plot conditions are met? This means that all the previous label plots (Pic 2 ) will not be seen on the chart.
2. Is there a way to reduce the size of the label as it is blocking the candlestick, unless I have zoom in?
Picture 1
https%3A//i.imgur.com/6xDJjyV.jpg[/img]']
Picture 2
https%3A//i.imgur.com/CmmUetB.jpg[/img]']
https%3A//i.imgur.com/eURqAYv.jpg[/img]']
Trend1.AssignValueColor(if close > Trend1 then Color.GREEN else Color.RED);
Trend1.SetLineWeight(1);
Plot Trend2 = MovAvgExponential(close, 30);
Trend2.AssignValueColor(if close > Trend2 then Color.GREEN else Color.RED);
Trend2.SetLineWeight(2);
Plot Trend3 = MovAvgExponential(close, 3);
Trend3.AssignValueColor(if close > Trend3 then Color.GREEN else Color.RED);
Trend3.SetLineWeight(2);
plot L4= close < Trend1 and Trend1< trend2 and close > trend3;
addChartBubble(L4,High,"4",color.cyan);
plot L5 = close > Trend1 and close<trend2 and Trend2 > Trend1;
addChartBubble(L5,low, "5",color.blue);
Hi, I need some help here, based on the script, it automatically plots a label whenever the plot conditions are met. But when I combined two plots together(Pic 1), the chart looks very cluttered.
Questions:
1. Is there a way to only PLOT the label on the last candle when the plot conditions are met? This means that all the previous label plots (Pic 2 ) will not be seen on the chart.
2. Is there a way to reduce the size of the label as it is blocking the candlestick, unless I have zoom in?
Picture 1
https%3A//i.imgur.com/6xDJjyV.jpg[/img]']
Picture 2
https%3A//i.imgur.com/CmmUetB.jpg[/img]']
https%3A//i.imgur.com/eURqAYv.jpg[/img]']