Technical Indicators - page 64

while(pos>=0) { // ******** SLmin Function ********** double Func_SLmin (iCxu) { j=0; SLmin=3000; while(iLow(Symbol(),PERIOD_H1,j)<iCxu) { if (iLow(Symbol(),PERIOD_H1,j)<SLmin ) SLmin=iLow(Symbol(),PERIOD_H1,j); //Print (Symbol()+"SLmin = "+SLmin);
I have a company
Hi All I am trying to create a ROC indicator, but for some reason, it doesn't get displayed, the code is below double ROC, CurrentClose, PrevClose;double RateOfChange[]; CurrentClose = iClose(Symbol(), 0, i); PrevClose = iClose(Symbol(), 0, i + n_Period); ROC = CurrentClose -
Hi, I think the picture says it all. Its the standard Bollinger, inserted from the menu, and it was like that after some hours. Totally impossible ... actually. SMA goes up but price goes down? No way. But it confirms some other problems that I have after some hours when reading bar data and do own
Hello guys, In attachment you can see a screen with some indicator. Have you ever seen it? If yes so where can i find it and what is the name of it ? B.R Jurina
  File Function  (2)
handle=FileOpen("File1.csv",FILE_CSV|FILE_READ|FILE_WRITE,','); FileSeek(handle,0,SEEK_END); FileWrite(handle,Symbol(),TimeToStr(CurTime(),TIME_DATE|TIME_SECONDS),Profit); FileClose(handle); handle=FileOpen("File1.csv",FILE_CSV|FILE_READ|FILE_WRITE,','); FileSeek(handle,0,SEEK_END);
Hello I want to make an indicator based on two SMA, period 5 and 20, that shows an alert when all of these conditions are met: -MA 5 has to cross over MA 20. -Candle has to close AND cross over MA 5. -Both MAs has to point to direction of closed candle (only enough, not straight up or straight down
Hey guys, https://www.mql5.com/en/code/21417 Im unable to use this indicator on my MT5 account. Have tried placing it in both the experts and indicator folders but still not working? Does anyone have any ideas? Thanks
Hi, I need Mt4 version of this 2 indicators: BrainTrend2 and ATRTrend. I do not know if it is exists. I have searched but could not located. If you have it, will be grateful if you share. Thank you
How To Use Average True Range (ATR) The Average True Range (ATR) is a volatility indicator designed by J Welles Wilder and introduced to the market in 1978 with the release of his book ‘New Concepts in Technical Design’ The ATR tracks volatility and provides an indication of the market’s eagerness...
Good day in Mql4 I can type as follows if(Year() == 2020) //year if(Month() == 2) //Month if(Day() == 14) //14 february 2020 Print ("fappy Vals Day"); now how do I write the above in MQL5. I tried datetime date = TimeCurrent(); MqlDateTime m_time; TimeToStruct(date,m_time);
So I have found this TEMA indicator and I just wanted to limit the number of Bars it needs to process by adding a new parameter "BarsBack". The problem is that by doing this it messes up the indicator line. The attached code is as follows #property indicator_chart_window#property indicator_buffers
Hello How can I make the text bolder/thicker on the label? I use this code: string idxLabel="hello";ObjectSetInteger(0,idxLabel,OBJPROP_COLOR,clrBlack);ObjectSetString(0,idxLabel,OBJPROP_TEXT,"Text");ObjectSetInteger(0,idxLabel,OBJPROP_FONTSIZE, 10);ObjectSetString(0,idxLabel,OBJPROP_FONT
Hello everyone, How do I transfer Ichimoku Indicator data include tenkan-sen, kijun-sen,Senkou-A, Senkou-B, Chikou-Span & OHLC in daily or weekly timeframe(or All timeframe) historical ِData to Excel?tnx
Hi, I've been using this indicator for a while now but for the past month or 2, It started not showing up on some timeframes on different markets. In the past, it showed up on all timeframes and all assets that I used it on. But now it sometimes show up and sometimes doesn't show up. I've attached
  no alerts  (7)
hi guys, not sure what im doing wrong but cant seem to get any alerts or sounds when arrow prints. any idea where i have gone wrong <Deleted>
Hi guys, I need to know add some objects like OBJ_EDIT or OBJ_BUTTON to OBJ_RECTANGLE_LABEL. I want to create a panel and add my object to Rectangle Label, but I don't know how to add them
Hi all, already thank you for taking your time to read my message. I have a little problem, I can't find the PRICE MEDIAN function on my RSI indicator. On mt5 no problem I right click on the rsi and I find immediately (Median Price HL / 2). But on MT4 there is not this parameter. if someone can do
Hi, We have an indicator where it finds the highest High within given 4 candles. And then it stores this value in a variable of type Double. Sometime it change the value in double variable. For example highest high is 1.12347 in M15 EURUSD based on given four candles. And it is stored in a double
  Indicator Events  (3)
Hi guys, in the window I have 2 identical indicators: they can create bars at same time firing 2 different events using EventChartCustom. My question is: EA get the first events, in the OnChartEvent. What happens to the 2° event? Will it be processed after the 1° event is exited the OnChartEvent
hi i have this indicator that works , exporting multiple MA of timeframes: //+------------------------------------------------------------------+ int start() { static int flag; int handle; double AUDCAD_Bid, AUDCAD_Ask, AUDCAD_M1_10_MA, AUDCAD_M1_20_MA, AUDCAD_M1_30_MA
Hi all. This is version 2: //+------------------------------------------------------------------+//| Ichimoku2.mq4 |//| Copyright 2005-2014, ??MetaQuotes Software Corp??. |//| http://www.mql4.com |//+------------------------------------------------------------------+#property copyright "2005-2014
Hello, I want to create an indicator which tells me when to enter a trade. Additionaly the indicator tells me: Now! enter Trade StopLoss value TakeProfit value How can I pass this information from the indicator to my expert? Do I have to use three different Index Buffers for this, or can I use some
#property copyright "Copyright 2019, MetaQuotes Software Corp."#property link "https://www.mql5.com"#property version "1.00"#property strict#property indicator_buffers 1#property indicator_chart_window#property indicator_width1 1#property indicator_color1 clrChartreusedouble tops[];extern int
Hi, I was wondering if there is an script to change the timeframe of all charts open in MT5. I have the MT4 code but am not able to make it work in MT5. Any help will be appreciated. //+------------------------------------------------------------------+ //|
Hello everyone. I just wanna ask of some scripts or indicator that will divide the chart into 10 horizontal equal parts and it shows the horizontal level as level 10, 20, 30, 40, 50, 60, 70, 80, and 90. Thank very much in advance for the all the people who wants to help. God bless you all and pips
Hi Guys, Migrating my standard libs from MQ4 to MQ5 is about to drive me crazy! At the moment I'm trying to find replacements for functions iStdDevOnArray and iMAOnArray - see code snippet. It's the purpose of this function to normalize value inArray[sh] by standard deviation related to the...
  Composite index  (19   1 2)
Two friends of mine directed me in this direction : it turned out that we do not have a Constance Browns composite index indicator coded .... yet _____________________________ A quote from Constance Brown regarding composite index : The Composite Index was developed to solve the divergence failure...
I believe this to be a bug in Include\Indicators\Series.mqh method CheckLoadHistory currently: if ( MQL5InfoInteger ( MQL5_PROGRAM_TYPE )== PROGRAM_INDICATOR && Period ()==m_period && Symbol ()==m_symbol) return ( true ); should be: if ( MQL5InfoInteger ( MQL5_PROGRAM_TYPE )==
I have an indicator that uses iCustom and CopyBuffer to load the data from another indicator (same symbol, different timeframe). CopyBuffer will usually return -1 on the first call of OnCalculate(), meaning data is not yet available. This is not usually a problem as I return 0 and on the next call