How optimize object trendline EA

Aung Swar  

I have trenline EA and want to optimize this.

How can modify trendline code because optimizer cannot read trendline

Vladimir Karputov  
Aung Swar :

I have trenline EA and want to optimize this.

How can modify trendline code because optimizer cannot read trendline

If the name of the Trend Line is set as "string" then the ban is triggered: the parameters of "string" cannot be optimized.

Aung Swar  
Vladimir Karputov:

If the name of the Trend Line is set as "string" then the ban is triggered: the parameters of "string" cannot be optimized.

How can I modify this trendline.there are another ways to optimize trendline or trendline never optimized?
Vladimir Karputov  
Aung Swar:
How can I modify this trendline.there are another ways to optimize trendline or trendline never optimized?

the parameters of "string" cannot be optimized.

Reason: