For those who still participated in the numer.ai contest -
There once introduced their cryptocurrency (NMR), and at first gave it away a little bit to active contest participants, and then began to give for victories along with dollars, check may be you have accrued them. Now you can withdraw NMR from contest account, and through exchangers to the ordinary money.
I think I've already asked here somewhere, but I forgot, how can I bring different currency pairs with different prices to a single scale that would allow you to add, subtract, etc. one BP from the other, and then there was the 101st brilliant idea and need 101st time to understand that it does not work)
mytarmailS: I've already asked here somewhere, but I forgot, how can I bring different currency pairs with different prices to the same scale, that it would be possible to add, subtract, etc. one BP from the other, but I had the 101-th genius idea and for the 101-th time I realized that it does not work)
mytarmailS: I think I've already asked somewhere here, but I forgot, how can I bring different currency pairs with different prices to the same scale, that it would be possible to add, subtract, etc. one BP from the other, but I had the 101st genius idea and for the 101st time I realized that it does not work.)
Bros!!! Hi all.... I decided to migrate to MQL5, so please help me with code in some aspects... It takes too long to get an answer from support... They may not answer...
I made a new indicator but it does not output a value of a variable... Can someone tell me what to do?
head(li[[1]])
ticker per date time open high low close vol
1 SPFB.RTS 52016010410050075390763207525076000143192 SPFB.RTS 5201601041010007600076030757907590048183 SPFB.RTS 5201601041015007592076050758507597029474 SPFB.RTS 5201601041020007597076120759007608024155 SPFB.RTS 5201601041025007608076140758707592023476 SPFB.RTS 520160104103000759107601075580756403787
> head(li[[2]])
ticker per date time open high low close vol
1 SPFB.BR 52016010410050036.6738.2036.6737.63401852 SPFB.BR 52016010410100037.6337.6437.5837.6159143 SPFB.BR 52016010410150037.6237.6337.5637.6151034 SPFB.BR 52016010410200037.6237.7737.6237.73135135 SPFB.BR 52016010410250037.7437.7837.5937.6050616 SPFB.BR 52016010410300037.6037.6637.4837.536239
> head(li[[3]])
ticker per date time open high low close vol
1 SPFB.GAZR 5201601041005001391213943138501393647122 SPFB.GAZR 5201601041010001393613943139171393711803 SPFB.GAZR 5201601041015001393413937139211392612984 SPFB.GAZR 520160104102000139311393813925139342945 SPFB.GAZR 520160104102500139351394113927139275406 SPFB.GAZR 52016010410300013931139341388913896704
All instruments have dates and time on different indexes, each instrument has "holes". How can I drop dates from all instruments and leave only those dates and time which are present in all instruments, simply speaking to synchronize all these dataframes
Bros!!! Hi all.... I've decided to migrate to MQL5, so please help me with the code in some details... It takes too long to get an answer from support... They may not answer...
I made this code and it does not output variable value... Can someone tell me what to do?
1. You don't know which value you want to output.
2. The custom indicator is not called correctly. Read about the features of iCustom in MT5.
How to remove from all tools the dates and times, that is to leave only the dates and times that are present in all tools, simply speaking to synchronize all these dataframes
I did so - created a new column where I combined date and time, and then searched for the coincidence of such values in different tables.
liSynchronized <- li
#создание новой колонки по которой будут сравниваться значения разных таблиц
for(i in 1:length(liSynchronized)){
liSynchronized[[i]]$datetime <- paste0(liSynchronized[[i]]$date, liSynchronized[[i]]$time)
}
while(TRUE){
somethingChanged <- FALSEfor(i in 1:length(liSynchronized)){
syncIndexes <- rep(TRUE, nrow(liSynchronized[[i]]))
for(j in (1:length(liSynchronized))[-i]){
syncIndexes <- syncIndexes & (liSynchronized[[i]]$datetime %in% liSynchronized[[j]]$datetime)
}
if(!all(syncIndexes)){
somethingChanged <- TRUE
}
liSynchronized[[i]] <- liSynchronized[[i]][syncIndexes, ]
}
if(!somethingChanged){
break
}
}
Also discarded bars introduce errors in ohlc values, i.e. the bar closed at one price, and then because of the deleted bar the next one in the table will open at a different price, and High and low of the deleted bar will be lost at all. High, low and close of the deleted bar should be compared with the previous non-removed bar and update it if necessary. I was just working with open prices, so I did not bother so much.
For those who still participated in the numer.ai contest -
There once introduced their cryptocurrency (NMR), and at first gave it away a little bit to active contest participants, and then began to give for victories along with dollars, check may be you have accrued them. Now you can withdraw NMR from contest account, and through exchangers to the ordinary money.
Here is the exchange rate to the dollar, for examplehttps://www.cryptonator.com/rates/NMR-USD, quite a lot.
https://bittrex.com/Market/Index?MarketName=BTC-NMR
I've already asked here somewhere, but I forgot, how can I bring different currency pairs with different prices to the same scale, that it would be possible to add, subtract, etc. one BP from the other, but I had the 101-th genius idea and for the 101-th time I realized that it does not work)
Variable normalization or normalization
I think I've already asked somewhere here, but I forgot, how can I bring different currency pairs with different prices to the same scale, that it would be possible to add, subtract, etc. one BP from the other, but I had the 101st genius idea and for the 101st time I realized that it does not work.)
Bros!!! Hi all.... I decided to migrate to MQL5, so please help me with code in some aspects... It takes too long to get an answer from support... They may not answer...
I made a new indicator but it does not output a value of a variable... Can someone tell me what to do?
Help me remember how to do this ...
There are about 6 tools in a li sheet
All instruments have dates and time on different indexes, each instrument has "holes". How can I drop dates from all instruments and leave only those dates and time which are present in all instruments, simply speaking to synchronize all these dataframes
Bros!!! Hi all.... I've decided to migrate to MQL5, so please help me with the code in some details... It takes too long to get an answer from support... They may not answer...
I made this code and it does not output variable value... Can someone tell me what to do?
1. You don't know which value you want to output.
2. The custom indicator is not called correctly. Read about the features of iCustom in MT5.
Help me remember how to do this ...
There are about 6 tools in a li sheet
How to remove from all tools the dates and times, that is to leave only the dates and times that are present in all tools, simply speaking to synchronize all these dataframes
Also discarded bars introduce errors in ohlc values, i.e. the bar closed at one price, and then because of the deleted bar the next one in the table will open at a different price, and High and low of the deleted bar will be lost at all. High, low and close of the deleted bar should be compared with the previous non-removed bar and update it if necessary.
I was just working with open prices, so I did not bother so much.
1. It is not clear which value of the variable you want to output.
2. The custom indicator is not called correctly in the code - read about features of iCustom in MT5.
Ahem... ahem... How do you think this information helped me if I've already read the help and I'm a little bit confused....
Ahem... Ahem... and how do you think this information helped me in any way???? if I already read the help and didn't understand a bit....
Well, how can you help if you haven't answered - what kind of variables do you need to call?
And for iCustom, you need to create a hendel - i.e. bind it to a variable.
I do it approximately like this in my Expert Advisor (the principle is the same in an indicator...)