Download MetaTrader 5
To add comments, please log in or register
Move from theory to practice. Code Base will help you!
MetaQuotes Software Corp.
Moderator
178188
MetaQuotes Software Corp. 2008.07.09 09:13 

3D Oscilator:

An oscillator that signals in case of trend changing.

Author: Collector

MQL4 Comments
16319
MQL4 Comments 2008.07.12 20:55  

HI

can you make this 3D Oscilator into a EA?

mIKE

opti
41
opti 2008.08.08 16:51  
mikejanet:

HI

can you make this 3D Oscilator into a EA?

mIKE

 


Yes, you should be able to. You can use ANY indicator in your EA ... if it's not an existing indicator function, then just use iCustom() like in this example:

double val=iCustom(NULL, 0, "SampleInd",13,1,0);

I'm not sure how you'd get the last or previous value for BOTH lines though ... maybe some one can show us how one would best do that? :)

/
To add comments, please log in or register