How can I get the same blue/red arrows for manual trades?
-
I would like my manual trades being plotted on screen exactly like those created by both buy/sell now blocks. I guess they are hardcoded within those blocks. If not, How could I get the, I see that 'draw arrow' block is for vertical arrows only, not for the horzontal ones created by those blocks.
Any help will be appreciated.
-
Something like this ... add all Draw Arrow blocks for each parameter of trade, include also a trendline ...
but not exactly the same arrows will be created (this I think is caused directly by metatrader) ... you can use wingdings codes
https://docs.mql4.com/constants/objectconstants/wingdings
here are the arrow codes: https://docs.mql4.com/constants/objectconstants/arrows

Try it

-
@miro1360 Interesting. What are you using it on the 'on init' tab? I need them to be drawn every time a trade is open. This mean they should be on the 'on tick' tab. Don't you agree?
-
The block For each Closed trade with many history trades should be used once (which is done in the on Init). Then you can use the same block with one history trade and place it in On Trade section (so as not to unnecessarily recalculate the entire history of trades that have already been recalculated and plotted).

Set the magic number to 0 ... it will catch the manually opened trades.
-
@miro1360 @l-andorrà hi, You can use this block, it redraws everything you have in the history. Set a timer to run every candle or every so often.

I use it, but my problem is that they are drawn on top of my information panel and it bothers a bit, but it is very good to know where each operation has closed and check that the EA works correctly
for this I asked in another thread a code to select the objects and send them to the bottom of the graph

-
good point

looks like it is not possible to select and simply send objects below an existing object, but it is possible to "redraw" the existing object (run the object block) and it will be stacked one on top of the other ... -
Very interesting. Thank you very much to both.
-
Hello! It is possible that it is not a problem of the EA but of the MT4, in the properties tab> common is the option that the charts are in the foreground or not, depending on what you have configured the objects are drawn below or above the candles and can be seen and according to the brocker they are invisible or the candles on top, since it has happened to me.