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 CarlTrading, 03-31-2026, 09:41 PM
|
1 response
32 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, Yesterday, 02:41 AM
|
0 responses
15 views
0 likes
|
Last Post
by CarlTrading
Yesterday, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
24 views
1 like
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
40 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
34 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment