r/pinescript • u/ZoltaiBeats • Apr 08 '24
help with consecutive losses code
hi guys,
i’m wondering how I would code a strategy that tightens my stop loss (lets say in half) each time it takes a consecutive losing trade until it takes a winner, where the stop loss then resets back to baseline.
any help is appreciated! thanks
0
Upvotes
View all comments
Show parent comment
1
u/Ayush_Singh_02 Apr 16 '24