Download MetaTrader 5

How I can identify the color of the trendline of the indicator?

To add comments, please log in or register
MQL5.community allows users to store their source codes in MQL5 Storage. Try it!
Tiago Cetto Pietralonga
459
Tiago Cetto Pietralonga 2016.08.31 19:36 

How I can identify the color of the trendline of the indicator?

 

Thank you 

Marco vd Heijden
Moderator
4707
Marco vd Heijden 2016.08.31 21:52  
Tiago Cetto Pietralonga:

How I can identify the color of the trendline of the indicator?

 

Thank you 

. Immediately returns the property value.

long  ObjectGetInteger(
   long                             chart_id,          // chart identifier
   string                           name,              // object name
   ENUM_OBJECT_PROPERTY_INTEGER     prop_id,           // property identifier
   int                              prop_modifier=0    // property modifier, if required
   );

ENUM_OBJECT_PROPERTY_INTEGER

Identifier

Description

Property Type

OBJPROP_COLOR

Color

color

To add comments, please log in or register