私たちのファンページに参加してください
- ビュー:
- 8592
- 評価:
- パブリッシュ済み:
- 2019.01.02 10:22
-
このコードに基づいたロボットまたはインジケーターが必要なら、フリーランスでご注文ください フリーランスに移動
A simple class to simplify working with objects.
It was like this:
ObjectCreate ( 0 , "name" , OBJ_TEXT , 0 , 0 , 0 ); ObjectSetString ( 0 , "name" , OBJPROP_TEXT , "Hello, World!" ); ObjectSetString ( 0 , "name" , OBJPROP_FONT , "Calibri" ); ObjectSetInteger ( 0 , "name" , OBJPROP_FONTSIZE , 16 ); ObjectSetInteger ( 0 , "name" , OBJPROP_COLOR , clrLimeGreen ); ObjectSetInteger ( 0 , "name" , OBJPROP_ANCHOR , ANCHOR_LEFT_LOWER ); ObjectSetInteger ( 0 , "name" , OBJPROP_TIME , TimeCurrent ()); // * ObjectSetDouble ( 0 , "name" , OBJPROP_PRICE , Ask ); // * // *For moving the object after creation
It became so:
_( "name" ) // ! name is required .type( OBJ_TEXT ) // ! type is required .text( "Hello, World!" ) .font( "Calibri" ) .fontSize( 16 ) .colour( clrLimeGreen ) .anchor( ANCHOR_LEFT_LOWER ) .time( TimeCurrent ()) .price( Ask );
The result:
Method names for the most part coincide with standard constants.
![Heikin Ashi Trader](https://c.mql5.com/i/code/expert.png)
"Heikin Ashi Trader" EA trades with a strategy based on Heikin Ashi indicator (not visible) and has Trailing Stop Loss &Take Profit works best on 1D time frames major forex pairs and stocks NASDAQ.
![Fractals and Alligator](https://c.mql5.com/i/code/expert.png)
"Fractals & Alligator" EA trades with a strategy based on Fractals & Alligator indicators and has Trailing Stop Loss &Take Profit works 1D time frames major forex pairs and stocks NASDAQ.
![Hedg System](https://c.mql5.com/i/code/expert.png)
"Hedg System" EA trades with hedging strategy two trades at any given time: Buy and Sell ,works best on 1D time frames major forex pairs .
![Macd Power](https://c.mql5.com/i/code/expert.png)
"Macd Power" trades with 2 " Macd " indicators has virtual Stop Loss & Take Profit works on 4H & 1D time frames major forex pairs and stocks NASDAQ.