New metatrader 4 compatible indicators - page 288

Mladen Rakic
160787
Mladen Rakic  
tropicalrecon:

Hey Mladen, These two indicators don't work on mt4, would you have a better recommendation for mtf supply and demand?

#SS_SupportResistance_v01_m mtf.mq4

SS_SupportResistance_v04b.mq4

Try out this one : ss_supportresistance_v04b_nmc.mq4

tropicalrecon
128
tropicalrecon  
mladen:
Try out this one : ss_supportresistance_v04b_nmc.mq4

As always, thank you for your time!

mntiwana
4557
mntiwana  
tropicalrecon:
As always, thank you for your time!

and i hope this will be work too.

ss_supportresistance_v01_m_mtf_1.mq4

William Snyder
9493
William Snyder  
tropicalrecon:

Hey Mladen, These two indicators don't work on mt4, would you have a better recommendation for mtf supply and demand?

#SS_SupportResistance_v01_m mtf.mq4

SS_SupportResistance_v04b.mq4

This is a newer version, maybe it will be useful to someone.

ss_supportresistance_v07.mq4

Files:
mntiwana
4557
mntiwana  
mrtools:

This is a newer version, maybe it will be useful to someone.

ss_supportresistance_v07.mq4

Dearest MRTOOLS,

thanks,of course newer ver is useful to all of us who needs.

regards

tropicalrecon
128
tropicalrecon  
mntiwana:

Dearest MRTOOLS,

thanks,of course newer ver is useful to all of us who needs.

regards

Yes, I agree with Mntiwana. Thank You.

andreatrade
62
andreatrade  
mladen:

andreatrade

No. First of all, the first parameter must be a string (not a number) - that will cause a direct error in reloading the indicator over and over. The second is that we are already calling the iCustom() in the target time frame - no need to try to force it to recognize that time frame again. And empty string in that case passed as a value of the first parameter will do just fine and will do it in the most efficient way

____________________

But I have a feeling that you are looking in a wrong buffer. First buffer has values all the time. Second does not (it has values only when the slope is down, and you should not use that buffer - because f the way how nrp is treated - but much better to use the 4th buffer (the "trend"buffer ) and then you shall always have the exact value of the trend

________________

PPS: now I saw that there is an extra 30 in that call. This is the correct call to get values from that trend buffer :

double PercB_Smooth_Trend = iCustom(Symbol(),30,"Bollinger Bands_smooth %b nrp_mtf nmc","",20,0,2,1.0,false,3,1);

Tested it and all works OK

Thanks mladen....it works.

George
998
George  

like this one below - the black being the dema.

Tried to download an illustration but it will not load - all it shows is a DEMA with the colouring under the DEMA rather than a line. eSignal have this facility and it is called 'histo' mode (rather than line or dot etc)

Anyone help?

TEAMTRADER

Mladen Rakic
160787
Mladen Rakic  
Lake Trader:
Yes it seems to work as indicator -- but when converting to use within EA -- not so much --- this is the answer I am getting from the EA app group --- "Custom indicators used in any EA must be programmed in the new MQL4 language. Old, incompatible indicators include the functions init() and start(), whereas new indicators include the functions OnInit() and OnCalculate()." ??? Any help and/or direction much appreciated -- Thx

Please post your iCustom() call - what you are telling about OnInit() and OnCalculate() has no affect at all on how the indicator works when called, and that indicator is perfectly new metatrader 4 compatible (making it use new format of OnInit() and OnCalculate() is not what makes it new metatrader 4 compatible, as it is obvious). What can be, and almost sure is, a problem is a wrong iCustom() call

mntiwana
4557
mntiwana  
mladen:
Please post your iCustom() call - what you are telling about OnInit() and OnCalculate() has no affect at all on how the indicator works when called, and that indicator is perfectly new metatrader 4 compatible (making it use new format of OnInit() and OnCalculate() is not what makes it new metatrader 4 compatible, as it is obvious). What can be, and almost sure is, a problem is a wrong iCustom() call

Dearest MLADEN,

some where i already asked but nobody replied and explained,can you be so kind as already to guide me.......i saw with some indicators,mentioned "for EA" or EA version indicator or this indicator is EA compatible.

my question is,if for EAs,indicators are coded differently or some of indicators needs this way coding or some kind of EAs requirs,indicators should be coded differently only for EAs .............. what is the actual story....thanks.

regards