I have tried many ways but keeps given me erros. Can you help me please?
SupportResistance = input(true)
leftBars = 7
rightBars = 7
highUsePivot = fixnan(pivothigh(leftBars, rightBars)[1])
lowUsePivot = fixnan(pivotlow(leftBars, rightBars)[1])
r1 = plot(highUsePivot, color=change(highUsePivot) ? na : color(#f44336), linewidth=2, offset=-(rightBars+1), title="Resistance")
s1 = plot(lowUsePivot, color=change(lowUsePivot) ? na : color(#1b5e20), linewidth=2, offset=-(rightBars+1), title="Support")
Aucun commentaire:
Enregistrer un commentaire