Trendline by angle problemBack to topics list |
|
nondisclosure007
2010.03.09 01:23
I know I've posted this problem in here before, but please bear w/ me. Here's the code: #property copyright "Copyright © 2010, Nondisclosure007" Here's the coordinates of the angles that get created: Lower:
Upper:
|
|
nondisclosure007
2010.03.09 01:37
I changed the for loop to this:
for(i=0; i<limit; i++) Now, the first coordinate is correct, but when I go for the ObjectGetValueByShift(angle,i), I get the first coordinate value. And the indicator won't update when a new candle is formed. Pleeeaaaaase. Can anyone help? |
|
nondisclosure007
2010.03.09 04:54
nondisclosure007 :
I changed the for loop to this: for(i=0; i<limit; i++) Now, the first coordinate is correct, but when I go for the ObjectGetValueByShift(angle,i), I get the first coordinate value. And the indicator won't update when a new candle is formed. Pleeeaaaaase. Can anyone help? So, I've found out that I get an error when I call ObjectGetValueByShift(angle,i). Why? Error is 4205. Now, grant it one coordinate is at the 2nd bar in the chart and the second is off of the chart (like bar -12 or something). Could that be an issue? |
|
MaxJan
2010.03.29 12:45
nice
|


