Welcome to the BEST forum for traders

Did you know we're sharing tons of exclusive content here?
Our community is growing quickly. Take a look around and say "Hello".

Move a plotshapea few pixels up

Nov 21, 2021 - 7:14 AM

Viewed 1701 times

https://best-trading-indicator.com/community/bti/forums/4180/topics/42192 COPY
  • Hi all,

    I try to move this plotshape / label because there is most of the time on a line.

    plotshape(buySignal and showsignals ? up : na, title=Buy, text=Achat, location=location.absolute, style=shape.labelup, size=size.tiny, color=color.white, textcolor=color.green, transp=0)

    Have you any idea to make that. I know that's possible with a label but i have no find solution for a plotshape.

    Thanks by advance for your help.

    0
  • Hello

    Maybe try multiplying the up variable by a number?

    plotshape(buySignal and showsignals ? up * 1.10 : na, title=Buy, text=Achat, location=location.absolute, style=shape.labelup, size=size.tiny, color=color.white, textcolor=color.green, transp=0)
    
    0
  • Hello, Thanks for your answser

    Multiplying make a error and the code expend a :
    So i have try up : 1.10 (i have try with different number) and try also up : *1.10

    Nothing change.

    Thanks for your help

    0
  • Ok i have the solution

    up*value (without space)

    0
CONTENTS