Indicators: 3D Oscilator

To add comments, please log in or register
MetaQuotes Software Corp.
Moderator
208966
MetaQuotes Software Corp.  

3D Oscilator:

An oscillator that signals in case of trend changing.

Author: Collector

3D Oscilator
3D Oscilator
  • www.mql5.com
An oscillator that signals in case of trend changing. When the blue line crosses the red one from top downward - Sell, when the blue line crosses the red one bottom-up - Buy.
MQL4 Comments
16299
MQL4 Comments  

HI

can you make this 3D Oscilator into a EA?

mIKE

opti
40
opti  
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? :)

abs13b00164y
25
abs13b00164y  
Can i get a sound alert on the indicator 
sullinet
6
sullinet  

Hi,

Is it possible to have an MTF input on this indicator?

Pan Kof
9
Pan Kof  

Hi,

I am trying to use the indicator in an EA. The values of the red line are always 0 when I ran it in visual mode.

   double current1  = iCustom(NULL, 0, "3d-oscillator", 1, 0); //red line 0
   double current2  = iCustom(NULL, 0, "3d-oscillator", 1, 1); //red line 0


Any ideas?

Mladen Rakic
145867
Mladen Rakic  
Pan Kof:

Hi,

I am trying to use the indicator in an EA. The values of the red line are always 0 when I ran it in visual mode.


Any ideas?

You are using wrong indicator name.

Unless you renamed the indicator, the correct indicator name from that code base entry is :

3d_oscilator

not

3d-oscillator
To add comments, please log in or register