Forum

Difference between Point and _Point MQL4

Hello experts i have a question about _Point and Point i seen both are use in same place such as in below example Point is used at the End of Stop-Loss. but both colors different. ticket= OrderSend ( Symbol (),OP_SELL,lot,Bid, 3 ,Bid+StopLoss* _Point , 0 , "Fxtradewar@gmail.com" ,MagicNumber, 0

Double value doesn't show Normalize digits

Hello Everyone i used a normalize function for a double value but it doesn't show fixed digits in results. sometime it shows 2 digits value such as 1.10 that is correct. but sometime it shows me 1.100000000000 Can you help me to understand how to fix it and why it giving this issue. because it can

MQL5 Cloud Issue > MT5 Strategy Tester Agent Uninstalling Automatically

Hi Recent i was joined MQL5 Cloud Service as Agent. but there is a major problem with the Strategy tester agent . it automatically uninstall itself. it may be work properly 1 day or two day. in our mind our agent service is running in background. but there is nothing. i don't use High firewall

How to get each line from file to array

Hello, i need a very simple code to get data from file. in the file have some data in lines. Example: 2021.01.01 01:00:00 2022.01.02 01:00:00 2023.01.03 01:00:00 2024.01.04 01:00:00 2025.01.05 01:00:00 i am using this method with manual. string list[] = { "2021.01.01 01:00" , "2022.02.02 01:00"

get value from function return(value) mql4

Hello Respected Experts i need your little help can somebody tell me how we can get a value from a function return. here is my example. //StartFunction Execute always int start() { //Below nHighPrice Variable calling Hlevel(30,0) Function and getting double value. double nHighPrice = Hlevel( 30 , 1

Load Custom indicator with a Button in EA?

Hello my dear experts hope everyone is fine. my question is . is it possible to load a indicator on our chart with a button. for example if we add a button in our EA and want to implement Bollinger Band or RSI or any indicator that we want to show on chart. if it is possible to add a indicator with

How to get center of the two prices with 50%

Hello Everyone I have two prices: Highprice = 1.14950 Lowprice = 1.05221 centerprice =? and i want to get center price of the Highprice and Lowprice i need your help Thanks