Attachments forums

List of attachments posted on this forum.


All files on forums: 134205

Re: Wave trend Oscillator

makiel, Wed Jun 28, 2017 7:11 pm

Hi mladen and all members,
This is my first message here :)
I am looking for some help with the iCustom for this indicator "Wave trend oscillator 1.5" (I am only starting to learn some MQL4 basic stuff)

With the mq4 is easier because I can recompile the code with my settings and this way I don't have to pass any parameter. But for this indicator I don't have the mq4 (and I understand because some stupid people are renaming and reselling mladen and other's work!) so my question is about the parameters for this indicator.

In order to pass parameters, where I fail is when a lot of options are available. Do I have to pass a string, a position (starting from 0), or a enum ? For example, I want to change the parameters "current", EMA and price typical

current could be "current", 0, or PERIOD_CURRENT
EMA could be "Exponential moving average" or option 1 in the list
price typical could be pr_typical, "Typical" or option 5 in the list

For pr_typical I found it from other mq4 files and I guess your are using the same enum enPrices in this indicator.

Could you provide a correct iCustom with this example on buffer 13 :

iCustom(NULL,0,"Wave trend oscillator 1.5",PERIOD_CURRENT,4,4,"Exponential moving average",4,"pr_typical","2.0",0,"Filter the value",60,53,-60,-53,"Change colour on outer levels cross",false,false,false,false,false,false,2,159,159,true,13,i);


Thanks in advance.
Have a nice day!
All files in topic