
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
New article How to create an indicator of non-standard charts for MetaTrader Market has been published:
Through offline charts, programming in MQL4, and reasonable willingness, you can get a variety of chart types: "Point & Figure", "Renko", "Kagi", "Range bars", equivolume charts, etc. In this article, we will show how this can be achieved without using DLL, and therefore such "two-for-one" indicators can be published and purchased from the Market.
Examples from the article can be downloaded from the Market for free:
2.3. Copying the indicator to the offline chart
We will add new functionality to the IndMACDDoubleDuty indicator. Now, while operating in the maintenance mode, the indicator must transfer its copy to the created offline chart. The following functions ChartSaveTemplate and ChartApplyTemplate will be used to assist with this. The OnCalcalculate() algorithm will look as follows:
Author: Karputov Vladimir