Forum

How to write a comment in a blank indicator ?

Hello Everyone ,, I need a little help I have calculations are shown on the chart but by a robot not as indicator , as comment , I want to make a comment on a blank indicator just to show my variables calculations with updated seconds interval, I tried but couldnt , Any help is appreciated, the

Regular expression to trim a price and store each value in a variable

Hello Everyone, I am new to mql5 & programming in general and need a little help here. I need to break (trim) each number "if the dot is found should be ignored, and store it in a separate variable. where i can start dealing with it. For example: Gold price now is 1884.55 I want to divide it into 6

How to comment on a blank custom Indicator ?

Hello Everyone ,, I need a little help I have calculations are shown on the chart but by a robot not as indicator , as a comment , I want to make a comment on a blank indicator just to show my variables calculations with updated seconds interval, So the same comment to work on Indicator instead of

get last X Candle lower low value, or last X candle Higher high value

Hi friends , I am new in mql5 , I am able to get last 48 hours low of 2 H. time frame like that : (iLow(Symbol(),PERIOD_H2,48)) what if I want to get the last Lower low X Candles ? for example , I want the code keep going back and count last 5 consecutive Lows , get me the price of the low of the

Best integration mechanism between MQL5 / or 4 and Microsoft/Google Excel

Hello everyone , Just an advice please , I am going to request a developer assistant to integrate the EA with excel , either via Microsoft excel online or google sheet , where my entry point & exit are based on excel formula. where I copy data to excel file then formulas give me results. as I am ver

Pending order report to CSV

Hi,, I found below code , it does what I want, the problem it dumps all orders types , I just need the pending orders: I believe my problem in this line: ---> ENUM_ORDER_TYPE type=(ENUM_ORDER_TYPE) OrderType(); I need to put only below Identifiers : ORDER_TYPE_BUY ORDER_TYPE_SELL

place pending orders by commands/script

Hi Everyone, I just need to: 1- write a simple command to place a pending order . 2- get a list of my exiting pending orders. I just need where I can start to dig about above, I searched a lot , maybe I am missing the correct keywords to help me here. Regards Ahmad