Hey scalpers,
I'm discussing a tick chart creator for MT4. Its very useful to get insight into what is going on inside an M1 bar, and I receive about half a pip better returns per trade utilizing it. Note this is actually an Equivolume chart creator, as every bar contains an equal number of ticks.
How to Install and Use it
Place it in your MQL4/Indiors folder and restart MT4 or compile it with Metalanguage Editor. Note: you will observe some compiler warnings regarding possible loss of information due to type conversion, these ought to be ignored. Fake news.
To use it:Create a new M1 chart for the symbol you would like a tick chart for (you may resize it to be very small). I suggest running this indior onto a separate M1 chart which you leave undisturbed (different in the chart that you use for trading), so the data stream doesn't get bothered by your actions such as changing the time frame. Grab the TickChartMaker indior from the Navigator on this new chart. On the frequent tab in the dialog box which opens, place a check in the box beside Allow DLL imports. Very significant, otherwise it won't run. On the Inputs tab, then set how many ticks per bar you want. That opens up the indior to function as a host, which makes a data file containing your custom pubs. Just leave it operating.
To open a tick chart for seeing:About the menu bar in the top left of MT4 click File, then click Open Offline from the dropdown menu. Scroll down to loe your symbol from the list. The indior (host) will create a file with a name which reflects the emblem and number of ticks per bar. So for example if your chosen emblem is EURUSD, and you've set the host to make bars comprising 27 ticks per bar then the name will be EURUSD_27t,M1. Do not ask the M1 is there -- it's an MT4 limit. Highlight the file and click Open and you have a sign chart! The chart updates in real time with each tick received and you can add any indiors and drawing items to the chart as you would with any other chart.
Tips and PointersI discover a fantastic way to use it's to place an M1 chart at the upper half of this MT4 workspace and the tick chart at the underside. I love to set unique colours and chart settings for tick charts. As soon as you get settings you like, save it as a template. When its not working, first check for messages from the Pros tab or the Journal tab to help identify the reason. It should be clear, but bears mentioning the custom made bar data file is updated while this indior is operating and while ticks are being received. So in the event that you quit the indior for a while and then restart it again, your tick chart will have a gap for the time the indior was off, and there is no way to find that gap filled in again. If you alter the number of ticks per bar, another data file with another name will be generated and the old file will no more be added to (again, this ought to be obvious). This indior does not purge or delete the data files it generates, it merely adds to them. Eventually you might want to go into the history area of your MT4 information and delete files which are not needed or which have grown too large. (Be careful not to delete the normal MT4 data files which share the exact same folder) Running multiple copies of this indior on the exact same symbol with the very same bars per chart setting could lead to difficulties so the server attempts to detect and stop that with a global variable. If the indior won't run and reports second copy in the log but you're certain there are no other copies running then some prior glitch might have left a global variable behind. Press F3 and determine whether a global variable exists for the emblem and ticks-per-bar price. It may be necessary to manually delete it. If you would like to concurrently create multiple charts with various numbers of ticks per bar on the exact same emblem, just put multiple duplies of this indior on your own server chart, one for every unique ticks-per-bar value desired. You can not trade directly from an Offline Chart. To place orders, adjust stops, do it on a normal live MT4 chart (M1 or higher). Okay, I have tried to anticipate and answer most of the questions and problems that may develop. For any others, post them here.
Important Note
I will try to fix bugs, but please do not ask me to add attributes or do free programming for you. I created this tool to match my wants and https://hackernoon.com/i-thought-i-u...g-cf54999c097b I'm sharing it with the community. Feel free to use it any way you like, modify or improve it to match your own preferences and requirements, and to discuss your work too.
https://www.forexforum.co.za/attachm...5211921869.mq4






Reply With Quote