Работа завершена
Техническое задание
Hello
I need a indicator that meets the following rules.
The indicator must draw a Horizontal Line on the chart it is attached to.
The indicator must appear after a pre-set profit in pips has been reached (Example after 20 pips) selected in the inputs menu.
The indicator horizontal line MUST then follow the trade but must be spaced a selected distance away from the current profit level
Example :-
If the trade goes into profit of 80 pips and I have selected a 50% level then the horizontal line should be trailing at 40 pips !
The line MUST always stay at the highest profit point in the trade and must not move in the opposite direction it must be locked at the highest position (50 % as an example).
If the profit level starts to fall then the indicator line must stay at the highest level of profit reached on this current trade.
(1) It must have an inputs menu so that I can select the Line type, Line thickness, Line colour.
The inputs menu must also allow me to select the following :-
a indent (pips spacing away from the price currently ).
(2) The indicator must be auto removed once the current trade has closed.
(3) The horizontal line must not stay on the chart after the trade has closed.
(4) If possible it would be good if the code allowed for the indicator to sense a new trade and therefore be re applied to the chart once again.
(5) So basically the indicator must follow the pips gained but at a preset % distance away from the current profit (pips gained) and must be fixed to the highest level reached during the trade until the trade is closed.
Regards,
Howard