Download MetaTrader 5
To add comments, please log in or register
Publish programs in Code Base. Improve your rating!
sdoppke
70
sdoppke 2015.10.01 14:49 

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
13644
whroeder1 2015.10.01 20:29  
Create an arrow and create a trendline Object Functions - MQL4 Documentation
sdoppke
70
sdoppke 2015.10.02 17:51  
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
13644
whroeder1 2015.10.03 13:49  
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