Announcement

Collapse
No announcement yet.

Scaling anomaly with stacked price studies?

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

  • Scaling anomaly with stacked price studies?

    I am using eSignal 10.6.2124.1086. When two price studies are stacked on a chart with one study scaled to the right with price and the other scaled to the left, is there a way to use drawLineRelative() in the scaled to the left study without the resulting line being scaled to the right? Although I have not found a way to do this with drawLineRelative(), strangely under the same circumstances addBand() does scale to the left. Thanks for any help.

    Mike

  • #2
    Michael, bycoincidence I had a bit of trouble with this a year or so ago and recently ran into it again. One work-around is to define a variable within the left scaled study and return it in the return statement. That is instead of using the drawLineRelative() function, simply define a variable that would mimic the drawLineRelative() output if it was scaling left and include it in the return statement.
    Last edited by mikejhelms; 04-17-2013, 07:48 PM.

    Comment

    Working...
    X