Total confused. This doesn't work (result >> bars=0): int OnInit() { string chartSymbol=_Symbol; int bars=Bars(chartSymbol,_Period); Print("Bars: ",bars); return(INIT_SUCCEEDED); } This works (result >> bars=the proper value): int OnInit() { int bars=Bars(_Symbol,_Period);...
Hello i know there are several indicators to measure or to rate the volume. I am looking for an indicator which gives me an indication about increasing and/or decrasing volume. Are there some suggestions about ? some indicators which have shown an adaequat performance? many thanks about
Hi all, I'm trying to display an Custom Indicator on an EA with a period H1 a line with the previous day Pivot Point, this seems to work for past days when the EA starts, but for new candles I always get the same values Here is my code, I know it must be some simple concept I don't understand int...
Hello Everybody, I find a profitable system that is combination of some indicator, anyone knows what's name of these indicators? below pictures are related of these indicators. 1) 2) 3) 4) 5) Best Regards
Hi, I'm looking of an indicator that will plot Monthly High and Low for all months of the current year as horizontal lines (not as a band). If possible with labels like (Jan High, Jan Low) Thanks for the support -F
How to compare different indicators with different scales when programming? I want to know when some lines of certain indicators cross each other to implement it in my programming codes. (I attach a photo). But the problem that I see is that the indicators are designed at different scales. And the
I want to do this class MyClass{ void func1( bool (func2)() ) { if ( func2() ) { } } ); and this too void func1( void *MyPointer ){ MyType *mt = (void*)MyPointer; } But it doesn't works in MQL. I was...
Please I am working on MQL5 and I see Array out of range. I have tried +1 but it still does not work. What else can I change to make it work? THANK YOU for(int i = limit-1; i >= 0; i--) { if (i >= MathMin(5000-1, rates_total-1-50)) continue; //omit some old rates to prevent "Array out of...
hi guys sorry i am new and i am trying to learn how to use this.. this is the script i used. and the error i got was event handling function not found. i am trying to create a stock screener on mql5 i have tried looking for solutions online i couldn't find anything, do i need to be registered with a...
Dear all of you! I am recently concerned about programming the Renko Bar in Meta trading platform . I am a newbie of course :)!! Please help me out! Thank you so much
Hello :) i have seen in the forum some external libraries. Are there some other more lib know to you which you could share or tell me the link? Maybe there are other interesting functions, features, indicators i could use in my own indicators? Thank you Hein
In the May 2012 issue of TASC, Walid Khalil in hid article "Exploiting Extremes Sentiment Zone Oscillator" describes a "Sentiment Zone oscillator" Sentiment zone oscillatorThe sentiment zone oscillator (SZO) is a leading contrary oscillator that measures the extreme emotions of a single market or...
Hi all, I am trying to write an indicator that will find the highestopen price of the past x candles. Being playing with it for some time now but Istill can’t figure out what is wrong. The iHighest function I am using seems to not take thecurrent bar into account in other situations it seems not to...
Hello, If 1:00 candle closes in H1, this is equivalent to 1:30 candle in M30, 1:45 candle in M15 & 1:55 candle in M5, based on this, When H1 candle closes, 1. Pop-up alert & Up Arrow at Bottom = when H1 (1:00), M30 (1:30), M15 (1:45) and/or M5 (1:55) is BEAR or DOJI candle 2. Pop-up alert & Down...
Hi I need to do something like this if ( iAO( Symbol(),PERIOD_M1, 0) <= iAO( Symbol(), PERIOD_M5, 0) ) { .... } But iAO( Symbol(), PERIOD_M5, 0) does not work when my chart timeframe is M1 (It return 0 always). Is it possible to obtain the real returned value of...
Hello, I was wondering if anyone could help me in coding this indicator, which is supposed to be better than the RSI. It was featured on the February issue of the "Technical Analysis of Stock and Commodities Magazine". It can be found in these 2 places: Thank you.
Hi Guys Im trying to download this free indicator on my mt4 for iOS https://www.mql5.com/en/market/product/but can't seem to as the wine file manager doesn't allow it and on my mt4 there is no market tab. They only way I can think of is via manual install after downloading the indicator on my hard...
Is MT4 ADX Averaging Method : SMA or EMA or Use the Wilders MA? Devs Explain This To Us? MT5 have 2 different ADX. I want to know the difference between MT4 ADX and ADX Wilders?? I search on this forum about ADX formula but I didn't see any explanation about this issue
Hi all I'm new to the MQL5 world and have been toying around with combining two indicators (iMACD and a custom indicator mab_qqe2) to create a combined indicator (mab_combined). mab_combined should place "Buy" and "Sell" arrows on the chart depending on the source indicators signals. The idea being...
Many indicators appear to have been developed for the stock market and then transplanted into the Forex market. The markets are fundamentally different so, which are the indicators developed exclusively for the Forex market
Hi,I don't know if it is the right session for writing my question. I would like to sell an indicator (for example X) that call for another my indicator (for example Y) Y will be free can I sell X on market session? thank's in advance
Hi to all! Searched the forum and did not find the answer... So need an advice please: Is it possible to add some coding to any indicator to display it on specific time frames only ? Let's say, whenever I add indi to the chart I need it to be displayed on H6 and H8 automatically (not selecting them...