double doubleRsi = RSI(14, 3)[0] * 2; Value.Set(doubleRsi);
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
A simple question from a new NT programmer
Collapse
X
-
You could do something like:
Code:
-
A simple question from a new NT programmer
Hello everyone
In spite of my poor english.....
I was yesterday trying to write some basic indicators in NinjaScript (new for me)........I want to translate indicators developed in MetaStock........but when I tried to make something like 2*RSI or RSI+MACD (obviously writing it in C# way), the compiler told me that operator * or operator + where not applicable in the context
I know is a very simple question, but, how is it suppossed I must write something like....
double rsimacd
rsimacd = rsi+macd
Value.Set (rsimacd)
Best RegardsTags: None
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by WeyldFalcon, Today, 11:54 AM
|
2 responses
9 views
0 likes
|
Last Post
|
||
Started by WeyldFalcon, Today, 11:50 AM
|
1 response
10 views
0 likes
|
Last Post
|
||
Started by rexsole, Today, 12:19 PM
|
1 response
4 views
0 likes
|
Last Post
|
||
Started by torch2k, Today, 12:07 PM
|
1 response
9 views
0 likes
|
Last Post
|
||
Started by Bmatarese, Today, 11:01 AM
|
1 response
7 views
0 likes
|
Last Post
|
Leave a comment: