Technical Indicators - page 23

So, i've coded many EAs, but i'm a bit new on indicators. I made a Donchian Channels indicator for MT5, but i want to make an EMA of the BASE line and i can't find how, i already checked the Custom Moving Average indicator source without luck. So any help would be great, thanks :) In short: how to
Dear Fellows Greetings. I have created an indicator class and following methods are defined to get value on single index bar. //+-----------------------------------------------------------------------------------------------------------------------------+ //| METHOD: GetIndexTSV()
Dear Fellow I am having challenge to figure out why there is 2 bar shift when I send bar[index] to Indicator class. Even after two days for debugging I have failed to find the reason for it. The code and screen shot is attached for ready reference herewith. You will also notice that Hammer/Shooting
Hi Guys I wanna make inside my own custom indicator some modifications to the existing chart & period data, and save the results in my own series arrays (let's say: cust_open[], cust_close[], cust_high[], cust_low[], cust_time[], cust_tick_volume[], cust_volume[], cust_spread[]). so it's technically
Hello everyone, I tried to setup an Expert-Advisor in mql5 trading with several Indicator-Signals using the Signal-Classes from StdLib. I've searched a lot for examples, but can only find complete Trading-Systems with objects of "CExpert" (propably just made with a wizard). But I cannot find any
Hi, I want to create CSignalRSI class object to get signal result. I've create object, but how can I set my symbol and period to get LongCondition() and ShortCondition()? I've created SignalRSI object, but how I can set my symbol and time period to get signal result? SignalRSI = new CSignalRSI;
I am just beginning to learn MQL5, and wonder if I can get your help with a problem I encounter. Lets consider an example in which I want to calculate the median price of the last 10 days, I collect one array of the low prices and other for the high prices of the last 10 days. One could loop over
Hi there, I'm looking for an indicator just like the atas system for meta trader. I see there is a volume order book on (Alt+B) orderbook section which is only working on win10 or above. ( maybe good if it's useable on win 8.1 as well, but not relevant it this case ) So is there any kind of
Hello, In MQL4 there was IndicatorCounted () whose equivalent in MQL5 is prev_calculated. But the big difference is that IndicatorCounted () is accessible from anywhere in the program, whereas prev_calculated is only accessible from the OnCalculate event. Is there an equivalent function in MQL5 to...
How to use Fibonacci time zone
Hello everyone I have a mql4 code who paint an arrow when (CCI shift = 2) and CCI(shift =1) > CCI (shift = 2) and I want to convert it into mql5. In mql4it's possible to include the shift but with mql5, iCCI can only use 4 arguments(no shift) Can anyone help me on how can I do it The mql4 code is
As my first project I've started by trying to convert the following to MT5. // // @author LazyBear // If you use this code in its orignal/modified form, do drop me a note. // // Modified by Bromley study( "TDI - Traders Dynamic Index [Goldminds]" , shorttitle= "TDIGM" ) rsiPeriod = input ( 11
As title, i've already set INDICATOR_LEVELCOLOR = clrNONE but it still show level color on initialize. for ( int i = 0 ; i < 8 ; ++i) { IndicatorSetDouble ( INDICATOR_LEVELVALUE , i, i + 1 ); IndicatorSetInteger ( INDICATOR_LEVELCOLOR , i, clrNONE ); IndicatorSetInteger (
I'm seeking confirmation regarding the utilization of the Symbol() and Period() functions within custom indicator code, particularly concerning their impact when the indicator is utilized within a Multi-Currency EA. The Multi-Symbol EA is designed to facilitate trading across multiple symbols using
Hello forum members, I'm seeking help regarding text alignment displayed on a candlestick chart. I've encountered an issue where the labels are overlapping with the right candlestick and not displaying properly (please refer to the attached image). Upon reviewing my code, I'm struggling to identify
In MT5, when using channel indicators like Bollinger Bands that fill the space between the bands with color, any text labels or objects placed over the indicator are hidden behind the filled channel bands (See below an example image). However, in MT4, text labels and objects can be placed in the
I was thinking about this, and wondering if there's actually a limitation in the API. Let's say I'm currently on the 5M timeframe, the indicator should only alert on the H1 timefreame with the Alert() function regardless of what timeframe I'm currently on. Is there a way to do this? It seems that
I need help in this case: ERROR: '-' - open parenthesis expected 73: 43 { // Calcular médias móveis int limit = MathMin (rates_total, ( Bars - prev_calculated)); if (limit <= 0 ) return ( 0 ); for ( int i = prev_calculated; i < limit; i++) { EMA9Buffer[i] = iMA ( _Symbol , 0
We know that OnTick() will not do anything in MT5 indicator scripts, and MqlTick is a structure based on tick retrieval (historic ticks, not live). I haven't worked with MQL4, but I believe it was possible to work with live ticks in mql4 indicators, but not mql5, is that correct
[Deleted]
Hello, I have a strange problem when I add Point() in code it causes buffers to disappear from candles for some candlesticks. When i remove point it works fine on all bar. How can i fix this? //+------------------------------------------------------------------+ //|
OBJ_EDIT input is always behind OBJ_RECTANGLE_LABEL what could I do to make it on top ? Help me please. MQL5 Code Picture below
This is RSI indicator in MT5 and I need to write my own one. only change the Symbol. But I can't find where to change from current symbol to another Symbol help me please #property indicator_separate_window #property indicator_minimum 0 #property indicator_maximum 100 #property indicator_level1 30
I am trying to add alerts to Mladen's filtered deviation scaled ma. I want an alert when the ma changes colour from red to green as buy signal and green to red as sell signal. I was able to add the alert code but both the buy and sell alerts triggers at the beginning of a new candle. This is my
Dear MQL5 Experts, I am encountering a challenge in the development of an AUTO-FIBO indicator and seek your expertise and guidance. Currently, my indicator operates by specifying a "BarsBack" parameter, and it subsequently draws a Fibonacci retracement for the specified bar to the current bar. My
Hi, I am building an indicator to display several visual objects on the graph. I have a problem getting the high and low defined by ZigZag from a higher timeframe. My indicator will not use a buffer to save data, I want it to plot objects on the chart and will do the object plotting on
Hi all, I have a problem with compiling MQL project files(*.mqproj) from the command line. I generated a basic a custom indicator using the MetaEditor wizard, and named "macd" (without any modifications). When compiling it in the MetaEditor IDE itself, it compiles without any errors. However, when I
//+------------------------------------------------------------------+ //| Setka.mq5 | //| Copyright Privalov S.V. | //| https://login.mql5.com/ru/users/Prival |
Dear Fellows I have created a custom Indicator iVSA, which uses CScanVSA.method to get DataBuffer values. I need to lookback indicator buffers e.g. PreliminarySupply buffer to confirm BuyingClimax in CScanVSA. To achieve this I am using following Method to pass in BufferArrays to the Class. void
I am new to MQL5 coding , but found a function called DRAW_FILLING that can be used to fill between lines of indicators (e.g. Bollinger, two emas, etc.). However, the outputs do not look nice when you have two buffers overlapping (e.g. when you want to see two types of Bollinger) because the filling
Hi everyone, Can I draw a rectangle on a Daily time frame and see the same drawing on H4 ? Or do I have to draw 2 different rectangles each on a time frame ? somethink like on this photo : Is there a native solution on the Metatrader software, or do I have to use a paid indicator? Best Reguards