View Full Version : candle stick plotting error with wicks
ATI user
10-07-2009, 03:13 PM
with my cs running in 7 some wicks are plotted higher/lower than the hi/lo of the bar
note in databox hi of bar is 1707.25 and the close is 1707.00....the thick wick ends at 1707.00 ...however there is a false extended wick that goes all the way up to 1708.50
when I refresh the ind/chart, the false wicks are gone
the same code in 6.5 is correct so there is some Draw method diff with 7 causing the problem I expect
looks like a draw object that is not being removed.....however I am not plotting the bar/wicks....only plotting text beside the actual bar. i.e. lo>=<hi
NinjaTrader_Ray
10-07-2009, 03:25 PM
with my cs running in 7 some wicks are plotted higher/lower than the hi/lo of the bar
note in databox hi of bar is 1707.25 and the close is 1707.00....the thick wick ends at 1707.00 ...however there is a false extended wick that goes all the way up to 1708.50
when I refresh the ind/chart, the false wicks are gone
the same code in 6.5 is correct so there is some Draw method diff with 7 causing the problem I expect
looks like a draw object that is not being removed.....however I am not plotting the bar/wicks....only plotting text beside the actual bar. i.e. lo>=<hi
Are you saying that this does not happen as your indicator is NOT running?
I suggest the following:
Run identical charts, one with your indicator and one without. Do the false wicks occur on both charts?
ATI user
10-07-2009, 04:14 PM
the false ticks only occur in the chart with my ind running
which is why I thought it is due to a change in Draw methods between 6.5 and 7
again, the same code runs perfectly in 6.5
NinjaTrader_Ray
10-07-2009, 04:27 PM
the false ticks only occur in the chart with my ind running
which is why I thought it is due to a change in Draw methods between 6.5 and 7
again, the same code runs perfectly in 6.5
The we would need a reproducible scenario. A stripped down indicator that we could use here would be great.
ATI user
10-08-2009, 06:22 AM
this chart shows the object plotted in the same vertical axis as the price bar however several ticks below the price range of the bar
note the dialog says my cs is drawing it...however I have no code that draws such vertical lines
will work on stripping down code to send
NinjaTrader_Ray
10-08-2009, 08:20 AM
this chart shows the object plotted in the same vertical axis as the price bar however several ticks below the price range of the bar
note the dialog says my cs is drawing it...however I have no code that draws such vertical lines
will work on stripping down code to send
How about double clicking on that object, the properties dialog will come up. Is that a Vertical Line object or something else?
ATI user
10-08-2009, 11:38 AM
Ray
it is a vertical line object...see pics
line object starts at 9767 and ends at 9777
data box shows bar hi at 9772 and lo at 9765
NinjaTrader_Ray
10-08-2009, 11:53 AM
Ray
it is a vertical line object...see pics
line object starts at 9767 and ends at 9777
data box shows bar hi at 9772 and lo at 9765
Would then need a stripped down indicator so we can reproduce here.
ATI user
10-12-2009, 01:26 PM
problem solved
NT7 DrawLine method has been changed re start and stop time parameters...i.e. 6.5 method parameters in order from end to start while 7 parameters now in order of start to end....more logical
NinjaTrader_Ray
10-12-2009, 02:49 PM
problem solved
NT7 DrawLine method has been changed re start and stop time parameters...i.e. 6.5 method parameters in order from end to start while 7 parameters now in order of start to end....more logical
Thanks for letting us know.