Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Welcome back! Thank you for being a part of this Traders Community. Let's discuss and share :)
Selamat datang kembali! Trimakasih telah menjadi bagian dari Komunitas Trader ini. Mari berdiskusi dan berbagi :)
Sorry,
in your code you have to check the calling in this way:
//---
if(!SymbolInfoTick(Symbol(),lastest_price))
Print("SymbolInfoTick() failed, error = ",GetLastError());
//---
I think you should add the call of the SymbolInfoTick() function after "MqlTick latest_price;" line
MqlTick latest_price; // To be used for getting recent/latest price quotes
SymbolInfoTick(Symbol(),latest_price)
Or better you should check the calling in this way:
//---...
This could be a way.
I never tried it
Create a custom symbol
Export to a .csv original symbol data (Bars)
Edit the spread (excel +++) to the fixed one (if it's floating, choose a spread higher than the average one)
Reimport the datas from the file to the custom symbol created previously.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.