Technical Indicators - page 9

Hello, I want to create an indicator that retrieves multi timeframe data of a custom indicator. Due to the original program is bulky so I have recreated it in a shorter version to reproduce the error, My intention is copy MACD data from different timeframes, the size of those buffers based on M1
Hello everyone I work on a custom indicator and begin learning coding following tutorials and articles, after several months some limitations persist and I thought getting your opinion could help me. Please excuse any possible beginner's mistakes, the basic idea of the indicator may seem simple
Hey, I have a Simple CDialog panel With Buttons on it, I am using it with an Indicator and Objects on the chart that I can Move and place on required price, I can't get it working in the BackTester(Visualisation), Searched on google but could not find Anything that helps, I would like to know how I
hi guy, why this code didn't work : #property indicator_chart_window #property indicator_buffers 2 #property indicator_color1 Blue #property indicator_color2 Red input ENUM_TIMEFRAMES TimeFrame1 = PERIOD_M5 ; // Timeframe 1 input ENUM_TIMEFRAMES TimeFrame2 = PERIOD_M15 ; // Timeframe 2 input
I am currently using an indicator I found in the codebase. When it loads in the chart it displays fine (Left figure), but when I change the TimeFrame, the indicator disappear (middle figure); when I add any other indicator ,the original indicator appears with the updated change (left figure). Like
Hi guys, I've created a set of HLINEs on my chart, which i'm able to modify as expected. Except when it comes to opacity, it just seems to be ignored. In this example, there is no change of colour whatsoever: for ( int x= 5 ;x>= 1 ;x--) { double dhigh = iHigh ( _Symbol , PERIOD_D1 , x);
[Deleted]
Hi, I am working with MACD+stoch +Bollinger band settings. MACD (default) Bollinger band (20,2) Stoch (14,3,3) EMA 10 and a MACD cross over alert indicator. Now,the problem is, sometimes it works great,but sometimes not specially in Asian session on EUR/USD. I get lot of whipsaw,To avoid it
Hi. I've tried to find an indicator that's active or selected to no avail trying to get rid of the line chart at the bottom (see attachment). It's driving me nuts! Any suggestions please? Much appreciated
This is my draw function: void DrawSwingLow( datetime time_to){ string objName = "Swing Low " + TimeToString (time); if ( ObjectFind ( 0 ,objName) < 0 ){ ObjectCreate ( 0 ,objName, OBJ_TREND , 0 ,time,candleLowPrice,time_to,candleLowPrice); ObjectSetInteger ( 0
I am trying to loop through the candles to find the highest high and lowest lowest low between time A and time B. How could I go about doing this in MQL5
iCustom(symbol,0,"indicator") works only as the symbol matches the symbol of the chart. In all other cases it returns 0; Where can I find the solution
Hi Guy, I want to add MTF calculating option to a fractal indicator ; anyone can help me please? thanks
Hello. I'd love some pointers on what I might be doing wrong with this value mapping function. I want my indicator line to always scale to the chart's Y axis (as if it had its own axis). I'm sure this is a common problem and I've looked around quite a bit to find a workable solution but I'm still
  Set Limit Hours For An Indicator  (49   1 2 3 4 5)
Hello, I Want To Set an Time Limitation For My Indicator. (MT5) How Can I Do That? For Example, I Want to Start Calculating From 9:00 To 00:00. Thanks
Hello, I am new to this platform. Been searching around for ways to get footprint chart or some form of number bars to display the chart, instead of the typical candlesticks. Does anyone have experience in achieving this? Much appreciated
Hi guys. Some brokers will limit the number of orders that a trader can open at the same time. So, is there an indicator that shows the maximum number of orders a trader can open at the same time? Thank you
Hello MQL5 members, I hope you are well. I have a very specific question When working with the functions of technical indicators such as iMA or iCCI, and some others, we can choose, according to the documentation, between APPLIED_PRICE or the handle of another indicator. Working with the
Hi All, First time reaching out on the forum. I normally try fixing issues by using the documentation and other online references but this has proven fruitless this time around. I have created a custom indicator based on a MA and some calculations (Code below). When I apply it to the screen, it
Why does the OBJECT_CREATE function normally to the LOW price, but not to the HIGH price? See the distance
Hi, I was trying to convert this indicator from TradingView to MQL5 but it badly prints the candles, as in the attached photo, and i don't understand where is the problem. From the TradingView indicator i want to convert only the Heiken Ashi code, not RSI and Stoch lines. Here there is the code
Hi, i have the following system: An indicator working on M15 period acting only when a new bar is created, using a system similar to the one below bool isNewBar() { static datetime PeriodLastBarOpenTime; datetime CurrentBarOpenTime = iTime ( Symbol (), Period (), 0 ); if
Since I am not satisfied with the format MT5 exports the trade history to excel, I wanted to create my own with my custom format. Now, while the following function works as expected, getting the trades for the current day, it seems to be retrieving both orders and deals, but I would be interested
Is there any indicator that records the first movement of the candle? Example: After the opening of the 5 min candle, if the movement is upward, this information will be recorded and in the same way, if the movement is downward. I have an operation based on this first movement, I have to be
Hey guys, there is a bug in this tool I created which is causing the file it creates to be overwritten, without an apparent reason. The utility is supposed to grab the new data from a site, then it updates the existing historical file it creates, so you have continuous historical data. For some
Greetings, MT5 enthusiasts. First forum post, so please be gentle with me. 🙂 In https://www.mql5.com/en/docs/runtime/running , there's a list of situations when an indicator gets loaded or unloaded. I suggest adding the case when a custom indicator is updated from the Market. Here's the scenario
Hi! I'm facing a problem here that is getting me crazy! I have an INDICATOR that works on the last close price (like Close[1]), and everything is functioning perfectly, either with TESTER or using real-time charts. I have no problem at all changing Timeframe and so forth. The problem: if I close the
Can you share the MACD with 2 moving averages cross for meta trader 5
  Help mql coding  (1)
Hi I been trying to make horizontal line indicator that draw in spesific candle in the olhc but the line need to be shorter when i make it ...it all the way longer so my chart full of horizontal line
I cannot change the color of the ZigZag indicator
in Indicator Data window,the numbers (after dot) show bunch of zeroes: i need to be shown there only 2 decimals after dot. used this function , but still doesnt help, there are still ZEROes shown... double RoundNumber(double number, int digits) { number = MathRound(number * MathPow(10, digits));