Technical Indicators - page 23

Hello, Following code gives me a number in the -214000000? cant seem to figue out what i do wrong. Looked through the forum but only found people with the same problems. double Fractalshigh[]; double Fractalslow[]; int Fractaldef=iFractals(_Symbol,_Period); ArraySetAsSeries (Fractalshigh,true);...
Hello everyone. I have a multi time frame indicator which does not load in closed market. Actually starts painting when first tick arrives. Do you have any idea? I can send you the code also
hie everyone am looking for a high low indicator that doesnt have continues line, but has got short line please help
[Deleted]
  Seconds Chart  (1)
//+------------------------------------------------------------------+ //| еСекундичка.mq5 | //+------------------------------------------------------------------+ #property copyright "Copyright 2018, МегаКурец Software Corp." #property strict
I'm new to MQL5 with some experience in MQL4. In MQL4 the indicator value is directly called by double value = iSomeIndicator(symbol, period, parameters..., shift); While MQL5 we use a handle to initialize first, use CopyBuffer() to map it to a defined Array then visit the array to get value. So my
Hello All, I want to make a straightforward change to the example shipped MACD to expose the Fast & slow EMA's as lines in the same window as the histogram & signal. The standard shipped example MACD (attached) exposes the histogram & signal in a separate window. I can build it, it works - all good
I was getting wrong values in OnCalculate() method in my custom indicator. Here is a test indicator just logging the values. int OnCalculate ( const int rates_total, const int prev_calculated, const datetime &time[], const double &open[]
  Coding error  (4)
Hi, Can anyone help with the code below. I keep getting the error messages below and cannot work out the solution. Regards, Anthony #property indicator_chart_window #property indicator_buffers 2 #property indicator_color1 Lime #property indicator_color2 Red //inputs extern int MA_Period = 30 ;
Im creating an indicator that has to detect chart structure . e.g Rising wedge I do have code I took somewhere online that only places s/r at the peaks. I want to convert the code to take in trendline, so can you please guide me; //+------------------------------------------------------------------+
Hi, How can we put a price line in the "Three line break" MT4 indicator window please? A price line is present in the MT5 version but not in the MT4 one. Many thanks MT5 version with price line in the indicator window (https://www.mql5.com/en/code/1298) MT4 version without price line in...
Hi Every One Simply Speaking, I need to get Indicator value and it's corresponding dates, I do this by the following lines of codes: Handle_ZigZag = iCustom(S,TimeFrame,Indicator_1_Name, Depth, Deviation, BackSteps) ; int count_of_indVal = CopyBuffer(Handle_ZigZag, IndexZigZag, StartDate
Hello Guys. I know Little bit MQL4 Language only But i don't know at all MQL5. it it very simple to get this indicator values in Mql4 Expert. But I don't understand how to get the indicator values in Mql5. I am attaching the indicator below please some one help me how can i get the values in
Hi does anyone know how to change the moving average types for the default built in MACD in mql5 to all EMAs, I am having difficulty changing it, thank you in advance
I'm having a heck of a time setting up my custom indicator to only update the most recent bar on new_bar event and update the entire array when the timeframe is changed. My indicator is linked to an EA that downloads a file, reads and records an array, prints the array to file, and then I want the
Hello everyone, I am studying the Parabolic Sar in depth and none of the internet tutorials I have found talk about how the Psar reports Sideways Market situations (ie "no trend"). It is as if for this indicator the market was either only bullish or only bearish. And as we all know that is not a
Hi there, i'm currently learning MQL5 language. I've just write a indicator program about EMA and Hull MA crossover and stuck on a problem The Hull MA doesn't update the value when a new bar appears. I am not sure why the indicator is behaving in this manner. Here is my code. #property
Hello Please where did i get it wrong. I have used all #property string directive yet still having upload issues. Can you be of help? Thank you
Hello Everyone, I love using ATR for stops, targets and trailing, but would like to read other traders' experiences who also calculates with ATR. For example i trade Elliott waves in trend direction, mostly using 2 ATR for stop-losses and 3-8 ATR (14 periods) for targets following with ATR trailing
halp double EMA( ENUM_APPLIED_PRICE source, int length, int curBar, const double &_close[], const double &_open[], const double &_SMAbuffer[]) { if (source == PRICE_CLOSE || source == PRICE_HIGH ) { } else { Print ( "ERROR, price applied needs to be close or open." );
Hello, I am trying to do a remake of the famous gg trend bar in MQL5. I failed for now, because the parameters for iMA are not the same anymore. I tried to understand with the documentation, but with no success. If i could not do it, i have to redo my own moving average with array (not ideal and
  MAs on OBV  (4)
I wish to query 4 different length MAs on OBV. Can I pass the same OBV handle to 4 different MAs (in Call_iMA or Call_IndicatorCreate ), or will I need to generate 4 different OBV handles for this purpose? I should stress that I'm a BEGINNER at coding mql5, although I've done mucho coding in other
  Close[n] In MT5  (6)
In MT4, there is a function called Close[n], what's this function in MT5??
Hi? Please where can I get this in mql5 or website? DAILY COUNTER TREND FREE DOWLOAD FOR MT5: Please reply. Thanks in advance
Hello everyone, I am studying the technical indicators one by one and when I thought I had fully understood the Heikin Ashi candlestick indicator (watching various tutorials on the Internet), I have applied it in my Metatrader 5. And I have come across this: Where very strange things appear: In
Hello community, want to show text in a separate window of an indicator: #property indicator_separate_window int OnInit () { int chart_id= 0 ; int sub_window= 1 ; string name= "my_test" ; if (! ObjectCreate (chart_id,name, OBJ_TEXT ,sub_window, 0 , 0.0 ) ) return ( INIT_FAILED
I run an indicator and it shows a buffer in the past market.. which is correct but the problem starts here that when I want to run the buffer in live of chart.. it detects correctly but when it wants to show the running buffer.. The new values of the buffer are not connected to the continuation of
Hello Together, is it possible to use in a market product? this is a standard microsoft dll, so i was thinking its possible to use it in any product, but i get the message dll is not allowed #import "wininet.dll" any ideas? all the best Christian
I asked Chatgpt to generate code for a midnight open line - a few errors and warnings popped up can anyone help me out? Hopefully I posted this correctly, sorry again if I did not
I have created an Indicator in Trading view, but want this in my MT5 terminal This indicator includes and show this on the - consolidation zone - Stochastisch RSI - TSV time segmented volume - baseline - Support & Resistance it provides me this view which helps me a lot to get the right deals set
Hello friends please help me to get the buffer details in my .csv file. I have written the following code for the buffer details: double SellBuffer[]; double BuyBuffer[]; int SS = iCustom(_Symbol,_Period,"SUPER SIGNALS",24,INDICATOR_DATA); ArraySetAsSeries(SellBuffer,true);