
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
Thanks @Dominik Egert for your suggestion. I will try them out.
Meanwhile I have a question.
The original Market Profile was developed as an EA and the EA(indicator) was run on chart to draw Market Profile histogram. Running EA as indicator has limitation as while this is running, I can not add additional Expert for trading.
This forced me to change from EA(as indicator) to Indicator and EA was converted to BaseClass which is called by the Indicator.
Now OnCalculate() of indicator calls OnTick() of BaseClass. To my understanding on each OnCalculate call OnTick should be called too. Is there a different behavior of these two functions in such a case? Please update.
Yes, it's the simplest way to deal with it.
Thanks @Alain Verleyen :)
Will try it out.
Thanks @Dominik Egert for your suggestion. I will try them out.
Meanwhile I have a question.
The original Market Profile was developed as an EA and the EA(indicator) was run on chart to draw Market Profile histogram. Running EA as indicator has limitation as while this is running, I can not add additional Expert for trading.
This forced me to change from EA(as indicator) to Indicator and EA was converted to BaseClass which is called by the Indicator.
Now OnCalculate() of indicator calls OnTick() of BaseClass. To my understanding on each OnCalculate call OnTick should be called too. Is there a different behavior of these two functions in such a case? Please update.
Thanks Dominik
It is quite informative thread. Helped me learn new things in MQL.
Let me put all this learning for my indicator, and hopefully I will be able to resolve some issues.