Forum

Highest high Number or Time

HH = iHigh ( Symbol (), TimeFrame, iHighest ( NULL , 0 , MODE_HIGH ,NoOfBars,StartingBar)); LL = iLow ( Symbol (), TimeFrame, iLowest ( NULL , 0 , MODE_LOW ,NoOfBars,StartingBar)); Please, is it possible to use a formula to find out which bar had highest high and lowest low or the time when it

OBJ_TREND

ObjectCreate ( 0 , "Low" , OBJ_TREND , 0 , iTime ( NULL , PERIOD_MN1 , 3 ),lowY, TimeCurrent (),lowY); ObjectSetInteger ( 0 , " Low" , OBJPROP_RAY , true ); ObjectSetInteger ( 0 , " Low" , OBJPROP_COLOR , clrRed ); ObjectSetInteger ( 0 , " Low" , OBJPROP_STYLE , STYLE_SOLID ;

Current Month Name mql5

How please write a formula so that I can display the name of the current month in the label

Buffer static and non static

Please double USDCADOPEN = iOpen ( "USDCAD" , PERIOD_D1 , 0 ); double USDCHFOPEN = iOpen ( "USDCHF" , PERIOD_D1 , 0 ); double USDJPYOPEN = iOpen ( "USDJPY" , PERIOD_D1 , 0 ); double AUDUSDOPEN = iOpen ( "AUDUSD" , PERIOD_D1 , 0 ); double EURUSDOPEN = iOpen ( "EURUSD" , PERIOD_D1 , 0 );

Metatrader 5 OBJ_FIBO Price

Please how to display the price that fibo has ? //--- установим количество уровней ObjectSetInteger (chart_ID,name, OBJPROP_LEVELS ,levels); //--- установим свойства уровней в цикле for ( int i= 0 ;i<levels;i++) { //--- значение уровня ObjectSetDouble (chart_ID,name

2 symbols in mt5 only

#define ExpiredErr "Please contact the seller, this version has expired. " #define ExpiredErrr "Wrong symbol " int OnInit () { //--- Enable Trail datetime expire_date = D'2024.04.01' ; if ( TimeCurrent () >= expire_date ) { Comment (ExpiredErr); Alert (ExpiredErr); return ( INIT_FAILED );}

ObjectsDeleteAll MQ5

Please, where should I write the mq5 code to remove all objects when removing the Expert from the graph

TickValue in mq5

please what is the correct formula for mq5 when mq4 is like this ? MarketInfo(ExtSymbols[i], MODE_TICKVALUE)

How to change the background color

ObjectCreate ( "Lot_Edit" , OBJ_EDIT , ChartWindowFind (), 0 , 0 ); ObjectSet ( "Lot_Edit" , OBJPROP_CORNER , Corner); ObjectSet ( "Lot_Edit" , OBJPROP_XSIZE , Button_Width); ObjectSet ( "Lot_Edit" , OBJPROP_YSIZE , Font_Size* 2.8 ); ObjectSet ( "Lot_Edit" , OBJPROP_XDISTANCE , 135 +

This week profit

//This Week Profit int WeekTime= iTime ( NULL , PERIOD_W1 , 0 ); int WeekTimeLast= iTime ( NULL , PERIOD_W1 , 1 ); double ProfitWeek= 0 ; int WeekTrades= 0 ; for ( int z=(OrdersHistoryTotal()- 1 ); z>= 0 ; z--) { if ( OrderSelect (z, SELECT_BY_POS