How can I plot an indicator where the length is fixed like 10 candles long or something across where now it just jumps to the next candle as you can see on the picture, barley can see the plot on the previous candle.
Here is the code
plot HLine = LastTF ;
plot LLine = LastBF ;
plot MLine = LastMidUP ;
HLine.SetPaintingStrategy(PaintingStrategy.HORIZONTAL);
HLine.SetDefaultColor(CreateColor(0,100,0));
HLine.SetHiding(!ShowLines);
LLine.SetPaintingStrategy(PaintingStrategy.HORIZONTAL);
LLine.SetDefaultColor(CreateColor(0,100,0));
LLine.SetHiding(!ShowLines);
MLine.SetPaintingStrategy(PaintingStrategy.HORIZONTAL);
MLine.SetDefaultColor(CreateColor(144, 238,144));
AddCloud(if ShowCloud and (LLine==LLine[1] or LLine==LLine[-1]) then LLine else na ,HLine, CreateColor(144, 238, 144));
Here is the code
plot HLine = LastTF ;
plot LLine = LastBF ;
plot MLine = LastMidUP ;
HLine.SetPaintingStrategy(PaintingStrategy.HORIZONTAL);
HLine.SetDefaultColor(CreateColor(0,100,0));
HLine.SetHiding(!ShowLines);
LLine.SetPaintingStrategy(PaintingStrategy.HORIZONTAL);
LLine.SetDefaultColor(CreateColor(0,100,0));
LLine.SetHiding(!ShowLines);
MLine.SetPaintingStrategy(PaintingStrategy.HORIZONTAL);
MLine.SetDefaultColor(CreateColor(144, 238,144));
AddCloud(if ShowCloud and (LLine==LLine[1] or LLine==LLine[-1]) then LLine else na ,HLine, CreateColor(144, 238, 144));