Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 1955
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Can someone please help me i turned off autotrading and trades keep getting made and they are all losing and my account is getting drained and Oanda wont get back to me
hello
My name is nelson I am new programmer I was asking if it possible to make Depth of market indicator using mql4. if there is any please help with that.
Not possible on MQL4! Consider moving to MT5.
Not possible on MQL4! Consider moving to MT5.
OK THANK YOU SIR
Hello! Can you tell me why my integer 'Prevent Order' is not being revalued to '0' in the bottom section? Everything else works fine.
Hello! Can you tell me why my integer 'Prevent Order' is not being revalued to '0' in the bottom section? Everything else works fine.
Do not double post!
I have deleted your other topic.
You are using a LWMA period of three.
On MT4 v434, division quotient don't give floating point values(Bug??) - MQL4 programming forum (2012)
build 2504 & 2506 Bug - General - MQL5 programming forum - Page 2 #17 (2020)
The ENUM_APPLIED_PRICE PRICE_HIGH is two. Two+two/3000 =two=PRICE_HIGH
Use the debugger or print out your variables, including _LastError and prices and find out why. Do you really expect us to debug your code for you?
Code debugging - Developing programs - MetaEditor Help
Error Handling and Logging in MQL5 - MQL5 Articles (2015)
Tracing, Debugging and Structural Analysis of Source Code - MQL5 Articles (2011)
Introduction to MQL5: How to write simple Expert Advisor and Custom Indicator - MQL5 Articles (2010)
Hello!
I'm trying to write a function that allows for trading within 5 min before the candle close (on D1).
After hours of head scratching, I noticed that Strategy tester is NOT evaluating all ticks toward the end of the candle close. As an example, see this transition from 1/4/21 to 1/5/21. I use Tick-level data downloaded from Dukascopy.
24 hrs is 86400 seconds, so I want to start trading window after the 86100 th sec (5 min before candle close), but the latest recorded tick was "79200", so it doesn't work.
Here's the code to replicate the issue and I'd appreciate your help! Thanks :)