Easy Object - MetaTrader 4 Library | MT4 EA Download - MetaTrader 4 Resources

A simple class to simplify the manipulation of objects.
Here's the thing:
Object Create ( 0 , "Name" , ObjectText , 0 , 0 , 0 ); Object Set String ( 0 , "Name" , OBJPROP_TEXT , "Hello World!" ); Object Set String ( 0 , "Name" , OBJPROP_FONT , "Calibri" ); Object Set Integer ( 0 , "Name" , OBJPROP_FONTSIZE , 16 ); object set integer ( 0 , "name" , OBJPROP_COLOR , lime green ); object set integer ( 0 , "name" , OBJPROP_Anchor , ANCHOR_LEFT_LOWER ); object set integer ( 0 , "name" , OBJPROP_TIME , time current ()); // * Object Set Double ( 0 , "Name" , OBJPROP_PRICE , Q ); // * // *Used to move objects after creation
It becomes like this:
_( "Name" ) //! Name is required . type( object text ) //! Type is required .text( "Hello world!" ) .font( "Calibre" ) .font size( 16 ) . Color ( lime green ) . Anchor ( ANCHOR_LEFT_LOWER ) . time( timecurrent ()) . price( ask );

Method names are mostly consistent with standard constants.
Attachment download
📎 easyobject.mqh (16.29 KB)
📎 scr_easyobject.mq4 (1.08 KB)
Source: MQL5 #23261
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •