Download MetaTrader 5

trendline and arrow in the background

To add comments, please log in or register
sdoppke
71
sdoppke  

I was looking for help to tweak my code that closes orders, to ensure the arrow and trendline that is drawn from the order open to the order close at the time of close is all in the background.  Here is what I use to close the order.  Right now it creates a trend line and arrow that is NOT in the background.  Is there a change I need to make to this code or an addition this code? 

Thanks in advance for any help :)

SD

OrderClose(OrderTicket(),OrderLots(),OrderClosePrice(),3,Blue);
whroeder1
16096
whroeder1  
Create an arrow and create a trendline Object Functions - MQL4 Documentation
sdoppke
71
sdoppke  
WHRoeder:
Create an arrow and create a trendline Object Functions - MQL4 Documentation



I already have an object arrow and trendline.  I am trying to make them apprear only in the background.  Is the code to do that get applied to do that on the oder open or order close?

Thanks for helping.


SD

whroeder1
16096
whroeder1  
sdoppke:

I already have an object arrow and trendline. 

I am trying to make them apprear only in the background. 

Is the code to do that get applied to do that on the oder open or order close?

  1. Then what's the problem? learn to code it, or pay someone. We're not going to code it FOR you. We are willing to HELP you when you post your attempt (using SRC) and the nature of your problem.
  2. Asked and answered. Object Functions - MQL4 Documentation
    ObjectSet Changes the value of the specified object property
  3. What? It is what you code.
To add comments, please log in or register