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
Buy = MACD(0) < iClose(NULL,0,0) && MA(15) > (0);
Sell = MACD(0) > iClose(NULL,0,0) && MA(15) < (0);
Have you any experience of using the MACD or an MA on a chart and using them to make trading decisions?
If you are trading manually, you would never compare the MACD value with a close price and you would never compare the MA to zero
Buy = (MACD(0) > (0) && iClose(NULL,0,0) > MA(15));
Sell = (MACD(0) < (0) > iClose(NULL,0,0) < MA(15)) ;would make more sense.
Also, I would avdise to only work with closed bars as signals can change many times intra-bar sometimes