can you make this 3D Oscilator into a EA?
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? :)
Is it possible to have an MTF input on this indicator?
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
You are using wrong indicator name.
Unless you renamed the indicator, the correct indicator name from that code base entry is :