I've made an indicator which presents areas which are used to create ichimoku line.
But I have a problem.
I'm not a programist, so the indicator has a problem with refreshing shapes which are based on current price.
Anyone could help improve it?
I'm experimenting on indicators and I wrote a simple SMA using iMA function, it works well just for program fixed applied_price (PRICE_CLOSE).
//+------------------------------------------------------------------+//| SMA_03.mq5 |//|...
Hello forum, good day.
I'm using a Custom Indicator in the Strategy Tester using visual mode to see the behaviour, and after several days pass, suddenly it stops showing the indicator buffers and the Expert Advisor stops working as well because I'm using the iCustom() function to get the data from...
Why is the description of the arrow not shown?
ObjectCreate(0,"Arrow",OBJ_ARROW_UP,0,Time,Low,0,0,0,0); ObjectSetText("Arrow","description",12,"Times New Roman",Green);
F8 -> show objects description is activated.
Hello, time ago I downloaded from MQL4 the attached sample and it was working fine. The sample generates a list and sorts it using different criteria. The sample overloads COMPARE function to generate custom sorting. Now the overload is not more working and the sample uses the base class sort. I...
I want to make two changes to an existing indicator "macd_histogram" and I would appreciate your kind help:
1- I want to show the date in alert window in "hh:mm:ss" format. By default the indicator shows the date of alerts in alert window in "yyyy:mm:dd, hh:mm:ss" format. (pls see...
I asked a question about avoiding repetition of similar alerts in alert window and no one replied.
Now, I have another question:
Is there any way to write the alert part of an indicator so that it shows each alert once and the indicator remembers that it showed that alert before...
Hello, I'm using this indicator: https://www.mql5.com/en/code/1725
I am trying to modify the values returned.
I want that indicator returns differents values when it is in differents positions. This example shows 2 stocks, one working ok, and other return just 1 value.
If someone could help me,...
I use an average daily range indicator that works great, it shows 5, 10 and 20 day ranges. However, what I need is to be able to see the average daily range for a set period, for example Jan to Feb last year. (or the previous 20 days from a set period rather than showing the previous 20 days from...
I'm using an MT4 platform and everytime I try to buy an indicator from the market, the journal tab at the bottom of my screen says " MQL4 Market: failed parsing info about purchasing a product 'XXXXX'
Any ideas on what's happening?
thanks in advance,
I am looking for a way either to omit or replacing repetitive alerts (created by different indicators in message alert window) by newer ones. In other words, I want to know is there any way to clean message alert window other than restarting the MT5.
For example, on a single chart I...
I have an indicator that doesn't work at the MT5 startup. It doesn't show nothing in the chart.
But, it works perfectly when I just add it to a chart, or when I switch timeframes.
What should be happening?
Does anyone happen to know how to convert this to MT5 so I can display the previous bars' high and low:
HIGH = High;
LOW = Low;
I've tried numerous things but can't seem to find a...
Hi, I am trying to lern mql and trying to print indicator on the actual candle [i] and the same on history data.
I can not find why this simple test doesn't wok. It prints random historical labels when [i+2] changed into [i-2] bu this is obiously wrong.
int OnCalculate(const int...
I need an urgent help with writing a few lines of code that makes the first candle visible in a chart, in other words, when the chart is opened, it automatically scrolls the chart to the first candle available in that chart.
I would appreciate your kind help in advance
Hello, I have a dialog and I added to this dialog a CPanel control: . everything is OK. Now I would like to add controls to cpanel so that when I hide/show the cpanel all controls disappear/appear. How to to do? No ADD function for cpanel...... Thanks MT4 build 765
I am using the trendline alert indicator that alerts me whenever bid touches every line (horizontal or trendline) drawn in my charts.
Is anyone able to set it in a way that the alert is sent once per bar (or a limited time).
I would be very grateful!!
hi, where can I learn about the concept of each indicator
for example Moving Average Crosses, what is the idea behind it how dose it work and how to know what is the right sitting that work for my style of trading?
where can I learn the answers of theses questions above for each indicator ?...
Hello, I developed an indicator having a canvas, where I draw several lines, and a dialog. The creation order is: 1 ONINIT: canvas creation 2 ONCALCULATE: one time creation of the dialog after the last bar drawing everything is OK (please look at cattura3.jpg) If I close and restart the terminal i...
I am not a professional programmer but have done some pretty cool stuff. As we all know, history of a currency pair is only updated when a chart is opened. I am looking for a mql function which can update the history of a specified instrument and time frame with out the need to open the...