Easylanguage Signal on Multiple Symbols and Timeframes ?

Belea

Newbie
Messages
2
Likes
0
Hi there,

I wonder if with easylaguage i can do what in MQL4 will be pretty easy..

And this is what i mean:

1) 2-3 pairs like usd/jpy, eur/usd, gbp/jpy
2) same indicator.. for example the MACD
3) different timeframe 5min.. 15min and 30 min

And i want to get 1 signal when all this 3 conditions are checked
1) GBP/JPY MACD SIGNAL 15 min >= 0
2) USD/JPY MACD SIGNAL 5min <= 0
3) EUR/USD MACD SIGNAL 30MIN >= 0

Something like that in MQL4.. will be easy to do.. but i try to find a language where TA and EA will be the same.. not to recode every time..


Best Regards,
GV
 
Hi there,

I wonder if with easylaguage i can do what in MQL4 will be pretty easy..

And this is what i mean:

1) 2-3 pairs like usd/jpy, eur/usd, gbp/jpy
2) same indicator.. for example the MACD
3) different timeframe 5min.. 15min and 30 min

And i want to get 1 signal when all this 3 conditions are checked
1) GBP/JPY MACD SIGNAL 15 min >= 0
2) USD/JPY MACD SIGNAL 5min <= 0
3) EUR/USD MACD SIGNAL 30MIN >= 0
Something like that in MQL4.. will be easy to do.. but i try to find a language where TA and EA will be the same.. not to recode every time..


Best Regards,
GV

Sure - put the 3 on a chart first & then use them as data1, data2, data3.

As for the timeframes, what I'd personally do is to put them all at 5 minutes but tweak the MACD calculations to take into account the extra bars you'd be considering on the longer GBP/JPY & EUR/USD. The way to do this is to simply make the MACD periods longer.
 
Sure - put the 3 on a chart first & then use them as data1, data2, data3

That wont allow one alert for all 3 conditions. It can be done using the Globalvariable.dll which would need to be downloaded and placed into the program directory. Even after doing this is not easy as far as setting up to work is concerned and is better suited to being done in Radarscreen in my view.


Paul
 
Top