Forum

Arrows/symbols all over the chart

Hi everyone, could someone please help me solve this and tell me why this happens? I tried prev_calculated, IndicatorsCounted(), fixed amount of bars, also tried this https://www.mql5.com/en/forum/159093/page2#comment_16536812 , nothing worked... Thanks in advance

Short Horizontal Line Weekend

Hi, I draw short horizontal lines using this code Line=Time[a]+( PeriodSeconds ()*HlineBars); It draws shorter lines if there's weekend, I want to fix it, how do I fix it? Thanks in advance

Not drawing arrows

Hi everyone, please tell me what is wrong why it doesnt draw any arrows? It is mql5 //+------------------------------------------------------------------+ //| testing.mq5 | //| Copyright 2023, MetaQuotes Ltd. | //|

Zigzag color problem

Hi everyone, I'm trying to make this indicator like the image but no success Could anyone help me please

How to find past major/high impact news bars?

Hi everyone, I am coding an ea and want to backtest it by avoiding all major news 30 minute before, can anyone tell me how to find past news bars(from 1999 to 2021 if possible) with code? Thanks in advance

How to find past major/high impact news bars?

Hi everyone, I am coding an ea and want to backtest it by avoiding all major news 30 minute before, can anyone tell me how to find past news bars(from 1999 to 2021 if possible) with code? Thanks in advance

How to force recalculate of indicators?

How to do it using a indicator or an ea. I have indicators that only draw on past bars and nothing after attaching them, but I can't modify the code neither the author can(diseased). Thanks in advance

Draw trend line with end

Hi, from x y point in a bar a line starts and goes to the right if it touches a bar make it stop if not let it continue. I'm trying to figure out the above but couldn't figure out the code. Thanks in advance

How to write, search in csv

Hello, how do I write in the rows and columns of a .csv(a table)? Also how to search for the amount of occurrences and delete occurrences in a .csv? Code please, as simple as possible Thanks in advance

Help, coding substrings

Hello, grab a string of length 13: 1111 0000 11110 Then make substring of length 4-13 1111 1110 1100 1000 0000 0001 0011 0111 11110 11100 and so on... How to code the above and write every combination of substrings of 4-13 length in a txt or csv file