Technical Indicators - page 62

To post a new topic, please log in or register
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? //+------------------------------------------------------------------+//|...
Hi all, I am new at coding and I am having one small issue. In my alert it is not giving me a 5 decimal place feed back. I am getting a 4 decimal place result. 2014.10.29 12:59:00.591 Testalert AUDNZDi,M5: Alert: BUY signal at Bid=0.2239\n Bid=0.2239\n Time=2014.10.29 19:59\n Symbol=AUDNZDi...
Greetings, This is a single Bulls vs Bears alert that I´m working on. Hope could be usefull ! Cheers. Amaury
I know that market volatility is primarily driven by news, however, i am just curious if any one could share any indicator to predict how volatile currency can be within a particular time say 30 minutes. I have an EA that works perfectly with grid system. the only thing is that one cannot predict...
How to set candlestick colour in meta trader 4 in Android
Hello, I am new to the MQL4 programming and am working on an Alert indicator that alerts me prices or set Symbols at set times during the day. I have this part figured out. :o) What I would like to do but cannot figure it out, is how to have it only tell me prices that are opposite of the chart set...
Hello, I am new to MT4 and MQL5 and have been looking for half the day and cannot find an indicator I know hows to exist, but since I really do not know all the terminology yet cannot find it. I have seen it in pictures (but of course could not find any of them today :o) This indicator looks like...
Why can't chart indicator fits in? This is a miss, it should offer an option to automatic scaling on chart indicator data in order to draw proper non-time based charts, for instance. Vertical scaling is not automatic and looses symetrie.
Hello, I 'm trying to figure out how to pass struct MqlRates members to a function as arrays but the compiler refuses stubbornly coding like open, rt.open and rt[].open, maybe some sort of a pointer? here is the relevant part of the code...
So this is what I have: a custom indicator displaying on a chart the values of two standard indicators ATR and MA. MA on the current chart time frame, no problems, but the ATR is supposed to be for the higher timeframe i got it this far: for(int i=startIndex; i<rates_total && !IsStopped();...
Hello everyone, I looked into the Clock Indicator in Metatrader 5 https://www.mql5.com/en/code/1364 and I put the files at their proper Folders but I still don't see the Indicator showing up in my MetaTrader 5 I even looked at the Main Indicators Folder and it only has the Source File but it...
Hello, I fall in a problem where the following code directly uses iCustom works if(iCustom(NULL,0,"indiname",7,10,199,0,i)==-3 ) sell[i]=1; But the below using a middle variable doesn't work. double medium1=iCustom(NULL,0,"indiname",7,10,199,0,i);if(medium1==-3 ) double good=1;sell[i]=good;...
Chart window indicator don't fit in chart when indicator prices outpace chart prices. It seems to lack an option to let it fits in, automatically like in a separate window indicator. The vertical scale can be adjusted, although at loss of indicator centering with a poor display as there is no turn...
Hi, As I newbie with programming I need some help with indicator. It is very simple and I do this manually on daily basis. I check current price of a pair and compare it with SMA and then score currency. i.e. I have eigth currencies: USD, EUR, GBP, JPY, AUD, NZD, CHF, CAD and every day I check...
Hi -:D  I use such an amazing function iBarShift made by Alain (Thank you Alain!) I've got a little problem.  iBarShift(Symbol(),PERIOD_H1,D'2014.10.13 00:00'); This returns an accurate bar shift in most of symbols. But at the beginning of week with some symbols such as S&P500,  it returns Friday...
I have the attached really neat indicator which gives me the daily average range & actual range of an instrument, and I have amended so I also have the weekly average range, however I have been unable to put them both on my chart at the same time. Can anyone point me in the right direction...
I was wondering if it is possible to add indicators to the mini charts that are available in MT5. I Googled it and came up blank. Pic below. http://i.imgur.com/V8nKd5r.png
Hi all, I have developed various indicators in various platforms, this is my first time in MQL, hence my question will be ..elementary. Let's say I've got 1000 bars of prices. My indicator needs 200 bars for initialization but my first indicator result comes at current bar (1000) instead of 201....
Hello, Want to see your indicator works ? Хотите увидеть свои индикаторные торговые работ?   Run EAIndiTester with Visual mode for any period and time frame you want, then simply apply your indicator on the chart as usual. You can also use template "clean-chart.tpl" to clean up the visual chart....
does anyone know how set up alerts using indicators? Want to be alerted when the market reaches certain conditions using indicators not just price. Any help would be great
hey happy people ! i'm looking for an indiator that show on a 5 minute (or esle) chart , the candle of another time lenght (1h or 4h). something a bit like this (watch pic) thank you very much
I have been wondering if there is any technical difference between "Currency Strength" and "Heat Map" it seem to me they both have the same characteristics. Because they all display the relative market condition of each currency within a period. What do you think...?
how is the formula to calculate divergenze ? i want to add to custom indicator the function to found divergenze but i no found the formula to calculate it
How to update a paid Indicator from the Market? Please advice/help me - thanks.