거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Telegram에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
라이브러리

Easy Object - MetaTrader 4용 라이브러리

조회수:
8636
평가:
(21)
게시됨:
2019.01.02 10:22
\MQL4\Include\
EasyObject.mqh (16.29 KB) 조회
\MQL4\Scripts\
MQL5 프리랜스 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

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:

Hello, World!

Method names for the most part coincide with standard constants.

Heikin Ashi Trader Heikin Ashi Trader

"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 Fractals and Alligator

"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 Hedg System

"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 Macd Power

"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.