Is it possible to offset the plot ahead of the leading price bar as it should be?
Code: Select all
// Type: Indicator
// Name: Ichimoku - Cloud
Weight PlotName Style
Span1 Line Medium-thinnest
Span2 Line Medium-thinnest
Scaling: Same as symbol.
StdLine = (Highest(High, Standard) + Lowest(Low, Standard)) / 2;
TurnLine = (Highest(High, Turning) + Lowest(Low, Turning)) / 2;
Span1 = (StdLine + TurnLine) / 2;
Span2 = (Highest(High, Delayed) + Lowest(Low, Delayed)) / 2;