Hi. I have a small problem with my code. I believe you help me. I wrote code that if price didn'n crosses upper bollingerband within last 30 bars enter long(). If price crossed higher than 3 crosses of upper bollinger band exit long(). In this code i need stop loss. How can i write stop loss code which combines with exit long()?