Technical Indicators - page 24

  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);
[Deleted]
How can i track if i load an indicator to chart, how many cpu thread and memory it consumes based on action. I am looking to increase loading speed of my indicators. Any suggestions are welcome
Hi everyone, below is my code, I dont understand why it shows such error. How do I fix it? int handlEma_indicator = iMA(_Symbol, _Period, ma_reference, 0, MODE_EMA, PRICE_CLOSE); double EmaArray[5]; CopyBuffer(handlEma_indicator,0,1,5,EmaArray);
Hey, got a quick fix for this error? Wanting to use the supertrend indicator on multiple currency pairs in my ea, tried "eurousd" instead of _Symbol and the indicator didn't load. STHandleEUROUSD = iCustom ( "eurousd" , PERIOD_D1 , "supertrend.ex5" ); Thanks for your time
I have a function that creates trend lines from one point in an array to a third point but i cannot stop it from creating lines that start and and end at ininfiy . The trend lines it creates are from an array thats filled by another function , the point of the array filling function is to find
I came across some useful source code for an indicator I want to write. But this code has an include file I can not find in any installation I have. It is supposed to be in MQL5/Include. THE AUTHOR claims it is absolutely standard, part of the normal installation, but I can not see that it is. #
Hi, I've been coding in MQL4 for a while, and am ' reasonably' good at it. Recently I have switched to MQL5 and having difficulty converting my higher timeframe indicators over. This is a Higher Timeframe Moving average. I think the issue is I am referencing the shift from the curent timeframe but I
The value of MA14 is obviously much higher than that of atr14, but why does the line of MA14 in the figure penetrate above atr14