MQL5 ReferenceStandard LibraryGraphic ObjectsLine ObjectsCChartObjectTrendType CreateRayLeftRayRightSaveLoadType Type Returns graphical object type identifier. int Type() const Return Value Object type identifier (OBJ_TREND for CChartObjectTrend). Load CChartObjectTrendByAngle