Forum

Currency trading Forex (Ultra deep neural netowrk) Project

Hello everyone! For past 2 years I've been now working on a project an automated currency trader what (should) over perform a human. My project is almost finish, whats left is to code and I need help with it. Soon my internet access and over all computer access will be fairly limited and I'm kind of

Downloading Historic data from MetaQuotes, will timezones get mixed with broker's when they differ?

Hello everyone! Most brokers don't offer rich amount of historic data, mostly they stick with few months of data if we're talking about 5 minute candles. Luckily metatrader offers to download more historic data too see futher into past just by pressying f2, selecting symbol and clicking download. It

2 indicators in one indicator window, how is their position calculated/modified so their range matches?

Hello! When you put 2 indicators in same indicator window what value ranges doesn't match then metatrader is making the graph still match. rsi and wpr has the range between 0 to (-)100 what can easily be mapped in graph however momentum has a range from 90-110. The reason why i'm trying to figure

Calculating Relative Strenght Index

Hello everyone! I'm trying to calculate rsi in my dll: double rsi( int period, double *open, double *high, double *low, double *close, int pos) { double nsum = 0.0 , psum = 0.0 , dif; for ( int a = 1 ; a <= period; a++) { dif =

Need source code for functions:iMACD, iWPR, iRSI, iMA, iMomentum

Hello everyone! I want to know how functions , names in title, work so I could recode them on my c++ project and calculate them on my costom data from outside of the metatrader. Since metatrader don't allow me to change historic candle data I felt like recreating some indicators what I'm using

Changing candle in history data

Hello everyone! I'm building a training data for my genetic neural networks. What do i do is, go throught entire history data with CopyOpen .. CopyLow then I normalize the change between open[i] - open[i - 1]; I'm also using iCostom and other indicator functions . Now here's what I want to do: For

Getting day candles in incomplete state from history data ( Day candle what hasn't completly formed )

Hello everyone! I want to get a Day candle in the middle of the day from the history data but the thing is that I want it to be unformed. Usually if copy the day candle from history data and the time is yesterday or earlier then we're gonna get the fully formed day candle. What I want is to simulate

Price floors ( costom support resistance indicator ), anyone have something similar like in this image:

Hello everyone! Does anyone have the indicator what creates those lines like in picture: The color thing is not important, I made them manually. I was hoping to represent lines what are higher than current price, yellow and ones what are lower, blue. Thanks

How to get candle position by time on history data?

Hello everyone! I want to get a CopyRate's start_pos for date's 2008.25.04 day's first candle. How could I do it? Thank you

Do I need to free dymanic array memory here? ( copyrates )

Hello everyone! I was looking at the function and its example code: https://docs.mql4.com/series/copyrates void OnStart () { //--- MqlRates rates[]; ArraySetAsSeries (rates, true ); int copied= CopyRates ( Symbol (), 0 , 0 , 100 ,rates); if (copied> 0 ) { Print ( "Bars copied: "