Hello guys, I just came across the function SymbolInfoCommissions() and I am sure I haven't seen this before. So it would be good to know which new functions are available after an update. Where can I find them? Thank you
Hey guys, is it somehow possible to find out how many candles are shown on a 800x600 screenshot before the screenshot is made? I know there are some variables like the chart shift and the chart scale. But I have no idea how to find out the number of
Hey guys, I use a scanner and when certain situations in the market happen, this scanner saves a screenshot with lines and annotiations and copies it into my own Telegram channel which is just for me. Unfortunately I have absolutely no idea how this
Hello guys, I made this script but it only shows 0.0 as a result when I drag the script into a chart with a running position. Can somebody tell me what's wrong with the code? void OnStart () { for ( int i= 0 ;i< PositionsTotal ();i++)
Hey guys, I made a small indicator which shows inside candles. Now I want to check if the candle's close is above or below the open price and I want to change the color of the dot accordingly. I know how to do this with two buffers but I want to know
Hello guys, I am not sure how to assess if a spread is large or small. I tried to compare it with the average daily range and I also compared the spread to the value of the currency itself. What makes most sense for you? It is not only the points
Hey guys, I will never understand how the loop of an indicator works. It's easy when I calculate the whole indicator with every tick but it should be a bit more efficient. Only the new bars should be calculated. I read many articles about
Hello guys, I want to make an expert which checks if a position was closed by the stoploss. As soon as a position is closed by a stoploss I want to be noticed by an Alert. What is the best way to do this? Would you check the order-history with every
Hello guys, I just opened a MetaQuotes demo account because they offer real time stock data from the NASDAQ but I saw that the quality of the EOD data is not the best (daily open and close is very often different from other data sources like
Hey guys, Can someone tell me why it's not possible to check if + or - is pressed in CHARTEVENT_KEYDOWN ? It doesn't work with if (lparam=='+') and it doesn't work with if (lparam==char(189)) either. But why? How can I check if these keys are
Hello guys, can someone tell me how to update a file without overwriting it? I made a small script which saves the current time to the file TEST.CSV. This script overwrites the file before but I want it to add the current time to the existing file so
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
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=
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
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