Discussion of article "Universal Trend with the Graphical Interface" - page 2

 
Oleksiy Lozinskyy:

Good afternoon.

I put all folders and indicators in their places. But only iUniTrend indicator is displayed in the terminal explorer. The iUniTrendGUI indicator is not displayed in the explorer, although it is in the indicators folder. Accordingly, the graphical interface is not displayed on the chart, because I cannot put iUniTrendGUI on it. Please explain the reason and how to fix it.

Thanks.


Open iUniTrendGUI in an editor, try to compile it - you will find out, maybe some file is missing or copied to the wrong place, or maybe it will compile and work.

 
Dmitry Fedoseev:

Open iUniTrendGUI in an editor, try to compile - you will find out, maybe some file is missing or copied to the wrong place, or maybe it will compile and work.


There are 200 errors during compilation.

Sound alert does not work in iUniTrendfile .

 
Oleksiy Lozinskyy:

There are 200 errors during compilation.

Sound alert does not work in iUniTrendfile .


200 errors - some file was forgotten, most likely the library of graphic elements, probably you didn't read the article. This is an article, not a market or a codebase.

Yes, I made a mistake with the alert. You should make a correction in the OnCalculate() function. Line:

return Indicator.Calculate(rates_total,prev_calculated,up,dn);

Replace it with the following line:

int rv=Indicator.Calculate(rates_total,prev_calculated,up,dn);

Add at the very end:

return(rv);
 

Library. Put it in the MQL5/Include folder of the terminal data folder. The terminal data folder is opened via Main Menu - File - Open Data Catalogue.

Files:
IncGUI_v4.mqh  920 kb
 

Indicator with corrected alerts

Files:
iUniTrend.mq5  14 kb
 

anyone who downloaded the zip files; need also the file incgui_v4.mqh 


which I found from published article named by  ; thank you so much Dmitry Fedoseev ( https://www.mql5.com/en/users/integer )

IncGUI_ColorInput - library for MetaTrader 5

and link : https://www.mql5.com/en/code/889

 
MetaQuotes:

NEW ARTICLE Universal Trends with a graphical interface has been released:

By Dmitry Fedoseev

can't open "C:..... \MQL5\Include\IncGUI_v4.mqh" include file UniTrendForm.mqh".

I am new in MQL5.

The "iUniTrendGUI.mq5" compile failed, an error :" IncGUI_v4.mqh " missing .

would you please upload the file " IncGUI_v4.mqh "?

Thanks a lot


 
nail sertoglu:

anyone who downloaded the zip files; need also the file incgui_v4.mqh 


which I found from published article named by  ; thank you so much Dmitry Fedoseev ( https://www.mql5.com/en/users/integer )

IncGUI_ColorInput - library for MetaTrader 5

and link : https://www.mql5.com/en/code/889

thanks a lot ,I download the file from your link.but compile failed. please the attcahed error picture.
Files:
error1.png  8 kb
error2.png  10 kb