New article How to create an indicator of non-standard charts for MetaTrader Market has been published:
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
To add comments, please log in or register