Pine Pine Script beginner, plotshape - bar-chart

I have created an indicator using the plotshape function that displays triangles on all the bars of the ticker.
https://www.tradingview.com/x/JjUhhDFr/
Is that possible to limit the display to the last 25 bars?
Thanks,
GP
I expect to see the triangles only on the last 25 bars

Related

SSRS Match Color series in stacked bar chart

I have a stacked bar chart, with year on the x axis, and sales CY and sales LY on the y axis, also the bars are grouped (stacked) by company name, like in the picture below:
bar chart stacked example
The problem is I want to match the colors for the same companies, like: "united package CY" and "united package LY" have the same color for both, so will be easier to see the comparison between companies and years.
Is there any way to achieve this?
Thanks!
Yes you can, click on your chart and go to the chart properties on the right side under:
Chart > CustomPaletteColors.
Here you can add your defined chart colurs for each series. For example if you have 4 series you have 4 different colors. You can set the color for series1 the same as series2.
Depending on which positions your series are, they will look like one section or they will have another color between them. But you can reorder the position of the series if you need to.

Combined Workday.Intl and IF function

Im trying to combine a WORKDAY.INTL and IF function together...
Would like the blue cell to add the orange duration to the green cell but only if the yellow cell is empty.
if the yellow cell has a date, then add the yellow cell and orange duration.
Ive tried combining the functions but just cant get it to work.
Holidays are poart of the WORKDAY.INTL function are the standard set of bank holidays in the UK. Furthermore, have used "1" to ensure the calculation does not include saturdays and sundays.
Any help would be greatly appreciated.

SSRS Stacked Area and Line Chart showing Gap between Dates

I have a line chart that is showing a series for the stack area. I have nulls for my data for a few months in a row which shows a gap in the chart which what I want a cliff. But when the chart resumes with non null data the chart starts from 0 and shoots up to the number lets say 98 in this case. How or which properties do I need to adjust in the chart that when I resume I can start off at 98 instead of 0 and climbing up to 98.
Rather than using a Stacked Area chart you could use a Stacked Column chart. For the data series you wish to be visible view the properties of the series, and under CustomAttributes set PointWidth to be 1.1.
When rendered this will then look like as below

SSRS Frame around several Charts?

I am creating a dashboard and wanted to add a Frame/ Border/ Signifier around a series of seperate charts to show they are related to each other. For the life of me I can't sort out how to do this.
An example would be the Cost Per Year section in the lower left
There are 4 gauges, and 4 bar charts. I am doing something similar, well, attempting to do something similar
Use a rectangle, put your gauges, charts, etc inside the rectangle, then you can add text boxes, borders, background colours to the rectangle.
the rectangle can grow to contain what ever is in it

Fix bar chart spacing between bars in SSRS

I'm trying to create a report with a bar graph like the one shown. I would like the space between the labels 31 and 38 represent the space between the numbers 31 and 38.
In other words, I need the places where there are arrows to have more space (or labels with zero data).
Is there some way to do this?
You will need to return all x-axis values that you want to display but have a null when there is no value. The chart should still plot the x-axis points with no bar.