Forum

How to read or get the RSI or any indicator parameters in runtime

Hi all, I would like to know if there is a way to read or get for example the parameters of RSI in runtime as image below

About right-click trailing stop option

Hello and yes I know there are a lot of topics about this but I was wondering because there is an option called Trailing Stop in right-click menu over a position. Why isn´t there an API for manage directly this option instead inventing an EA and let it run in real-time. I don´t understand. Or if

Arbitration "Half cancel" type.

Hello colleagues. I had an arbitration 1 day ago because the client and me decide to finish the job by "Half cancel" option. This is the last message that I got from the chat: Customer has canceled the order as "Money in half". Payment to the Developer has been made in half the amount, the second

MovingAverages.mqh is not working!!!

Hello, I need some help with this code, I only need plot a MA (case 1) and EMA (case2) through MovingAverages.mqh but in the first case moving is drawing this way: And the case 2 (EMA) this is the result: This is the code. #property copyright "" #property link "" #property version "1.00"

Tester bug in MQL5

Hello, Official Development Team of MQL5, I want to report a bug in the tester window. When I draw arrows above every candle on the chart (not an indicator buffer ) just I created an EA that draws arrows, some arrows are drawn while others not, and this happens randomly. And I would like to know How

ChartIndicatorAdd() in MT4

It would be stunning add this function to MT4, meanwhile how Can I achieve this sort of thing in MT4. What I really need is overlay to different indicators (BB and RSI) in the same sub window from code. Thanks

How to get the open, close and profit price of an order from history section in MQL5

I'm trying to get the open, close price s and the profit of an ORDER in the history section, but I do not know how to achieve this. I'm trying with the following code: HistorySelect ( 0 , TimeCurrent ()); int totalDeals = HistoryDealsTotal (); int totalOrders = HistoryOrdersTotal ();

How to make the ComboBox control like Edit control

How can I make the ComboBox control lets me input data like an Edit control not only by choosing the predefined values by code, but also, typing any value that I want to?. This control was taken from another software, but the idea is the same. The image in the left side shows predifined values and a

STRATEGY TESTER DOES NOT WORK

Hello everybody I am testing a EA that I created. I want to test it in one year range (from january to december) but the strategy tester stops on february and the report displays almost all its values to zero. Not just february but march, april...and so on, it just runs the testing for some days and

How to get maximum volume per position

Hello everyone, it must be something easy but I don´t know, I would like knowing, how I can get the maximum volume per order before the common message "not enough money" being shown. I tried with the function SYMBOL_VOLUME_MAX but for instance my demo account is (Type: STANDARD, Leaverage: 1:100