Download MetaTrader 5

Indicators: StocksBG

To add comments, please log in or register
Automated-Trading
Admin
113769
Automated-Trading  

StocksBG:

StocksBG indicator displays the activity of major stock exchanges on a chart with M15 or less timeframe.

StocksBG indicator

Author: Andrey Aseykin

Suleymann
75
Suleymann  

Hello Andrey,

I really like this indicator but I run MT4.

Do you have the indicator version for MT4?

Thank you.

elgaza
29
elgaza  

I have placed all files in one folder and when tried to compile I get this error, only one error


'stocks_bg' - conversion is not accessible because of inheritance access CGOStocksContainer.mqh 134 29

any idea how to correct this?

thank you

TutenchAmun
18
TutenchAmun  

Great code! I love object-oriented style


@elgaza

you just need to adapt this line of code like that:

before:

      m_container_stock.Add(stocks_bg);                                    // add stock as ONE object to the container

after:

      CObject* temporaryPointer = (CObject*)stocks_bg;
      m_container_stock.Add(temporaryPointer);                                    // add stock as ONE object to the container


To add comments, please log in or register