Can anybody point me to some examples please.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Different Agg period to main chart.
Collapse
X
-
Different Agg period to main chart.
I am trying to code the ATR indicator to give me a value on a daily aggregation period but have it displayed / DrawTextFixed on a 5 min chart. Obviously it only needs to be refreshed at the start of each session.
Can anybody point me to some examples please.Tags: None
-
Hello stocktraderbmp,
Thanks for writing in and I am happy to assist you.
You can create a multi-timeframe indicator to display the ATR for the daily bars on a 5 minute chart.
A sample code will be like:
in the Initialize section of the code
in OnBarUpdateCode:Add(PeriodType.Day, 1);
Code:DrawTextFixed("tag", ATR(Closes[1], 14)[0].ToString(), TextPosition.BottomRight);
Please let me know if I can assist you any further.JoydeepNinjaTrader Customer Service
-
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
566 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
330 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
101 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
547 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
548 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment