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.
Benzer siparişler
I need an mql5 EA which can be used with 100$ capital very low drawdown The EA should be high frequency trading special for XAUUSD and btcusd or binary options but also the EA should be testable via strategy tester and demo test for five days is needed NO SELECTION CAN BE DONE WITHOUT TESTING when applying make sure you send the backtester results with demo EA testable via strategy tester
I currently have a powerful and well-structured Expert Advisor available on the MT5 platform. This EA is designed with: ✅ Advanced entry and exit logic ✅ Smart risk management system ✅ Automatic lot sizing option ✅ Break-even and trailing stop protection ✅ Spread and session filters ✅ Drawdown control features ✅ Optimized for XAUUSD and scalping strategies ✅ Suitable for prop firm challenges like FTMO It is built for
Do you need a profitable and well-structured trading strategy converted into a fully automated Expert Advisor on the MT5 platform? I specialize in developing advanced, high-performance EAs with: ✅ Smart entry & exit logic ✅ Risk-based lot size calculation ✅ Break-even & trailing stop system ✅ Spread & session filters ✅ Daily drawdown protection ✅ Prop firm (FTMO-style) risk compliance ✅ Fully automated trade
Hello, I'm looking to find out the cost of creating a mobile trading robot. I've tried to describe it as thoroughly as possible in the following document. I look forward to your response. I'd like to know the costs, delivery time, and how you plan to implement it before making a decision
I am offering a ready-to-use trading system that connects MetaTrader 4 signals with automated trading on Polymarket. The system is already fully developed and working. What the system does: The bot copies signals from a custom MT4 indicator and executes trades automatically on Polymarket prediction markets. How it works: A custom MT4 indicator generates BUY or SELL signals using buffers. When a signal appears, it is
DO NOT RESPOND TO WORK WITH ANY AI. ( I CAN ALSO DO THAT ) NEED REAL DEVELOPING SKILL Hedge Add-On Rules for Existing EA Core Idea SL becomes hypothetical (virtual) for the initial basket and for the hedge basket . When price hits the virtual SL level , EA does not close the losing trades. Instead, EA opens one hedge basket in the opposite direction. Original basket direction Hedge basket direction (opposite) Inputs
Trading specifications: Indicators: Bollinger band ( Period 40, Deviation 1 apply to close) Moving Average (Exponential ) Period 17 applied to high Moving Average ( Exponential ) Period 17 applied to low But Signal enter a buy trade when prices crosses the lower band of the bollinger band up and also crosses the moving average channel of high and low the reverse is true for sell signal
Hello, I am a user of the "BUY STOP SELL STOP V6" trading bot, which is an advanced Grid System bot. The bot is primarily designed for Gold (XAUUSD), but I want it to work on all currency pairs. "The bot contains a privacy/protection code that prevents it from running on other accounts or being modified on any platform, as it has a client account number lock mechanism" --- Bot Description & Current Settings Bot Type
Looking to purchase a Good forex or gold/ BTC trading EA and it's source code. Must be compatible with low budget like less than $500 accounts, Must need no manual intervention and run fully automated. If you are interested in selling me the source code, please share the Read only account access where the EA has already been running on, so i can check past performance and get an idea on how it works or runs. Dont
Hello, I’m looking for an experienced MQL4/MQL5 developer to work with me on an ongoing basis. My clients request services such as: Converting TradingView Pine Script indicators/strategies into MT4 or MT5 Expert Advisors Converting MT4 EAs to MT5 (and MT5 to MT4) Compiling and fixing existing MQL4 / MQL5 EA code Adding simple features like alerts, SL/TP, lot size, and basic money management This job is for