Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 4 Indicator | Tick Chart in MQL4

Introduction:

This will create an offline chart for the ticks of the symbol on which it is applied.

Instructions:

I have mentioned in the code lines, such as:

// Please uncomment the include file  //#include <WinUser32.mqh>

or

// Please uncomment the below lines after downloading the file  //if(hwnd!=0)// && cur_time-last_time>=2)  //  {  //   PostMessageA(hwnd,WM_COMMAND,33324,0);  //   last_time=cur_time;  //  }

Due to CodeBase policies, I cannot upload the file without it. Hence what you have to do is uncomment the lines as below:

// Please uncomment the include file  #include <WinUser32.mqh>    // Please uncomment the below lines after downloading the file  if(hwnd!=0)// && cur_time-last_time>=2)    {     PostMessageA(hwnd,WM_COMMAND,33324,0);     last_time=cur_time;    }

Then the code will work properly.

Images:

Where to find the symbol to open the chart:

MetaTrader Experts, Indicators, Scripts and Libraries

How does it looks:

MetaTrader Experts, Indicators, Scripts and Libraries

Conclusion:

In this way you can have a very good study of the trade. Using the ticks you can get more knowledge of how the trade will go.

28530