Pure plagiarism () - only the name of the indicator symbols has been changed:
//--- create handle of the indicator iMACD "0" handle_iMACD_0=iMACD("GBPUSD",PERIOD_H1,12,26,9,PRICE_CLOSE); //--- if the handle is not created if(handle_iMACD_0==INVALID_HANDLE) { //--- tell about the failure and output the error code PrintFormat("Failed to create handle of the iMACD \"0\" indicator for the symbol %s/%s, error code %d", "EURUSD", EnumToString(PERIOD_H1), GetLastError()); //--- the indicator is stopped early return(INIT_FAILED); } //--- create handle of the indicator iMACD "1" handle_iMACD_1=iMACD("USDCHF",PERIOD_H1,12,26,9,PRICE_CLOSE); //--- if the handle is not created if(handle_iMACD_1==INVALID_HANDLE) { //--- tell about the failure and output the error code PrintFormat("Failed to create handle of the iMACD \"1\" indicator for the symbol %s/%s, error code %d", "GBPUSD", EnumToString(PERIOD_H1), GetLastError()); //--- the indicator is stopped early return(INIT_FAILED); }
The code was stupidly copied (the real code here: Dual MACD) - I put a redundant code in my code, a code that is not used, and this “copyist” got caught :)
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
GbpChf:
Advisor for trading Gbp/Chf
Author: Vladimir Baskakov