Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Help with custom tick counter
Collapse
X
-
Help with custom tick counter
Hello I was hoping someone could help me edit this indicator. It shows a tick counter floating next to most recent bar. I would like it so if I switch to a time based chart the tick counter switches to a time countdown for the candle. Right now it just gives an error message if I use it on time. I prefer the floating countdown to the standard NT counters which are placed in the corner of the chart and take your eyes away from the price action. I wish this was a standard feature. I don't know of any alternative, and I would prefer to not have to switch indicators. I am hoping this is an easy fix, I am not a coder but I could edit the script if someone can point me to where. I am hoping this is not too difficult to accomplish. Thank you and best.Last edited by augustfay; 04-06-2021, 10:47 AM.Tags: None
-
Hello augustfay, thanks for posting.
The support team will not be able to modify any custom scripts, unfortunately. The modification would require you to check what bar type is being used like it is checking for tick based bars currently:
BarsPeriod.BarsPeriodType == BarsPeriodType.HeikenAshi && BarsPeriod.BaseBarsPeriodType == BarsPeriodType.Tick) ? BarsPeriod.BaseBarsPeriodValue : BarsPeriod.Value
Then displaying a different value when the bar type is not tick based.
This post will remain open for others to view and help.
Best regards,
-ChrisL
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
596 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
343 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
103 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
556 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
554 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment