Experiments ... - page 12

 
mladen:

mntiwana

For a coder it is enough to check the parameters list and the small icons at the left of the parameters in the parameters list (which are showing what is the type of the given parameter)

As we have explained a couple of times, metatrader does not pass parameters by name but by position, and as long as the parameter type (and values) are at a right places, it does not matter at all what is the name of the passed parameter (that is why, for example, we can use iCustom("EURUSD",...) the same way as iCustom(_SymbolName,...)). So, it is completely equal if there is an mq4 or ex4 - in the end ex4 file is called and there is no need to know at all what is in the mq4 file - it can be treated completely as a "black box"

Dearest MLADEN

thanks for explained answer once again ...... so you means,in iCustom call all parameters will be added in same sequence wise as we are seeing in parameter list,showed in picture ? ......... and in source code parameters are same in sequence (position) same here in property parameters list,a coder have to care only positions as a thumb rule ? ..... sorry for bothering you.

regards

Files:
2_7.png  54 kb
 
mntiwana:

Dearest MLADEN

thanks for explained answer once again ...... so you means,in iCustom call all parameters will be added in same sequence wise as we are seeing in parameter list,showed in picture ? ......... and in source code parameters are same in sequence (position) same here in property parameters list,a coder have to care only positions as a thumb rule ? ..... sorry for bothering you.

regards

Yes, that is exactly what I meant

 
mladen:
This version too (this version allows the indicator to be applied to other indicators - both on this chart are the same, only the second is applied to rsi) : adxvma_experiment_2.mq5

Can that be made for mt4?

 
morro:
Can that be made for mt4?

In that form, no, it can not (mt4 simply can not do some things that are simple to do in mt5)

 
mladen:
In that form, no, it can not (mt4 simply can not do some things that are simple to do in mt5)

OK. Thanks

 
mladen:

sebastianK

Here is this one first - it is a gradient and regular version in one (use indicator options to turn gradient display on or off) : rsioma_averages_1_1.ex4

Dear Mladen

Would you please add 'mtf' and 'alerts' in this indicator : https://www.mql5.com/en/forum/186064/page7

Thanks for any help

secretcode

 
secretcode:

Dear Mladen

Would you please add 'mtf' and 'alerts' in this indicator : https://www.mql5.com/en/forum/186064/page7

Thanks for any help

secretcode

secretcode

Here is the multi time frame version first : rsioma_averages_1_1_mtf.ex4

 
secretcode:

Dear Mladen

Would you please add 'mtf' and 'alerts' in this indicator : https://www.mql5.com/en/forum/186064/page7

Thanks for any help

secretcode

And here is the version with alerts and the latest set of averages included : rsioma_averages_1_1_mtf__alerts.ex4

 
mladen:

And here is the version with alerts and the latest set of averages included : rsioma_averages_1_1_mtf__alerts.ex4

Thanks a lot Mladen for nice indicator

Sincerely

secretcode

 
secretcode:

Thanks a lot Mladen for nice indicator

Sincerely

secretcode

PS: one more change

__________________

It came to my attention that some averages (like adxvma, for example - it's nature requires us to use periods different - usually shorter - than the rsi period for calculation) are not performing OK when the same period as rsi period is used for averaging price before using it in the calculation. For that reason, here is a version that allow different average period than the default rsi period to be used for the average (it is explained in the parameters how to do that) : rsioma_averages_1_2_mtf__alerts.ex4

Here is an example for adxvma where upper is using period 10 for adxvma and lower is using default rsi period (32 in both cases) - the difference is obvious, and with those periods, rsioma of adxvma starts to "behave" in a logical way. So, this version allows fine tuning, and corrections that were not possible in previous version(s)

Reason: