Draw line of chart and collect information

MQL4 Indicatori Script

Lavoro terminato

Tempo di esecuzione 40 minuti
Feedback del cliente
Work with him on several occasions. He is very helpful and willing to help even after the job is closed.

Specifiche

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 

Con risposta

1
Sviluppatore 1
Valutazioni
(195)
Progetti
395
28%
Arbitraggio
155
20% / 52%
In ritardo
112
28%
Gratuito
2
Sviluppatore 2
Valutazioni
(187)
Progetti
367
56%
Arbitraggio
45
22% / 56%
In ritardo
188
51%
Gratuito
Pubblicati: 1 articolo, 6 codici
3
Sviluppatore 3
Valutazioni
(15)
Progetti
65
58%
Arbitraggio
6
17% / 33%
In ritardo
39
60%
Gratuito
4
Sviluppatore 4
Valutazioni
(564)
Progetti
845
73%
Arbitraggio
15
53% / 13%
In ritardo
193
23%
Gratuito
5
Sviluppatore 5
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
6
Sviluppatore 6
Valutazioni
(73)
Progetti
257
53%
Arbitraggio
16
50% / 38%
In ritardo
83
32%
Gratuito
7
Sviluppatore 7
Valutazioni
(9)
Progetti
16
19%
Arbitraggio
1
0% / 100%
In ritardo
5
31%
Gratuito
8
Sviluppatore 8
Valutazioni
(26)
Progetti
45
29%
Arbitraggio
2
0% / 50%
In ritardo
21
47%
Gratuito
9
Sviluppatore 9
Valutazioni
(510)
Progetti
977
74%
Arbitraggio
27
19% / 67%
In ritardo
100
10%
In elaborazione
Pubblicati: 1 articolo, 6 codici
10
Sviluppatore 10
Valutazioni
(63)
Progetti
80
28%
Arbitraggio
17
12% / 76%
In ritardo
48
60%
Gratuito
11
Sviluppatore 11
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
12
Sviluppatore 12
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
Pubblicati: 1 codice
13
Sviluppatore 13
Valutazioni
(47)
Progetti
140
49%
Arbitraggio
9
56% / 0%
In ritardo
27
19%
Gratuito
14
Sviluppatore 14
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
15
Sviluppatore 15
Valutazioni
(1235)
Progetti
2820
80%
Arbitraggio
156
22% / 43%
In ritardo
487
17%
Gratuito
16
Sviluppatore 16
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
17
Sviluppatore 17
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
Ordini simili
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

Informazioni sul progetto

Budget