Technical Indicators - page 38

Hello. The custom indicator that i've created does not show historical values on chart. When i try to attach the indicator on any chart i can only see the values beginning from current bar. If i change the broker for some other company it works normal but if i change the symbols GBPUSD-GBPJPY to
I purchased an indicator on the website via the Marketplace. On the website I can see it in my list of purchases, and on the product page it indicates "This product already purchased." There is a link there "Install on the Terminal" that does nothing. When I go to the Market tab of the MT4 terminal
One issue I'm having modifying pre-existing indicators is the indicator plot on the graph will stop updating and return to zero, until I recompile or change timeframes and back again. I've been trying everything. What's the best code for an indicator loop? Here's my code, trying to combine Bears and
Hi. Could someone please explain whether is it possible to run a custom indicator without opening a chart for the particular instrument in MT5? I read that maximum of 100 charts can be opened in MT5 in a given time. If we want to run an indicator in more than 100 instruments at the same time and
Hi.  I have been working with this news indicator and its working great for me but when someone far away uses it. The news don't comes in the right place. Can someone please have a look at the code and see if there is something that is not right.  So here it makes the array with the news only...
For example, I want to connect any two points of the A/D indicator (my purpose is to detect divergence), but if there is a dip/top that exceeds the "trendline" between these two points, this drawing should not be accepted. Same goes for both prices. What I am trying to do is to create a trendline
Hi I wanted a script to open charts for all the "Unhidden" symbols in the Market watch. With some help, I tried the following code. But it opens all the symbols in the Market watch including the hidden ones. Could someone please help to filter only the "Unhidden (Showing)" symbols in the Market
How can I create an indicator that has multiple MAs, but not showing all the MA options at once, but instead revealing the settings for the MA chosen by the first drop down menu? Would I use something like this? enum MAchoice { MA1, // blah MA2, // blah MA3, // blah }; input MAchoice MAmethod = MA1;
Why is this happening? do I need to re-install Metatrader/MetaEditor completely from scratch? Am I supposed to add an #include file? What's going on here? I searched the internet and I can't seem to find a similar issue anywhere. I'm using it in the OnCalculate area. I've tried typing it in other
im trying to add this value of the indicator: speed as buffer , please help! i did SetIndexBuffer , but then what i have to do ? //+------------------------------------------------------------------+ //| Speedometr.mq5 | //|
Hello, my MTF (multi-timeframe) indicator works fine on opened market (when new ticks are received -> starting OnCalculate() function). E.g.: I see D1 moving average values on 10min chart... Problem is on the closed market where no new ticks are received. I get error 4806 (BarsCalculated function...
Please how can I fix the following errors in the below code? 1.'if' expressions are not allowed on a global scope. 2.'}'expressions are not allowed on a global scope. 3.'if'open parentheses expected. 4.'first'-undeclared identifier 5.'}'-not all control paths return a value
I used the default MetaTrader Parabolic SAR and ADX in an EA but wasn’t working. Then I backtests each indicator and observed that neither of the indicators are reading data. The data window is blank even the ADX didn’t load at all only the ADXW did. What could be wrong
Hi there? Please inform me how I can solve these 9 errors Line 1: OnCalculate function not found in the custom indicator Line 52: 'AbsMOMBuffer'- undeclared identifier Line:52: ' AbsMOMBuffer'- variable expected Line 52
This indicator will simply be a list of 5-6 different indicator values, each followed by a Green up arrow or a Red down arrow. This indicator should show in the window below the chart
  beginner  (2)
Hello I start in programming mode under mql5 I look at the following code https://www.mql5.com/en/code/491 and I look for the line number where the program draws the blue or pink point in the function int OnCalculate(const int... thanks
Hi, I use daily timeframe to display indicators like MACD etc. For this purpose the iMACD-function uses the daily bars of the underlying equity. How do I calculate a new MACD that uses daily bars (24h) where the bar starts at an arbitrary hour, e.g. 10:00 and lasts until 09:59 the next day? Thanks
Good Day all, So I've plotted an RSI indicator to the main chart and on the same window (of the RSI), I've plotted several MA's. Anyone know if there's a way of getting the MA values relative to the subwindow? I was able to get the MA handles from the subwindow but when retrieving the values, I get
#property strict #property indicator_chart_window #property indicator_buffers 10 #property indicator_plots 4 #property indicator_label1 "Start FVG Bull" #property indicator_label2 "End FVG Bull" #property indicator_label3 "Low FVG Bull" #property indicator_type3 DRAW_ARROW #property indicator_color3
Hi I am trying to change the following code so it does outputs (like in picture) symbols that satisfy the adx cross and/or ma cross If a symbol just satisfies one condtion it will put 1 after them like in the picture If the symbol satisfies both it will put 2 after the symbol . x number for x number
Hi guys! I'm a bit new to the MT5 system and would like your help. I've recently come across a free indicator on the library and really enjoyed it. I've saved the .ex5 file because I want to have it in case it disappears from the indicators library. My question is: having this .ex5 file would still
We cannot see the codes of paid or free downloads from the market in the "MetaEditor". Is this security a facility provided by the "Market" or is there an algorithm for it
double Array_MA10[]; int OnInit () { //--- indicator buffers mapping SetIndexBuffer ( 0 ,ShiftedMABuffer, INDICATOR_DATA ); //--- return ( INIT_SUCCEEDED ); } //+------------------------------------------------------------------+ //| Custom indicator iteration function
//+------------------------------------------------------------------+ //| Nad_Envelope.mq5 | //| Copyright 2022, MetaQuotes Ltd. | //| https://www.mql5.com |
Hi All I have created custom iSuperTrend and want to remove the line which is drawn when trend changes. The attached screenshot will explain it better. PlotIndexSetString (_BufferSuperTrend, PLOT_LABEL , "ST Fast (" + IntegerToString (ATRPeriod)+ "," + DoubleToString (ATRMultiple, 2 )+ ")" );
Hello I wander what is the mistake in this indicator because it isn't update the data on chart every candle? #property strict #property indicator_chart_window #property indicator_buffers 1 #property indicator_plots 1 #property indicator_type1 DRAW_LINE #property indicator_width1 1 #property
Please how can i lock an indicator to an account number and also add expiry date to the indicator
Hello, i would like to ask someone to help me. I have two ''Support and Resistance'' indicators. One indicator has no alert but works fine and the other one has an alert (it does not work though) and also when you change indicator colour or width it returns back to default settings. So, I would like
1)when we add the same indicator to a chart The oninit function of the first added indicator is working. 2) When Oninit is not running, I cannot use the ChartWindowFind() function. How will it be possible to control the window with the objects that I will add to the indicator
  Daily data  (151   1 2 3 4 5 ... 15 16)
In order to stop some things : Daily data is a simple tool to show information I find useful in my trading It is not and it was not an elite section indicator (indicators in elite section are much more serious than this one) This one is simply a tool that does not take too much space, looks rather