Announcement

Collapse
No announcement yet.

Help with basic code

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

  • #16
    Itai
    You can do it as you said or by creating an adjustable "spacer" of your own.
    For example you could add the following at the beginning of main()
    var vHL = high() - low();
    var vSpacer1 = vHL * 0.25;
    var vSpacer2 = vHL * 0.50;

    Then in the drawShape or drawText commands you would use low()-vSpacer1 or [i]high()+vSpacer2 as the y-axis coordinates.
    You can find an example of this in the efs in this thread
    Alex

    Comment

    Working...
    X