Horizontal Lines change colour automatically - Page 2
Page 2 of 502 FirstFirst 12
Results 11 to 19 of 19

Thread: Horizontal Lines change colour automatically

  1. #11
    Quote Originally Posted by ;
    quote quote quote I have had a quick look at the code and it appears that it will draw a number of lines but will operate just when the market is available, I ought to be able to upgrade the code to work when the markets have been closed so only leave it together and I will get onto it as soon as I get some spare time.
    That could be great Cja. It'd be good to use this indior at the weekends to get ready for Monday.

    Due

  2. #12
    Quote Originally Posted by ;
    Try the attached. Set ManualLineColor into the color of the guide lines plotted. (I don't know how to have MT4 recognize if or not a line was plotted manually or automatically, hence you'll want to set all manual lines into the same specified color, to set them aside ). file
    Due Hanover, will examine it when markets open tomorrow.
    I did not notice this post until today.

  3. #13

  4. #14
    Quote Originally Posted by ;
    Maybe Document
    Due Pipcoin

  5. #15
    Updates as guaranteed
    I added in some additional capabilities.Updated to function when Markets closed Manual Horizontal Lines and colours added Trend line and line line separate delete code Click delete for eliminating all lines and labels 15/12/2015 - Appears to be issue with lines deleting I'll repost after further tests.
    16/12/2015 - Try this and let me know whether any further issues.

    https://forexintuitive.com/attachmen...5823170568.ex4

  6. #16
    Quote Originally Posted by ;
    Upgrades as promised I added in some additional features. Updated to work once Markets closed Manual Horizontal Lines and colours added Trend lineup and Horizontal line separate delete code Click delete for removing all labels and lines Deletes ALL lines tags when eliminating indior from chart file picture
    Fantastic!!! , much appreciated.

  7. #17
    Quote Originally Posted by ;
    Updates as promised I added in some extra capabilities. Upgraded to work once Markets closed Manual Horizontal Lines and colours added Trend lineup and line line separate delete code One click delete for removing all traces and labels Deletes ALL lines labels when removing indior from chart file image
    Thanks again Cja, you never let anyone down and always with added bonuses.



    15/12/15 Edit: Lines seem to be deleting automatically after a couple of minutes independently.
    Also when altering timeframes the traces become selectable which make them susceptible to accidental movement or deletion.
    Could you take a look please. The alarm feature is fine

    16/12/15 - so far so great, traces not deletingalarms working good, lines are deselected on program, no timeframe shift difficulties, only need to try at weekend when markets shut. Work Cja that is Fantastic, can not thank you enough.

  8. #18
    Quote Originally Posted by ;
    Upgrades as promised I added in some additional features. Updated to work once Markets closed Manual Horizontal Lines and colours added Trend line and line line separate delete code One click delete for removing all labels and lines 15/12/2015 - Appears to be issue with lines deleting I will repost after additional tests. 16/12/2015 - Try this and let me know whether any additional issues. file image
    Wonderful work Cja!!!
    Thank you so much ))))))))

  9. #19
    Yes it is possible.

    You are able to iterate over all drawn objects on the chart using ObjectTotal along with also a for loop and also compare the OBJPROP_PRICE1 value to the current near price. If the price is above/below the price you can set the colour using ObjectSet.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners more information