if (IsFirstTickOfBar)
{
if(CrossAbove(Weighted_Signal_Value[0], LongEntryVal, 2))
{
Draw.ArrowUp(this,"arrow"+CurrentBar, false, 0, Low[0]-2*TickSize, null);
// EnterLong(Convert.ToInt32(DefaultQuantity),@"LongEntry");
}
}
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
CrossAbove iSeries Logic
Collapse
X
-
CrossAbove iSeries Logic
Hi, I have a question regarding the CrossAbove function as it relates to the iSeries inputs? I have a value which is some weighted signals we'll call Weighted_Signal_Value which, when it goes beyond a threshhold LongEntryVal, I'd like it to enter long or draw on arrow on my chart. Currently I have
However the code won't compile. Is the iSeries<double> limited to indicator values or price history, or is there an issue with the syntax?Code:Tags: None
-
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
89 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
143 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
||
|
Started by CarlTrading, 05-10-2026, 08:12 PM
|
0 responses
83 views
0 likes
|
Last Post
by CarlTrading
05-10-2026, 08:12 PM
|
||
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
257 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|
||
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
334 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|

Comment