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 CarlTrading, 03-31-2026, 09:41 PM
|
1 response
81 views
1 like
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
42 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
64 views
2 likes
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
68 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
55 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment