You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I want to filter orders on an ea with whether macd is up or down. I have tried the below. How do I fix it?
double Macdcurrent;
Macdcurrent=iMACD(NULL,0,12,50,9,PRICE_CLOSE,MODE_MAIN,0);
if (Macdcurrent<0){
if (!ExistPositions()){//2
if (PS){//3
OpenSell();
return(0);
}//2
}
Thanks for any help!