Hi guys i create a dll in c++ for visual studio 2019 for read ini file i suppose is correct the code because compile and not return error , but unfortunately , when i call it, by mql4 not return nothing , i follow this tutorial https://www.mql5.com/en/blogs/post/753426#comment_48337118 , i suggest this tutorial because is easy and very step by step and author @lorio give a support , i am not expert in c++ and especially c++ for create dll , ( i modify a example that just worked ) this is my code in c++
and this is my code in mql4
in attach my inifile and my visualstudio project , if anyone have some suggestion is welcome thanks again at all
Are you trying to read a mt4 ini file ?
correlazioni.ini
the name is .zip the structure is like this
[primario] symbl1=AUDUSD symbl2=AUDJPY symbl3=NZDJPY symbl4=AUDJPY symbl5=GBPAUD symbl6=EURUSD symbl7=EURAUD symbl8=EURGBP symbl9=EURUSD [correlato] symbl1=NZDUSD symbl2=NZDJPY symbl3=NZDUSD symbl4=AUDUSD symbl5=GBPNZD symbl6=USDCHF symbl7=AUDCHF symbl8=GBPCHF symbl9=USDDKK [soglia_minima] symbl10=0.4 symbl2=0.4 symbl3=0.4 symbl4=0.4 symbl5=0.4 symbl6=0.8 symbl7=0.8 symbl8=0.8 symbl9=0.8
yes , explain this static text iniside of ini file i have just but i want also add other example brent and index and more but different broker have different ticker , therfore i create this index ini file , the user before place robot must insert a ticker that want and after i mix all in mql4
yes , explain this static text iniside of ini file i have just but i want also add other example brent and index and more but different broker have different ticker , therfore i create this index ini file , the user before place robot must insert a ticker that want and after i mix all in mql4
i see
You could do it like this :
the export
Symbol1,Symbol2,Correlation!Symbol1,Symbol2,Correlation etc
So then you would split the string file by !
and then each part by , and you would get Symbol1 symbol2 and their correlation
but where?
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi guys i create a dll in c++ for visual studio 2019 for read ini file i suppose is correct the code because compile and not return error , but unfortunately , when i call it, by mql4 not return nothing , i follow this tutorial https://www.mql5.com/en/blogs/post/753426#comment_48337118 , i suggest this tutorial because is easy and very step by step and author @lorio give a support , i am not expert in c++ and especially c++ for create dll , ( i modify a example that just worked ) this is my code in c++
and this is my code in mql4
in attach my inifile and my visualstudio project , if anyone have some suggestion is welcome thanks again at all