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 ageeholdings, 05-04-2024, 03:21 PM
|
1 response
3 views
0 likes
|
Last Post Today, 05:25 AM | ||
Started by claxxical, 05-30-2017, 12:30 PM
|
39 responses
4,501 views
0 likes
|
Last Post
by fiendtrades
Today, 05:12 AM
|
||
Started by tonynt, 05-21-2019, 06:27 AM
|
12 responses
541 views
1 like
|
Last Post
by fiendtrades
Today, 04:56 AM
|
||
Started by alexstox, 10-16-2018, 03:29 PM
|
12 responses
355 views
0 likes
|
Last Post
by Tburg1073
Today, 04:40 AM
|
||
Started by truepenny, Today, 03:59 AM
|
0 responses
5 views
0 likes
|
Last Post
by truepenny
Today, 03:59 AM
|
Comment