Bug or not Bug at ObjMove()?

 
I am trying to move "StdDev Channel" which has two coordinates t1 and t2
So I would expect that the function should look as follows:
ObjectMove("StdDev Channel",2, Time[i], 0, Time[i+10], 0);
However, I get compile error "wrong parameters count"

The following works a OK only on front part of the StdDev Channel and I am not able to move the rear part.
ObjectMove("StdDev Channel",1, Time[i], 0);

FAQ: How should I move the StdDev Channel?.....or is it a bug?
 
Call ObjectMove twice (once for each reference point which you want to modify).



Markus
 

Call ObjectMove twice (once for each reference point which you want to modify).



Markus



Markus,

I believe that you cannot address which parameter you want to move t1 or t2 .
Question is, should you call the function twice if there is parameter choice to move 1,2,3.
Are you suggesting that at each call you should select which parameter to move?
Like this?

ObjectMove("StdDev Channel",1, Time[i], 0);
ObjectMove("StdDev Channel",2, Time[i+1], 0);
 
Sub,

yes, here's a sample how I move a trendline (both points):

ObjectMove(linename, 0, startofday, level);
ObjectMove(linename, 1, Time[0],level);

(Note that the indices for the points to modify starts with 0).



Markus
 

Sub,

yes, here's a sample how I move a trendline (both points):

ObjectMove(linename, 0, startofday, level);
ObjectMove(linename, 1, Time[0],level);

(Note that the indices for the points to modify starts with 0).



Markus

Thanks Markus,
Wrongfully, I was under the impression that if you want to move 2 coordinates that you can do it in one call by specifying 2 coordinates plus time and value.
 
Would be nice that way, but heck ... if it works some way, just let's use what works :-)


Markus