moomoofx wrote:Hi everyone,
I have tidied up code, fixed some descriptions and clarified the namings.
The history here is the Indicator was originally written incorrectly, then it was corrected but the descriptions were fixed but the line names were still wrong internally and this is where the confusion comes from (Apprentice pointed this out earlier).
In this new version, this is what the acronyms mean, and this is aligned with the official Ichimoku definition.
TL = Tenkan-sen (Conversion Line)
KL = Kijun-sen (Base Line)
CS = Chikou Span (Lagging Span)
SA = Senkou Span A (Leading Span A)
SB = Senkou Span B (Leading Span B)
Cloud = Area formed between SA and SB.
This means that....
- What was previously called SL is now TL.
- What was previously called TL is now KL.
Additionally I have
- Added a CloseOnOpposite parameter to control this behavior.
- Added actions for when the CS crosses KL or TL lines (requested twice above).
Because I have changed namings, to avoid confusion I will upload the new version here, maintaining the old version in the original post.
Highly adaptable Ichimoku Stategy.lua
Cheers,
MooMooFX