How optimize object trendline EA

 

I have trenline EA and want to optimize this.

How can modify trendline code because optimizer cannot read trendline

 
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.

 
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?
 
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: