Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Simulated price curves
Collapse
X
-
Simulated price curves
Is it possible to generate simulated price curves in order check the appearance of technical indicators ? I would find it extremely useful to be able to generate say a simple sine curve simulating an actual price curve, over which I could then lay different indicators, e.g. SMA, Stochastics, RSI etc. in order to see the results. In addition to a sine curve, it would be useful to be able to generate a square wave, sawtooth wave and other wave forms.Tags: None
-
Hi whitegate, welcome to our forums. You could look into creating that as an indicator series for example and then be able to drive that as input series to other indicators, for example Stochastics.
One idea for a sample calculation would be -
double value = (0.25 * Math.Sin((2 * Math.PI * CurrentBar * 20) / 1000));BertrandNinjaTrader Customer Service
-
Thank you for your reply Bertrand - greatly appreciated. I guess I will first of all need to study and learn NinjaScript in order to carry out your suggestion. Coming from a strictly 'non-computing' background, this may present some difficulties. At the moment, I am developing my required simulation in MS Excel, which is giving me more or less the results I need. However, thanks again for your suggestion.
Whitegate
Comment
-
Originally posted by whitegate View PostIs it possible to generate simulated price curves in order check the appearance of technical indicators ? I would find it extremely useful to be able to generate say a simple sine curve simulating an actual price curve, over which I could then lay different indicators, e.g. SMA, Stochastics, RSI etc. in order to see the results. In addition to a sine curve, it would be useful to be able to generate a square wave, sawtooth wave and other wave forms.
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by royhagerman, Today, 04:30 AM
|
0 responses
1 view
0 likes
|
Last Post
by royhagerman
Today, 04:30 AM
|
||
Started by haas88, 03-21-2024, 02:22 AM
|
18 responses
208 views
0 likes
|
Last Post
by haas88
Today, 02:37 AM
|
||
Started by Board game geek, Today, 02:20 AM
|
0 responses
6 views
0 likes
|
Last Post Today, 02:20 AM | ||
Started by knighty6508, Today, 01:20 AM
|
2 responses
16 views
0 likes
|
Last Post
by knighty6508
Today, 02:13 AM
|
||
Started by franatas, Today, 01:53 AM
|
0 responses
5 views
0 likes
|
Last Post
by franatas
Today, 01:53 AM
|
Comment