New article Learn how to design a trading system by MACD has been published:
Author: Mohamed Abdelmaaboud
Very informative, detailed and helpful article.
Thank you for taking the time to write it down.
There is one thing I don't understand, why is it that when taking the value for MACD main line, MACD signal line uses FLOAT data type instead of using the DOUBLE data type as same type as the source?
//Get values of current data for MACD main line, MACD signal line float MACDMainLineVal = (MACDMainLine[0]); float MACDSignalLineVal = (MACDSignalLine[0]);
Very informative, detailed and helpful article.
Thank you for taking the time to write it down.
There is one thing I don't understand, why is it that when taking the value for MACD main line, MACD signal line uses FLOAT data type instead of using the DOUBLE data type as same type as the source?
Thanks for your comment.
There is no difference, both are right in this case but sometimes FLOAT is used to save memory.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
New article Learn how to design a trading system by MACD has been published:
In this article, we will learn a new tool from our series: we will learn how to design a trading system based on one of the most popular technical indicators Moving Average Convergence Divergence (MACD).
After writing this code and testing it, we will obtain a program that generates signals and lines values.
Buying Signal with mentioning MACD main line is above MACD signal line and MACD main line and MACD signal line values:
Author: Mohamed Abdelmaaboud