Whats the optimal Indicator settings for range, trade, and stop periods on different time frames?
(1)
I have a turtle indicator with Trade/Stop period, and depending on what time frame I'm in , it can either lag behind or be close to the up/down movement.
Also, I have another indicator which uses range that I try to combine with the above. And the defaults on Range period isn't optimal in every...
Hi everybody, unfortunately I didn't manage to find any valuable explanation for a problem.
I'm building a stochastic oscillattor from scratch based on the one built by MT4-5 team and located and named as Stochastic in the 'Indicators' folder.
Supposing they do not possess any value, how can...
Hi,
IndicatorSetInteger(INDICATOR_DIGITS,0) hides the decimal part, but the integer is still there.
How can we get rid of all numbers, including the integer?
Thank you, Sven
Update: This is about Mt5, I forgot to mention
Greetings,
I have written an indicator, which I cannot post it here due to NDA agreement, which plots a value in a wrong place.
When running debug and inspecting value using Print() statements the value it should have is printed correctly but in the graph the plot appears in another value....
Hi everyone, first post here and new to MQL5 language, I have and indicator/tool that I use on NinjaTrader that, using a hot key (alt) + clicking on the chart on 3 points it calculates the fibonacci projections with prices on it, so it's easy for me to place entry loss and target orders fast as I
Please, can you help me with program pivot high and low to break? And "padding" between low first candle and high third candle for bear (high first candle and low third candle for bull) to break?
Similarly as on picture?
Thank You
i have an indicator can any body convert it in EA ???
Hello fellow coders
Can ArrayCopy function be used for 2 dimensional array too ?
The code below does not provide me any error on Meta Editor and compiling wise, it was fine. However, just curious if the ArrayCopy function is meant to be used for 2 dimensional array too.
ArrayCopy(array1, array2,...
Hello,
I'm a little new to mql5 world and now I'm facing the problem to draw a horizontal line on the graph starting from a particular time on the graph.
I'm only being able to draw to horizontal line on the all graph, making it to much to difficult to be read because it's conflicting with...
Hello,
could anyone help me with recoding to mql5?
Thanks for any help!
#property indicator_chart_window//#property indicator_separate_window#property indicator_buffers 3#property indicator_color3 Gold#property indicator_color1 Green#property...
Unfortunately, it is not working as expectedly ... I could not find where to fix :(
I would be very grateful for any help.
//+------------------------------------------------------------------+//| HeikenAshi.mq5 |//|...
Hello coding Guru's.
I am trying to calculate the difference between (0 bar close, and 1 bar close), added to the difference between (1 bar close, and 2 bar close), and so on up to 50 bars. I can't wrap my head around it. Thanks so much in advance.
Is there an indicator that can label bars? Like you input a value, say 100, and the last 100 bars from the current bar are labelled 1-100. It would be really helpful for analyzing past trades/past market conditions. Can someone show me how to code this? I don't have much programming experience.
I want to put together Melt 2 indicators RSI-DeMarker! because price error?
I tried to group 2 and RSI indicators DeMarker but it gives me error when compiling Price!
Price is not present in OnCalculate but how do I fix
thanks Franco...
Hi all I am trying to get a indi of mine to use the alert price minus the open price of the candle 2 candles later, if that makes sense.
It basically sums up some stats for me then.
I have everything working fine except for it to wait for 2 candles to run the calculations.
I removed all my...
Good day to all I am new to this site, and would appreciate any help. I AM looking for a moving average ribbon indicator for mt4. I have been combing the site, but I am unable to find it. Is it available for download here? Thx. Kenny
I'd like a button that moves along a horizontal line below the price high and low, to choose to hide it or see it,
but if you can I'm happy to put it on the chart above.
I'm learning as a hobby MQL5
Then I'd hide a button with only the description of the line and not the whole chart
I enclose...
Can anyone help please!!!!
I have found an indicator the I really like (it's a bands type, similar to Bollinger Bands).
The problem is it gives great results when shifted (say 8 bars) in either direction and you only know the true indicator reading on the 9th bar.
It repaints on the shifted bars...
Hi guys,
I learnt how to code with MT4 last week, so i there are some error i can fix myself.
It woud be great if you look at it and fix it.
And i want to add label description for value in indicator too.
Thank you for reading.
Have a nice day!
zelo
Hi
I have problem in installing indicators even free one's.
please help me
Hi there,
I wonder if it is possible to open position with custom indicator in MT5. I've created a trading "form" similar to "one click trading", but a bit advanced. Now when I try to open position with click on my button I get error 4752 "auto trading disabled by client". I have auto trading...
Understanding the principles of correlation will boost one prospects of achieving consistent forex success: Here we will cover daily trades taken based on forex correlation. Pl check out my charts on forex correlation. https://www.mql5.com/en/users/venky/charts
hello
currently i'm learning mql4 , i would like have an example indicator to plot arrow when conditions met and a horizontal line at exact price level
if(true)
{
when current price higher from previous candle low uparrow and horizontal line in exact price met first time in that candle...
It is always zero for an indicator applied to bar values ... right?
Exception: It is not zero only if a custom indicator applied to any other previous indicator which has PlotIndexSetInteger(0,PLOT_DRAW_BEGIN,number) in its code?
In this case, "number" parameter is seen as a "begin" value for the...
Hello Mql.
I am developing an indicator on MQL4 , what i am doing is utilizing a while loop -blocking further operations- (placed in OnInit function) until
all the bars have loaded from the broker in a chart.
I Check if the current time - last candle time is <= one bar time for this period...
this is a simple vertical line indicator for market sessions/periods etc. but only works on live charts. what can be changed so that i can use it on offline charts?
Boa noite,
Gostaria da ajuda, pois preciso saber o valor da media móvel (em numero). Por exemplo nesse EA abaixo gostaria que em Comment aparecesse o valor atual da média móvel.
Sei que temos que usar o MqlParam e o Array para buscar as informações mas qual a variável que indica o valor da...
I'm trying to learn MQL5 from working codes from the code base. For example ... When correcting the draw begin in the following code (underlined row in the code) ... I think that it should be if (begin> 0 ) PlotIndexSetInteger ( 0 , PLOT_DRAW_BEGIN ,StartCalcPosition) ... right
If rates_total - previous_calculated = 1 in the code below, I think that we just need to calculate the last bar.
Why does the following code need to calculate last two bars?
//+------------------------------------------------------------------+//|...

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
If you do not have an account, please register
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.