Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
TCTrending TSF
Collapse
X
-
TCTrending TSF
I'm trying to code a strategy using this indicator which is in NT8 indicator list, can someone tell me what makes the indicator change color from red to blue? I would like to go long with blue and short with red or use it as a filter, thanksTags: None
-
Hello futuros,
If TCTrendingTSF is something you have the code for you may be able to review it to check that. You would want to follow the steps below to check if you have the code to this indicator, TCTrendingTSF is not an included with NinjaTrader indicator so I would not be able to tell you without seeing the code first.- From the control center click New -> NinjaScript Editor
- In the editor expand the Indicators folder and look for TCTrendingTSF, is it listed?
If the file is listed, you can look at its code to see what logic is used to color the bar blue/red.
If the file is not listed you do not have the source code so you would need to refer back to the source where you had downloaded this item.
I look forward to being of further assistance.
-
TrendChange may be of interest to you as a strategy trigger.
TrendFlag, when true, trend is up. When false, Trend is down.
Code:if ((Close[0] > TSFValue) && (TSFValue > TSFValueMem)) { if (!TrendFlag) // TrendFlag TrendChange = true; TrendFlag = true; } else if ((Close[0] < TSFValue) && (TSFValue < TSFValueMem)) { if (TrendFlag) //(TrendFlag) TrendChange = true; TrendFlag = false; }
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by charlesugo_1, 05-26-2026, 05:03 PM
|
0 responses
74 views
0 likes
|
Last Post
by charlesugo_1
05-26-2026, 05:03 PM
|
||
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
152 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
162 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
||
|
Started by CarlTrading, 05-10-2026, 08:12 PM
|
0 responses
100 views
0 likes
|
Last Post
by CarlTrading
05-10-2026, 08:12 PM
|
||
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
289 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|

Comment