Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
stochastics from diferent time frames
Collapse
X
-
stochastics from diferent time frames
how do i get 5min stochastics on say a 1 minute or a 5 tick chart ?Tags: None
-
Originally posted by price777999 View Posthow do i get 5min stochastics on say a 1 minute or a 5 tick chart ?
Thank you for your post.
Unfortunately that is not supported, but is on the list of possible future considerations.
I suggest checking the indicator file sharing section as there is at least one custom multi-time frame indicator in there. Not sure it will work with other indicators like stochastics.Ray S.NinjaTrader Customer Service
-
Go to reference samples and look for:
Strategy: Plotting from within a NinjaScript Strategy
It is a PITA (Pain In The A$$) method but it works. Drawbacks of doing it this way is that you can not run Chart Trader and a Strategy on the same chart. Also there is no AutoScale(True/False) control over the plots ( or I should say that I have not figured it out). If you are doing a Multi TimeFrame SMA and the SMA Val on a 60 Min chart is 40 points above the most recent close on a 1 Min Chart it makes the bars look really really small. There is a work around but it requires a lot of coding and then the plots look dysfunctional. Also pay attention to the CalculateOnClose (True/False) setting in the protected override void Initialize() of the base indicator, in your case the Stochastics. It will determine if the value plotted is for the most recent closed bar or the most recent tick on the faster chart. Try both.
Hopefully NT 7.0 will take care of this problem.
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by DJ888, Today, 10:57 PM
|
0 responses
6 views
0 likes
|
Last Post
by DJ888
Today, 10:57 PM
|
||
Started by MacDad, 02-25-2024, 11:48 PM
|
7 responses
158 views
0 likes
|
Last Post Today, 10:23 PM | ||
Started by Belfortbucks, Today, 09:29 PM
|
0 responses
7 views
0 likes
|
Last Post
by Belfortbucks
Today, 09:29 PM
|
||
Started by zstheorist, Today, 07:52 PM
|
0 responses
7 views
0 likes
|
Last Post
by zstheorist
Today, 07:52 PM
|
||
Started by pmachiraju, 11-01-2023, 04:46 AM
|
8 responses
151 views
0 likes
|
Last Post
by rehmans
Today, 06:44 PM
|
Comment