- Stanislav Korotky
- Version: 1.1
- Aktualisiert: 4 Februar 2021
This non-trading expert utilizes so called custom symbols feature to build renko charts based on history of real ticks of selected standard symbol. RenkoFromRealTicks generates custom symbol quotes, thus you may open many charts to apply different EAs and indicators to the renko. It also transmits real ticks to update renko charts in real time.
This is a functionally limited demo version of RenkoFromRealTicks.
RenkoFromRealTicks utility can not work in the tester because it uses CustomSymbol API (unavailable in the tester).
DEMO works on EURUSD only.
Features disabled in the demo are underlined below.
The generated renko chart uses M1 timeframe. It makes no sense to switch the renko chart to a timeframe other than M1. The start time of a "minute" bar does normally correspond to the start time of renko box. The end time of a such "minute" bar is dummy (MetaTrader does not allow for bars with different duration), instead you should look at start time of the next "minute" bar.
After its placement on a chart, RenkoFromRealTicks downloads tick history and generates renko bars for the custom symbol. This may take a while and require additional space on the disk. EA shows a progress in the comment. When the process is finished, the comment looks like this:
RenkoChart(100pt): open EURUSD_T_r100 / 1000 bars
where 100pt is the requested box size in points, EURUSD_T_r100 is a customizable symbol name, 1000 is a number of generated boxes (if EA is running for the very first time, this is the total number of renko bars, but if it continues on results of a previous terminal session, the number of new boxes can be a few, because only most recent, missing boxes are generated).
You may build renko faster and with less resources using RenkoCharts. But RenkoFromRealTicks is more precise and feature-reach.
- RenkoBoxSize - box size in points, by default - 100;
- ShowWicks - enable/disable wicks on renko, by default - true;
- EmulateOnLineChart - enable/disable ticks emulation on renko charts, by default - true; it updates indicators and other EAs on backtests and online;
- OutputSymbolName - name of the custom symbol for renko, by default - empty string - then the name is formed as "Symbol_T_PrefixSizeSuffix", where Symbol - current work symbol, Prefix - "r" (renko) wicks are enabled or "b" (brick) if disabled, Size - RenkoBoxSize; optional Suffix - "c" for close time mode; "g" - for gapless renko type;
- Reset - an option to enforce complete recalculation of entire renko chart, by default - false; after it is set to true and calculations are completed, it is recommended to reset it back to false in order to eliminate excessive recalculations on every terminal restart; this mode is helpful in rare cases, when generated renko chart contains an error for some reason; normally the option is disabled, because the EA continues calculation smartly from the most recent existing box;
- RenkoType - selector of the box calculation algorithm: Conventional or Gapless;
- VolumeType - selector of the volumes per box calculations: Total Volume or Delta Volume;
- CloseTimeMode - when true, boxes are shown and formed at their close time; in this mode only 1 tick is generated per box, when box is added completely formed to a chart; by default - false, i.e. boxes are created at open time (the latest live "box" is updated continuously and is not actually a box until it's closed);
- DropTicksOutsideBars - filter out incorrect ticks (outliers);
- StartFrom - time where to start the tick history processing, 0 means very beginning;
- StopAt - time where to stop, 0 means till current time;
Volume Delta Methods
In the method Ask vs Bid tick volumes are considered for buy if Ask price increases, and for sell if Bid decreases (please note, that on some accounts/symbols Bid changes more frequent than Ask, which introduces a negative bias; this is the platform specificity).
The method Ask+Bid analyses the changes of the average price (sum of Ask and Bid): move up - buy, move down - sell.
Tick Flags is based on buy/sell tick flags and applicable for exchanges only.
On Demo the Renko is not working. That's de reason i don't buy this for my live account