Possible sell or buy zones visualization by lines.
-
I have created an alert EA .
How can i have visual possible sell or buy zones (depended on the first signal) with an offset of eg -20 pips etc? @miro1360 or anyone else pls?

-
You can try this:

Don't forget to insert the name of your arrow on 'Name' space.
-
@l-andorrà
many thanks my friend for your help,but i tried that and did not work.
Pls take a look at my screenshot.
i connected the blocks in every way but nothing happened.(and i also wrote the same name in the prefix box in both the arrow and line block and still nothing.

-
@fxmich78 Arrow down is not the name of the object, it is the type of arrow. You will need to give it a name in the draw arrow block and to do this you will need to tchange the two conditions at the top of the block to No and Yes, that is no to the block creating a new object each bar (A) and yes to the object being redrawn (B).
-
@cpbonzo @l-andorrà
I have done exactly what you said but nothing.I connected the line block with all three other blocks (one each time of cource for test) but nothing happened.Only arrow on the chart.No lines.

-
@fxmich78 Two things occur to me. Firstly, if the line is to be placed at the same location as the arrow, you could simply use the settings used for the Price(1) placement of the arrow for the Price(1) placement of the line rather than referring to the arrow location directly. Secondly, are you sure the line isn't there? Under "Adjust" you have +20, I don't know what pair you are trading, but this could be a long way from the arrow. If you want twenty pips, you will need to write +20 pips.
As to where to connect the Draw Line block, I would place it after the Draw Arrow because that is the order in which you expect it to run. -
@cpbonzo @l-andorrà
i change it to 20 pips and it worked!
Thank you!!!