But when I drag that script to anopen chartthe whole MT4 freezes and I have to close MT4 and reopen it again. I have no idea if ShowWindow() is really the correct Win32 function to do that. I have looked in different C++ forums but maybe this function can't be used in MQL4. But...
Once the data loads, you'll see the chart and the price will start changing. In order to speed up the process, move the slider next to the visual mode box all the way to the right. Even at “full speed” the chart will move pretty slowly. So you might wonder what the benefit is ...
After choosing your chart style, it is time to choose a color scheme for your chart. Choosing a chart color scheme can differentiate between the up and down price movement. A part of the answer to how to use MetaTrader 4 is learning about the subtleties. Right-click on the chart and tap...
smash: Hello, For a while now, I have wondered if there is a way for an EA to add objects to a chart that does not have the focus? Using standard mql4 an EA can only draw Objects on the chart it is running on.
You can learn some basic MQL4/MQL5 coding by reading our guides on MQL programming.One important thing to understand is that it isn't possible to add alerts to indicator without at least some coding. The good thing is that what you will require is so simple that even a 5-year old ...
mouse and presses keys, when the chart window is in focus. In also happens during creation, movement or deletion of the graphic objects, etc. (used in Expert Advisors and Indicators). It leads to the execution ofOnChartEventfunction. There is noequivalentof this event and function in MQL4....
1. First, NRTR should be re-written from MQL4 to MQL5. The code is available here: https://www.mql5.com/en/code/7760 2. When the indicator color changes, it should send a push notification and an email, to notify of trend change. 3. Add to parameters working hours, during which th...
ChartSetSymbolPeriodIndicators - Charts -Indicators - Chart - jigneshjhobalia2010.10.12 11:28#129 Can someone add refreshfunctionto MTF_MA_ColorV3 Dear All, I found the same topic at forum dot mql4 dot com/9594/page2 for( int i = MathMax(WindowFirstVisibleBar(), Bars-IndicatorCounted()...
On the MQL4 and MQL5 websites you can see the so called multi-timeframe indicators. Let's try to figure out what multi-timeframe gives us by an example of " iUniMA MTF " indicator. Assume we are in the lowest M1 timeframe window, and are going to show smoothed Open or Close of...
m_indicator = indicator;// true - attach indicator to chartm_button = button;// true - create button to turn on/turn off trailing stopm_button_x = button_x;// x coordinate of buttonm_button_y = button_y;// y coordinate of buttonm_bgcolor = bgcolor;// button colorm_txtcolor = ...