Second Question:
I want to be able to design an indicator that will be able to determine how many related currency pairs are showing a positive trend in a given time frame compared to the other related currency pairs in that group.
For Example, there are seven currency pairs related to the Euro. If I look at all seven at once in a profile on MT4 in the 4 hour Time Frame and if I use a 13 period moving average to determine the trend up or down, I will see some of those Euro currency pairs with an uptrend and some with a down trend. If all are up and none are down, then I want my indicator value to show +7 meaning all currency pairs on MT4 are showing a positive trend on the 4 hr chart.
Similarly, if 6 are showing up and 1 is showing a flat moving average, then the value would be +6. If 6 were showing up and 1 is showing a downtrend, then the value would be +5, meaning there are 5 more pairs showing an uptrend compared to the number of pairs showing a downtrend in that time frame. If the value is 0, that would mean there are just as many related currency pairs with an uptrend as there are with a down trend.
Therefore the custom indicator, shown in a seperate window would have the values -7 to +7, with a level of 0 in the middle. A single line would connect the different values from one candle to the next.
Would I be able to design a custom indicator in MT4 like this?
Cheers, alGer
_________________ Building a future with automated trading
|