Added a separate int, TriangleWidth where the width of the triangle can be typed.
chris006 wrote: Tue Nov 22, 2022 5:35 pm I have 2 instances of this indicator on the same chart by using different values for:
- btn_txt
- copy
Regarding mtf, you can get more or less the same result if you multiply the values in "Period1" and in "Period3". For example, being on the 1m timeframe, to get the triangles for 9-36 of the 5m timeframe, put in Period1 the value 45 and in Period3 the value 180. To be precise the "BarsCount" will also have to be changed proportionally.
The thickness of the triangles not changing is indeed a problem, maybe one of our coders can solve it.