HI
can you make this 3D Oscilator into a EA?
mIKE
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? :)
Hi,
Is it possible to have an MTF input on this indicator?
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?
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
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
3D Oscilator:
Author: Collector