Marbo
Marbo
Marbo
Added topic Installing the MT5 on a Mac (M2 processor) with Parallels Desktop
Hello! Did anyone install MT5 on a Mac with M2 processor using Parallels Desktop? I always receive an error when I click on the install-file. I used the MT5 install file from different brokers and from MetaQuotes but nothing works
Marbo
Added topic Problems with a script which should delete a pending order
Hey guys, I always get error #4756 and I have no idea why... can anyone help? void OnStart () {    int totalOrders= OrdersTotal ();    for ( int i=totalOrders;i>= 0 ;i--) {        ulong ticket=
Marbo
Added topic ChartNavigate() is driving me crazy...
Hey guys, I am really desperate about the function ChartNavigate(). The following script should scroll to the the start of yesterday's daily candle on the m1 timeframe. The variable "pos" is absolutely correct. Why doesn't ChartNavigate() work? The
Marbo
Added topic Checking all running positions and move the SL to breakeven when critera are met
Hello guys, can you help me with this problem? I always receive an invalid request  (error 4756 invalid stops) when the SL should be moved to breakeven. But in the log file I can see that the SL is correct
Marbo
Added topic Sending emails with a screenshot as attachment?
Hey guys, does anyone work with emails with attachments? I found an older posting about that topic but that’s not too easy to understand. Maybe someone already uses this and can help me? I made an indicator which runs on a server and alerts me when a
Marbo
Added topic How can I check if a market is closed?
Hello guys, is there a possibility to check if a market is closed? I tried to find something within SymbolInfoInteger() but there was nothing useful for me. Thanks
Marbo
Added topic Printing a line at the lowest low of the last 100 candles
Hello guys, can someone tell my why this code doesn't work correctly? #property indicator_chart_window #property indicator_buffers 1 #property indicator_plots    1 #property indicator_type1    DRAW_LINE #property indicator_color1
Marbo
Added topic How can I multiply ENUM_TIMEFRAMES?
Hello, I made this test script and it doesn't work because I don't know how to multily timeframes correctly. void OnStart () {    ENUM_TIMEFRAMES tf= PERIOD_M5 ;    ENUM_TIMEFRAMES htf=tf* 48 ;    Print (htf);
Marbo
Added topic Question about a multi-timeframe matrix
Hello guys, I made this test-indicator which checks all of my selected pairs and timeframes for correct history data so I can work with them. This indicator should only check the timeframe when it's necessary. So it doesn't make sense to check the H4
Marbo
Added topic List all files in the Files-folder with FindFileFirst() possible?
Hello, is it possible to list all files of the directory TerminalInfoString(TERMINAL_DATA_PATH)+"\\MQL5\\Files\\" ? I tried to use the script from Metaquotes which is found at the description of FindFileFirst() but that didn't work. I always
Marbo
Added topic Market orders always fail because of error #4756 [Unsupported filling mode]
Hello guys, I plot a line in my chart, called "sl". Then I execute my code and I always receive this [Unsupported filling mode] error #4756. I use almost the same code for my pending orders and they work. But where is the difference between a market
Marbo
Added topic Why is the ATR (indicator and self-calculated) not the same?
Hello guys, I made a little script which shows the ATR(100). I did it by using the built in ATR indicator and by calculating it in a loop. Can someone explain why the results are not the same? void OnStart () {    double bufferATR100[];
Marbo
Added topic I have problems with a buffer
Hey guys, I made this indicator showing me candles where the body size is <0.5 x candle size. These candles are indicated by a dot in the middle of the body. My problem occurs when I am changing the timeframe. There are always some dots somewhere
Marbo
Added topic Message Box with Inputs possible?
Hello, when I press "T" I want to enter trade levels (entry, stoploss, takeprofit). At the moment I can only do it by using OBJ_TEXT . Is this also possible with a Message Box or something similar? I don't use the regular trade window because I use
Marbo
Added topic Question about TRADE_TRANSACTION_ORDER_DELETE in OnTradeTransaction()
Hello guys, when I place a pending order I draw three objects to visualize the SL and TP. If I delete this pending order manually I want that these three objects are deleted automatically. That works fine. My problem is that these objects are also
Marbo
Added topic Can I change a boolean variable (in object properties) without checking it?
Hi all, when I click on a rectangle, I use this code: if ( ObjectSetInteger ( 0 , "object" , OBJPROP_FILL ) ObjectSetInteger ( 0 , "object" , OBJPROP_FILL , false ); else ObjectSetInteger ( 0 , "object" , OBJPROP_FILL , true ); Is it possible to
Marbo
Added topic CopyTime() always shows a compiling error ("no one of the overloads can be applied to the function call")
Hello, can anyone tell me why this CopyTime() always shows a compiling error? void OnStart () {    int bars= Bars ( _Symbol , PERIOD_CURRENT );    MqlDateTime times[];    ArraySetAsSeries (times, true );   
Marbo
Added topic Using EMAs in a script to filter trends causes #4806 and #4022
Hello, I wanted to make a script which checks the first 100 symbols in the list if they are in an uptrend according to this definition: EMA50 > EMA200 and no price low should touch the EMA50. And these criteria should be met in the last 10
Marbo
Added topic Is it possible to load only 100 bars of the complete history?
Hello, I code a scanner which scans around 30 pairs and 6 timeframes. I use only one open chart for the scanner and to make sure that the necessary historical data is loaded I use Bars(). Is there a possibility to do it another (faster) way because I
123