Is it possible to program automated scans of multiple forex pairs via MQL4? The idea would be to generate alerts if specific price patterns where found - not to do any automated trading.
- MQL4/MQL5 Wizard
- Articles on the development of trading applications
- MQL5.community: Community of Traders
Dont know exactly what you mean.
Maybe like this:
put all pairs into array
while (!found) {
for (i=1; i<totarray; i++){
// maybe you use MarketInfo() to get the specified pattern
// if found then alert()
}
}
Maybe like this:
put all pairs into array
while (!found) {
for (i=1; i<totarray; i++){
// maybe you use MarketInfo() to get the specified pattern
// if found then alert()
}
}
Is it possible to program automated scans of multiple forex pairs via MQL4? The idea would be to generate alerts if specific price patterns where found - not to do any automated trading.
Thanks for the response - I guess my question is how do you access price info for multiple different pairs from the code - i thought you could only attach code to one chart/price series?
Dont know exactly what you mean.
Maybe like this:
put all pairs into array
while (!found) {
for (i=1; i<totarray; i++){
// maybe you use MarketInfo() to get the specified pattern
// if found then alert()
}
}
Maybe like this:
put all pairs into array
while (!found) {
for (i=1; i<totarray; i++){
// maybe you use MarketInfo() to get the specified pattern
// if found then alert()
}
}
Is it possible to program automated scans of multiple forex pairs via MQL4? The idea would be to generate alerts if specific price patterns where found - not to do any automated trading.
Look at documetation...
all of the commands that start with "i" take a Symbol() as a parameter. That is the main way to get info about any pair and timeframe. Commands like iHigh, iLow, iMA, iRSI.
Replace Symbol() with the name of another pair
all of the commands that start with "i" take a Symbol() as a parameter. That is the main way to get info about any pair and timeframe. Commands like iHigh, iLow, iMA, iRSI.
Replace Symbol() with the name of another pair
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register