Trabajo finalizado
Tarea técnica
I would like a replication of the attached indicator, but with some additional features.
CURRENT FEATURES OF THE INDICATOR TO RECREATE:
· Calculates SL and TP values based on the Average True Range (ATR)
o Input Settings
§ ATR period (user defined)
§ ATR multiplier (user defined). Multiplier allows user to define how much of the ATR to apply to calculation of SL and TP
· Multiplier for SL (default to 1.5)
· Multiplier for TP (default to 1)
· On Screen Displays
o Corner display when cursor hovers over any candle
§ Move to display in panel, see additional features below
§ SL target in pips. Example: SL = 15 pips
§ TP target in pips. Example: TP = 10 pips
o Corner display when clicking on any candle
§ Move to display in panel, see additional features below
§ SL target in pips
§ TP target in pips
§ Trade position to test (Buy or Sell) if taken on clicked candle:
§ Result of trade test (Win or Loss) if taken on clicked candle (based on the automatically calculated SL/TP targets). For example:
· SL = 15 pips
· TP = 10 pips
· Buy
· Win
o On candle display when clicking on any candle
§ Change from clicking multiple times on candle to click once on candle, then select on panel, see additional features below
§ A line at the close of the clicked candle to show the price where the test position would have been opened.
§ A line at the price where the calculated TP would be set. Starts from the clicked candle and extends to the future candle where TP would be hit.
§ A line at the price where SL would be set. Starts from the clicked candle and extends to the future candle where SL would be hit.
§ Labels on each line should identify the position taken (Buy or Sell), and what each line represents (SL or TP)
§ Examples: Buy TP; Buy SL; Sell TP; Sell SL
FEATURES TO BE ADDED TO THE INDICATOR:
· Different options for calculating SL and TP
o ATR – Same way current indicator works
§ User enters ATR period (only 1 entry option that applies to both SL and TP)
§ User enters SL multiplier
§ User enters TP multiplier
o Fixed
§ User enters fixed SL number, in pips
§ User enters fixed TP number, in pips
· On screen panel
o Selection box(es) to select
§ Calculate SL/TP by ATR method, or
§ Calculate SL/TP by Fixed method
o Entry fields. Fields should only a be able to accept numerical values.
§ ATR Period (only 1 field that applies to both SL and TP)
§ ATR SL Multiplier
§ ATR TP Multiplier
§ Fixed SL
§ Fixed TP
§ Should only be able to enter in ATR fields if ATR is selected
§ Should only be able to enter in Fixed fields if Fixed is selected
o Displays on Panel
§ Trade position (Buy or Sell)
· Radio buttons to select whether user wants to test trade result based on Buy or Sell
· When selected, this will determine how on candle display is arranged
· Should be able to switch back and forth between Buy and Sell instantly
§ SL target, in pips
§ TP target, in pips
§ Result of trade test based on selected Trade Position and calculated SL and TP
· Win (should display in green color font)
· Loss (should display in red color font)
o Show/Hide button for Candle Display
§ When button is pressed, candle display information becomes visible
§ When button is pressed again, candle display is not visible
o Expand/Minimize button for panel to save chart space when not in use
o Panel should be customizable in the Input Settings
§ Panel background color
§ Ability to locate panel anywhere on the screen
· Screen corner anchor selection (top left; top right; bottom left; bottom right)
· X axis offset – user enter
· Y axis offset – user enter
§ Width of fields/cells for content displayed on the panel
§ Height of fields/cells for content displayed on the panel
§ Content font size
§ Content font color
· Candle Display Customizations in the Input Settings
o Candle display font size
o Candle display font color for TP
o Candle display line color for TP
o Candle display line style for TP
o Candle display font color for SL
o Candle display line color for SL
o Candle display line style for SL
· Everything must display clean, clear and legible on a UHD laptop screen