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.
Похожие заказы
I am working on a source code for an EA but I could not complete the coding to make it work as I wanted. I have done the most part of the work already but there's still a slight glitch in it's working. So I need help to fix these issue. I will be providing the source code and the expected workings for the EA. Although, the remaining part of the EA with glitch is creating a loop of alternating pending orders at
convert pine script to mt5 indicator and then making a EA for it. the indicators used here will be smma and trendline with breaks. will provide pine script for intrested developers
Expert advisor according Trading view indicator supertrend ATR with trailing stop loss (exit 490) Stop loss to be placed at label beginning (blueline in screen shot) The EA should use normal candles and be open to any time frame. I would like to have an option to have fixed lots. This EA should have money management/ risk percentage. The EA should work on all timeframes for Forex and Crypto pairs. Results should be
Hi Everyone, I am looking to hire a developer to create an Expert Advisor (EA) for MetaTrader 5, utilizing two custom indicators: Trendline with breaks and SMMA . The EA should be designed based on specific trading conditions which I will detail below, and it should also include comprehensive optimization and backtesting. Project Details: Indicators to be Used: Trendline with breaks Indicator : Should generate
I'm looking for best strategy which works on all forex and crypto market.EA must be work with low balance and generate good profit daily/weekly basis depend on market.Drawdown will be very less.if anyone having this type of strategy send me demo first i will back test it .if it meets my requirements code the same EA for me and adding extra inputs if necessary
Hello everyone I'm searching for a Renko EA which is of course profitable. As far as I know prop firms or brokers in general don't offer the renko chart so it must be calculated manually. The renko also doesn't print a new block at every candle like the heikin ashi. I guess if we could combine heikin ashi candles incl. Renko then it's a strong momentum for a reversal. Would love to see what you already built in this
i need an expert who has experience and can help me with my project, I want to extract a hidden source code (pine script) from an Tradingview Indicator. and i need it to be done as soon as possible, If you are an expert on this field kindly comments
Hi I have an indicator that create objects in the chart and using those following some rules the new indicator will create external global variables with value = 0 ( NONE ), = 1 ( BUY ) or = 2 ( SELL ). The global variable will use PIN external integer number . PINS are by now global variables (GV) whose name indicates the pair name and the PIN belonging and their value indicates it direction/action. PINS GV names
I'm looking for an experienced programmer who can extract hidden Pine Script source code from a TradingView indicator. This indicator is essential to my trading strategy, and I need the code to customize it further. If you have a strong background in Pine Script and understand TradingView’s architecture, let’s work together to unlock this code
I need a skilled programmer to help extract hidden source code from a TradingView indicator I rely on. The indicator is key to my trading, and I’d like to access and customize its Pine Script code for deeper analysis. If you have experience with TradingView’s structure and decompiling or reverse-engineering indicators, please get in touch—let's unlock this together