Dave 13 / Publications
Forum
Help MQL5 Math functions converted to MQL4 code
Hello All, Has any one converted MQL5 Math functions such as "Beta, Exponential , Gamma" and or others from the MQL5 subfolder include>Math>stat to MQL4 code ?? I would like to incorporate some of the MQL5 Predefined Math code into MQL4 if possible. I'm not sure if this can be done. I received
Dukascopy vs Darwinex Historical tick data. Back-test Results Differ
Hello MQL4 community, I am having some discrepancy mismatches when comparing tick data generated from Dukascopy & Darwinex during MT4 back-testing. I'm not sure if any one has some insight on how tick data is collected from these perspective broker providers, and how precise the tick data is for
Help Spammed error messages in Journal
void EnterOppositeTrade() { tradeNumber= 1 ; string cmt = ( string )tradeNumber+ " " ; //Print("Entering Opposite Trade",cmt); // Comment from CHART double SL= Bid+(StopLoss*pips); //double Stoploss= NormalizeDouble(Sl,Digits); double price =Bid; double Pt=
How to take Profit with RSI Indicator signal is reached.
Hello, I am trying to Close an open trade once RSI signal is at Threshold. My trade triggers fine when RSI is above 80, but i am trying to close it when it reaches 20. How do i do this? I feel like I am over thinking this
Practice/ Coding Resources
Hello All, Does anyone know of any good Coding Resources to Practice and learn from? Quizzes/Tests would be great as well. Resources i am currently using include: Book: Expert Advisor Programming for Meta Trader 4 by Andrew R. Young. Udemy.com Instructors Mohsen Hassan & Kirill Eremenko Youtube
Class Function Help
Hi All, I am working on creating a class that will be used when called upon. I'm basically trying to make sure that system always uses the server time when trading on certain days. However, i have come across an issue where i can not see the mistake, if any done. Any ideas/help would be much
Help Int function
Hello, I am new to coding and to this forum and am seeking help with the below code: Trying to trouble shoot what i did wrong I am receiving the error 'int' - semicolon expected Any ideas would be very helpful thank you void OnStart () int dayoftheweek = DayOfWeek(); bool dayoftheweek() {