Announcement

Collapse
No announcement yet.

I need help to draw a line...

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Nooze
    replied
    Hello Chris!

    It's working fine! Thank you, Thank you very much!!!

    Respectfully yours,

    Leave a comment:


  • ckryza
    replied
    Yes, use the drawLineRelative() function.

    Assuming, for example, that your script determines that the offset to the bar you are interested in is currently -10, then

    PHP Code:
    nOff  = -10;

    drawLineRelativenOffclose(nOff), nOff+2close(nOff), PS_SOLID2Color.blue ); 
    would draw a horizontal line with a length of 2 from that bar.

    Chris

    Leave a comment:


  • Nooze
    started a topic I need help to draw a line...

    I need help to draw a line...

    Hello everyone!

    Is there way to draw a horizontal line on ONLY specified amount of bars (ex. 2 bars) ahead from O/H/L/C single price bar that meet specific criteria or condition?

    I would appreciate any tips...
    Thanks in advance!
Working...
X