Technical Indicators - page 34

Hi, When backtesting the code from the 'iMA' MQL5 section ( https://www.mql5.com/en/docs/indicators/ima ), the color of the MA is Red according to the property bellow: #property indicator_color1 clrRed but when I change it to: #property indicator_color1 clrBlue the MA's color remains Red (after
I want to get the absolute value of the MACD value. Main line can sometimes be below zero. It's causing problems with my transactions. How to write the code for the 0 distance, that is, the absolute value of the main line? If anyone knows, can you teach
Hello to all, I'm searching for a version of standard fractals indicator with a simple push notifications integrated when a new fractal occurs I've searched at codebase but could not find anything. If you have anything about it could you please help i'm using Metatrader 5
  draw or plot Wingdings  (12   1 2)
Hello everyone! I've been looking for days here on the forum and I can't find anything! From the documentation I realized that it is possible to draw wingdings in the separate window through two paths ( Object create or draw arrow-via buffer). Could someone help me by showing how I can draw
How do you put this MQL4 expression in MQL5 language ? Open[1+i] > (High[1+i] + Low[1+i]) / 2 I tried MathAbs(Open[1+i]>(High[1+i]+Low[1+i])/2) but it gives error and cannot compile Thanks for your inputs
Hello ALL I have created CIndicatorBase, CiMA.mqh and iMA.mq5. The challenge I am facing is as how to use Moving Average Functions for calculating MA on a single Index. I have populated custom price array (for input to the function) for required number of bars needed for MAPeriod. I have tried to
Hello, Wondering if anyone has created a Simple Moving Average for Tick Volume in MT5 ?? IF not, how difficult would this be to do ? I prefer to use something like a 180 period sma.............to create an almost straight line through the tick volume histogram, to help "visually highlight" Ultra
Hi All, I downloaded indicator SSL_Channel_Alert and it is not working in Expert Advisor , after some digging I found that the indicator not add in \include\indicators.mqh how can I add indicator to this file or how to generate .mqh for it? Thank you
This is an indicator i have worked in Mt4 and as am migrating to mt5 , i am in need of this indicator in Mql5 Language. This is an awesome indicator coded by Robert Hill. And all the credits goes to him. TIA. Suresh
Hello all, I'm looking into using MFF as a prop firm. Unfortunately they only use MT4 for their platform while my strategy is based on indicators that I can only use on MT5. Is anyone able to convert them to MT4? I know that MT4 has a smoothed HA. But when I tried it, it didn't give me the same
Hi, The following indicator has been coded to show only above or below the MA, however, this is not showing as expect. Can someone point out the error in the code for me? Thank you. Regards, John //+------------------------------------------------------------------+ //|
Hello, Good day, Please I wrote an indicator for MT5, the functions and everything is working well in my terminal, but the problem is, I sent it to someone, and he is complaining that the object e.g horizontal line when created on his chart, disable selection is automatically enable, preventing him
Howdie folks, I just need a simple indicator with alert that compares the candle body (open-close) of previous candle to the previous previous candle body. If the previous candle body is bigger than indicator will alert. I know candle body logic probably only a one liner, how would you write this
Hi I need the code so I can put 5 indicators or more and choose how many I want to combine
Hi all, I have been searching for a very simple Morning Star Candle notification for MT5 but having no look. If anyone has found one can you point me in the right direction please? I am looking for : Pop up notification to save the morning star pattern has been found That is pretty much it. I do not
  Buffer Mql5  (2)
hello guys i created an indicator that after a certain condition an arrow occurs , but how can i make it output a buffer? if (ConditionUp_TrendStars) { ObjectCreate (HBB3_ID, "Arrow " +( string ) TimeToString (time[shift])+ " Up" , OBJ_ARROW , 0 ,time[shift],open[shift]);
I set a plot of AMA in \Indicators\Examples\ as tester.tpl template then I ran a visual mode in tester and the end result showed this plot as attached. Notice how a single parameters setting ended up with 2 obviously different separated lines. Does this mean that AMA is a repainting indicator
Dear, I can create the DEMA over the MA, but I can't create it over the SAR. If I do: int hnd1 = iSAR ( _Symbol , PERIOD_M1 , 5 , 20 ); int hnd2 = iMA ( _Symbol , PERIOD_M1 , 5 , 2 , MODE_SMA , PRICE_CLOSE ); if ( iDEMA ( _Symbol , PERIOD_M1 , 9 , 5 , hnd1) == INVALID_HANDLE ) Print
Hi, I need a little help and other eyes. I have converted an MT4 indicator to MT5, which only displays info eg. account balances, profits % and a few other things. I got most to work but the calculation of the profit and commission is not working, no error, just not picking up the figures. this is
Hello, I have written an indicator which compares another current indicator candle value to current - lookback indicator candle: CopyBuffer (Multihandle, 0 , 0 ,rates_total,handledata); int start; if (prev_calculated<lookback) start=lookback; else start=prev_calculated- 1 ; for
[BUG?] DRAW_CANDLES + indicator_chart_window = doesn't show Hi, All my indicators painting colored candles over the main chart don't work anymore. After an investigation, I realized they actually work, but, apparently now indicators are drawing first, then mt5 draws candlesticks last, over-painting
It is no sign will be given depending on the currency pair more than 2 hours candle. Can anyone fix it for free
  ZigZag indicator  (1)
Hello guys hope you're doing well , I need a zigzag indicator that have two buffers one for lowmap and one for highmap
Nesting of MQL5 handles as iMA and iTEMA is not possible. I would need the Triple E xponential Moving Average of a Moving Average e.g.: int PRICE_GD_OPEN = iMA ( _Symbol , PERIOD_CURRENT , 10 , 0 , MODE_SMA , PRICE_OPEN ); double GD = iTEMA ( _Symbol , PERIOD_CURRENT ,4, 0
Hi! Why my indicator below endend up with really strange values in buffers? Please... #property indicator_chart_window #property indicator_buffers 2 #property indicator_plots 2 //--- plot Buy #property indicator_label1 "Buy" #property indicator_type1 DRAW_ARROW #property indicator_color1
Hi guys I hope someone can help me I have gone code blind I think. I am trying to set the Pivot from the previous bar not for any reason other than learning. Now I know I have messed up some where but I can not seem to find where. void BarData(){ int BarHigh, BarLow, BarClose, BarOpen; double
The feature of MT5 of 'Show real time history of deals on chart' is a great idea, however, it can cause a lot of screen clutter especially when trading on short timeframes eg 5min, then changing the time period to say daily to look at daily levels, trendlines etc. Is there some easy way to enable...
I was told I need to use handles for indicators in mql5. However, looking at the examples for RSI and custom moving average scripts I do not see any handles being used. Are handles only used some of the time? When should you, or should you not, use them
I have to get the maximum and minimum of a series of candles (hour candles) in a certain range, exactly from 5 to the left, a middle one (the one that must be the maximum or the minimum) and 5 to the right I found iHighest but from what I understand it allows you to get the maximum only backwards