Script/Indicator for OnChartEvent clicks

Trabajo finalizado

Plazo de ejecución 6 minutos
Comentario del Cliente
Fast as bullet delivery. Attentive & efficient. Best ever!
Comentario del Ejecutor
Great customer, clear specs, prompt communication, recommended+

Tarea técnica

To develop a script that upon pressing a shortcut key, and clicking on a specific candle, an object(rectangle) is to be drawn on the chart on that specific candle. 

I have the source code examples to aid in the development of this indicator as attached. You just need to use the onchartevent click and drawing of objects. No logic/validation is required.

**to use the example indicator attached, once loaded, press "Z" and click anywhere on the chart. it will plot rectanglse 200 bars to the left based on the place you've clicked. What i need is just plot the rectangle based on that Candle i have clicked. Strictly.


Detail Specifications

Part 1

- Assign 2 x hotkey "S" and "D" where S plots a rectangle on the upper wick(high to mathsMax value) and D plots a rectangle on the lower wick(mathsMin to low value)

- When i press S and click on a specific candle, a rectangle shall be drawn on the upper wick "zone" and extended to the right side of chart(source code provided on the object extension)

- When i press D and click on a specific candle, a rectangle shall be drawn on the lower wick "zone" and extended to the right side of chart(source code provided on the object extension)

- Assign 2 x hotkey "C" and "V" where C plots a rectangle on half of the upper wick((high-mathsMax/2) + mathsMax to mathsMax) and C plots a rectangle on the lower wick(mathsMin to (mathsmin-low/2)+low)

- When i press C and click on a specific candle, a rectangle shall be drawn on the upper wick "zone" and extended to the right side of chart(source code provided on the object extension)

- When i press V and click on a specific candle, a rectangle shall be drawn on the lower wick "zone" and extended to the right side of chart(source code provided on the object extension)



-Individually all 4 hotkeys shall have input parameters to determine color, style, line thickness

- a global input to choose if all rectangles created shall be unselectable or selectable

- a user input parameter to determine how long the extension of the rectangle is to the right

- a global delete hotkey "x" to delete all rectangles created using SDCV

- the indicator shall be able to "refresh" itself if i click it on the same candle again. For example, if a live candle is still running and have yet to close, and i clicked and plotted, the rectangle zone may not be the same as when the candle closed. 

Also, if a rectangle is drawn already, there should not be a duplicate rectangle plotted/overlapped if i clicked on the same candle again.



Archivos adjuntos:

Han respondido

1
Desarrollador 1
Evaluación
(31)
Proyectos
44
61%
Arbitraje
0
Caducado
0
Libre
2
Desarrollador 2
Evaluación
(52)
Proyectos
66
41%
Arbitraje
1
0% / 100%
Caducado
7
11%
Libre
3
Desarrollador 3
Evaluación
(265)
Proyectos
280
55%
Arbitraje
0
Caducado
5
2%
Trabaja
4
Desarrollador 4
Evaluación
(453)
Proyectos
479
70%
Arbitraje
6
67% / 0%
Caducado
2
0%
Trabaja
5
Desarrollador 5
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
6
Desarrollador 6
Evaluación
(20)
Proyectos
23
39%
Arbitraje
4
25% / 50%
Caducado
1
4%
Libre
Ha publicado: 4 ejemplos
7
Desarrollador 7
Evaluación
(69)
Proyectos
146
34%
Arbitraje
13
8% / 62%
Caducado
26
18%
Libre
Ha publicado: 6 ejemplos
8
Desarrollador 8
Evaluación
(279)
Proyectos
341
37%
Arbitraje
6
50% / 17%
Caducado
7
2%
Libre
Ha publicado: 5 ejemplos
Solicitudes similares
Dear developers I want to create an expert advisor for my strategy. The entry signals quite simple using OHLC, Bollinger, SuperTrend. (Possibly: ICT/FVG) The money and risk management is more difficult using martingale and trailing stops. I also need help to design this before any development
Welcome to the new era of automation I have something very powerful for trades who are looking to make consistent profits in the industry The EA is called Golden Sniper Pro designed specifically for boom index on Deriv broker with a win rate of over 85%. The ea combines EMA and RSI to detect market direction, calculates SL and TP by ATR. Uses tick counts to avoid entries near spike zones, if there was an entry
Hello, I am looking for someone who can help me to build a MT4/MT5 forex EA, by analyzing the trading history. You are responsible to find out trading logic behind the EA and Build a new EA that accurately replicates the existing strategy. I need someone who has proven previous experience to build a new EA by reverse engineering. Thanks
Risk management EA 30 - 200 USD
Looking to develop risk management EA for personal use probably commercially in the future. I want the EA to have a display panel with 0.1, 0.2, 0.5,1,2,3 percent risk management button. I also want BE, partial closure of 0.25,0.5,0.75 and full closure panel on both profit and loss. I’ll also like to include trailing stop, 2 trades max per day and BE+spread option. I’ll be attaching the image for a guidance on what
Sierra Chart Alerts to MT5 via Webhook (Alert Manager File Version) Objective: Create a Custom Study (ACSIL / C++) that monitors alerts from the Alert Manager file and forwards any valid alert directly to MT5 via an HTTP POST (Webhook) in JSON format. Additional Note: The study should allow adding any modifications in the future and provide clear insights into the alert points in Sierra Chart. 1. Data Flow Diagram
Ea.Mix 30+ USD
I am in need of a good scalping bot for gold or any currency pair. If you have one that is working, reach out. You must be able to provide a trial version so I can test the bot myself
MT5 Expert Advisor Development Project Overview I am looking for an experienced MQL5 developer to build a custom MetaTrader 5 Expert Advisor based on a grid-cycle trading framework. This is not a standard grid EA . The system combines: Session-based trade initiation Multi-filter signal generation Dynamic grid management Advanced basket management State-machine-driven trade lifecycle management Dynamic take-profit
I am in need of a good scalping bot for gold or any currency pair. If you have one that is working, reach out. You must be able to provide a trial version so I can test the bot myself
Test instructions: - Run EA on US30 (Dow Jones) - Timeframe: H1 - Test period: last 3–6 months - Use default risk settings (1% per setup) - Check Friday breakout logic only Expected behavior: - EA should mark Friday High/Low - Wait for candle close breakout - Wait for retracement into range - Enter only when H1 candle closes inside range - Execute 2 trades per setup (TP1 = 1R, TP2 = 2R) - Respect 1.5% daily loss
ART 1: NUMBER OF TRADES ALLOWED IN ONE DIRECTION: Maximum number of trades in one direction = ------------------------------ ------------------------------ ------------------------------ -------------- par PART 2 PARTIAL CLOSURE OF STOPLOSS: Total STOPLOSS =------ Pips 1a: Percentage of Stoploss =--% 1b Percentage of Lot size =--% 2a: Percentage oe of Lot size =--% f Stoploss =--% 2b

Información sobre el proyecto

Presupuesto
30+ USD