Draw line of chart and collect information

MQL4 Indicateurs Scripts

Tâche terminée

Temps d'exécution 40 minutes
Commentaires du client
Work with him on several occasions. He is very helpful and willing to help even after the job is closed.

Spécifications

Hello guys,

I need your help on 2 separate scripts:

 

1.     On a plain chart, I have color vertical line. I want to collect time and date for each vertical line (bar 0) and 3 bar prior to it (bar -1,-2.-3)

The output file in scv should be:

Bar 0_date        Bar0_time         Bar0_Color_code                    bar -1               bar -2 bar-3

 

There are 6 colors of the vertical line and I should be able to assign code (in output file) for each color.

 

---------------------

2.     I have a scv file the following setting:

Date                     Time                              Long_Short        Color

2012.05.06         12:00                                 1                      2

.....

..... 

 Long_short has 2 possible value: 1/0 (1 Long and 0 short)

Color have value: 1,2,3,4,5,6

 

I want to draw a vertical line on charts for each time and date.

I should be able to choose whether line draw for only a supset of the data based on Long_short and color. For example, draw only Long (code 1) and color code 2. 

I should be able to assign color to each value.

 

That's all.

Thank you,

 HHC 

Répondu

1
Développeur 1
Évaluation
(195)
Projets
395
28%
Arbitrage
155
20% / 52%
En retard
112
28%
Gratuit
2
Développeur 2
Évaluation
(187)
Projets
367
56%
Arbitrage
45
22% / 56%
En retard
188
51%
Gratuit
Publié : 1 article, 6 codes
3
Développeur 3
Évaluation
(15)
Projets
65
58%
Arbitrage
6
17% / 33%
En retard
39
60%
Gratuit
4
Développeur 4
Évaluation
(564)
Projets
845
73%
Arbitrage
15
53% / 13%
En retard
193
23%
Gratuit
5
Développeur 5
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
6
Développeur 6
Évaluation
(73)
Projets
257
53%
Arbitrage
16
50% / 38%
En retard
83
32%
Gratuit
7
Développeur 7
Évaluation
(9)
Projets
16
19%
Arbitrage
1
0% / 100%
En retard
5
31%
Gratuit
8
Développeur 8
Évaluation
(26)
Projets
45
29%
Arbitrage
2
0% / 50%
En retard
21
47%
Gratuit
9
Développeur 9
Évaluation
(510)
Projets
977
74%
Arbitrage
27
19% / 67%
En retard
100
10%
Travail
Publié : 1 article, 6 codes
10
Développeur 10
Évaluation
(63)
Projets
80
28%
Arbitrage
17
12% / 76%
En retard
48
60%
Gratuit
11
Développeur 11
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
12
Développeur 12
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
Publié : 1 code
13
Développeur 13
Évaluation
(47)
Projets
140
49%
Arbitrage
9
56% / 0%
En retard
27
19%
Gratuit
14
Développeur 14
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
15
Développeur 15
Évaluation
(1235)
Projets
2820
80%
Arbitrage
156
22% / 43%
En retard
487
17%
Gratuit
16
Développeur 16
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
17
Développeur 17
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
Commandes similaires
Mamba EA Scalper 30 - 40 USD
Hi, i need a aggressive mobile trading bot which supports both IOS and Android versions, the bot will use stochastic oscillator indicator %K period:15 , while % D period:9 and slowing :9 ,price field should be Low/High while it's method should be simple , Levels: 20,80 and time frames: all . The styles should have a main line which should be green and signal line which should be red . The bot should be able to trade
a one min scalper which will scalp on a one minute timeframe and can trade a low account to a big one and is more effective in mt4 and mt5 for a very short period of time yeah
Mt5 ea 30+ USD
I have a fast execution ea that need a little touch, it trade on gold and my problem is about the risk ratio the tp is 3pip and stop loss 20 but i cannot get it right to make the average win larger and average loss lower. I would like to know if i can get help to get it right without touching the tragedy and the trade frequency. Those two pictures I attached is the example of what my bot actually do like i explained
hello could you make me same indicator for ninja ? https://www.youtube.com/watch?v=pxs2MuqvH3w if yes for how much and timeline ? thks in advance and please reply me as soon as possible you get my notification
Hello, I want a simple bot for NinjaTrader8. I need a bot that operates automatically on Nasdaq (NQ/MNQ). Requirements: open buys and sells following a simple trend strategy, configurable stop loss and take profit, risk per trade of 1 to 2% of capital, if it loses 3% in a day, stop trading until the next day. Compatible with backtesting, delivery of the source code and the working bot in NinjaTrader 8. My initial
[8/4/2026 4:54 AM] DR.HassaN: AI Gold Analysis Web Platform Requirements Hello, I would like to build a professional AI-powered web platform dedicated exclusively to Gold (XAU/USD) analysis . This is NOT a trading platform or broker . It is an intelligent analysis platform that provides high-quality trading signals and detailed market analysis. The platform should have a modern, premium design with my own branding
Ema100+Fibo 30+ USD
I need a robot that sends me a notification when the price aligns with the EMA and my Fibonacci levels—using specific Fibonacci settings—and then either opens a trade based on the Fibonacci SL and TP or simply sends me a notification. And I want the robot to run in both the Strategy Tester and on a demo account, so I can test it beforehand
I need a custom technical indicator that generates an equidistant channel with two specific structural features: 1. Vertical Multi-Intervals: The ability to plot more than 5 parallel, able to allow me to put intervals 2. Horizontal Angle Input: The ability to manually input geometric angle to strictly define the horizontal slope of the channel or allow me to pick two points manually. i am looking for something like
//+------------------------------------------------------------------+ //| DX_Structure_H1.mq5 | //| Copyright 2026, Seu Nome | //| https://www.mql5.com | //+------------------------------------------------------------------+ #property copyright "Copyright 2026" #property link " https://www.mql5.com " #property version "1.00" #property strict // Parâmetros de Entrada input string InpSymbol = "DX.F"; // Nome do Ativo
Hola, traders e inversores: Desarrollamos soluciones de trading algorítmico para MetaTrader 4 y MetaTrader 5. Creamos bots, indicadores y herramientas a medida que convierten estrategias manuales en sistemas automáticos, configurables y orientados a una gestión de riesgo sólida. Hemos trabajado en automatizaciones que integran entradas y salidas por reglas, cálculo de lotaje, control de drawdown, filtros de horario y

Informations sur le projet

Budget