Thank you very much for the code!
When loading the EA through the terminal, it gives errors when compiling.
can't open "C:\Users\dns\AppData\Roaming\MetaQuotes\Terminal\F49F6D84DE337BA25E6F8205834F0EB8\MQL5\include\GetFontName.mqh" include file stoplevelcounter.mq5 14 11
'type_font' - declaration without type stoplevelcounter.mq5 23 7
'CFontName' - undeclared identifier stoplevelcounter.mq5 48 4
'FONT' - undeclared identifier stoplevelcounter.mq5 48 14
'FONT' - some operator expected stoplevelcounter.mq5 48 14
'FontType' - undeclared identifier stoplevelcounter.mq5 49 31
implicit conversion from 'number' to 'string' stoplevelcounter.mq5 49 19
I completely forgot that such code needs an includnik!
I completely forgot that this code needs an includnik!
Is there a code base? Please give me a link.
It is the same, the publication will be fixed!
The indicator uses GetFontName.mqh library class (you need to copy it to terminal_data_directory\MQL5\Include).
It's not that, I found it by name in code base, I worked with includes long time ago when I made an add-on for Pawn game.
So the includnik is in the wrong place!
C:/\MetaTrader 5\MQL5\Include
I have never had any problems with compilation, but this is the first time I've encountered inkludes in mt5.
C:\MetaTrader 5\MQL5\Include
I've never had any problems with compilation, but this is the first time I've encountered inkludes in mt5.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
StopLevelCounter:
The Expert Advisor is a profit calculator on the opening position for price movement to a price level fixed in the chart
Fig.1 The StopLevelCounter Expert Advisor
Author: Nikolay Kositsin