fix the problem
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
BUG scaling of the chart
Collapse
X
-
BUG scaling of the chart
when scaling, the value of the indicator varies from +600 to +860, but there is a value of 400, 200 and 0 on the chart. part of the graph is not used. from 0 to 600 there is no data. scaling always starts from zero if the value is greater than zero. But if the values are less than zero, everything is fine.
fix the problem1 PhotoTags: None
-
Originally posted by NinjaTrader_PatrickH View PostHello KeenEdge,
Thank you for your post.
Can you detail the indicator your working with in your screenshot?
Do you see the same behavior with SMA?
I look forward to your response.
this is my indicator, it shows cumulative Delta.
perhaps the problem is only in my indicator, SMA works without problems
Comment
-
Originally posted by NinjaTrader_JoshG View PostKeenEdge,
I suspect this is your indicator. If you can provide more details we may be able to help you debug this item. Are you AutoScaling that indicator?
if you use one indicator, everything works. if you use two indicators (the second value is not assigned to N/A) - then it does not work and scaling does not work.
Code:
Add( new Plot(new Pen(Color.Teal, 1), PlotStyle.Line,"SumDelta")); // all work
Add( new Plot(new Pen(Color.Blue, 1), PlotStyle.Line,"SimpleDelta")); // not use, not work. the second indicator that is not used should be removed
I was able to solve the problem, you need to use only one indicator on the chart. if the two of them that is not working properly.
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Change colour of Stop market and limit orders to red and green via indicator script
by Rapine Heihei
Started by Rapine Heihei, 04-23-2024, 07:51 PM
|
2 responses
30 views
0 likes
|
Last Post
by Max238
Today, 02:25 AM
|
||
Started by Shansen, 08-30-2019, 10:18 PM
|
24 responses
943 views
0 likes
|
Last Post
by spwizard
Today, 01:29 AM
|
||
Started by Max238, Today, 01:28 AM
|
0 responses
9 views
0 likes
|
Last Post
by Max238
Today, 01:28 AM
|
||
Started by rocketman7, Today, 01:00 AM
|
0 responses
4 views
0 likes
|
Last Post
by rocketman7
Today, 01:00 AM
|
||
Started by wzgy0920, 04-20-2024, 06:09 PM
|
2 responses
28 views
0 likes
|
Last Post
by wzgy0920
Yesterday, 10:43 PM
|
Comment