Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Ichimoku Kinko Yuo
Collapse
X
-
Re-posting this from another thread in case anyone is using the indicator linked in post #29:
The calculations of the indicator you linked have an error in them I believe.
The correct calculation for Tenkan Sen is (Highest High + Lowest Low) / 2 for the last 9 (default) bars.
The calculation the indicator is using is:
TenkanSen.Set((MAX(Fast)[0] + MIN(Fast)[0])* 0.5);
which translates to (Highest Close + Lowest Close) / 2 which of course is not the same thing.
The correct calculation for Tenkan Sen is:
TenkanSen.Set((MAX(High, Fast)[0] + MIN(Low, Fast)[0])* 0.5);
The Kijun Sen calculation and Senkou Span B have the same error but are both also easily fixed.
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by claxxical, 05-30-2017, 12:30 PM
|
38 responses
4,478 views
0 likes
|
Last Post
by alancurry
Today, 01:27 PM
|
||
Started by mintos, 04-02-2024, 08:22 PM
|
5 responses
31 views
0 likes
|
Last Post Today, 01:19 PM | ||
Started by Felix Reichert, 04-26-2024, 02:12 PM
|
10 responses
69 views
0 likes
|
Last Post Today, 11:56 AM | ||
Started by PaulMohn, 04-24-2024, 03:49 AM
|
4 responses
36 views
0 likes
|
Last Post
by PaulMohn
Today, 11:54 AM
|
||
Started by lightsun47, Today, 11:37 AM
|
1 response
11 views
0 likes
|
Last Post Today, 11:45 AM |
Comment