Hi, I am trying to assign part of a multi part ma or indicator to a variable and not able to find the solution to this seemingly simple task.
For one, instead of "macd>0", access the "Macd Line" cross instead.
Here is code from an ea that uses the "macd>0" or "macd<0". Is there a way to access the line crosses from this?
Here is a Macd Line cross example.
For one, instead of "macd>0", access the "Macd Line" cross instead.
Here is code from an ea that uses the "macd>0" or "macd<0". Is there a way to access the line crosses from this?
Inserted Code
double macd =iMACD(NULL,0,FastEMA,SlowEMA,SignalEMA,PRICE_CLOSE,MODE_MAIN,1);