I need help

Posted By: Tuguldur717

I need help - 12/12/17 09:57

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()?
Posted By: jcl

Re: I need help - 12/12/17 12:21

Stop = rRealLowerBand;

I'm not sure if this is what you want, but that's a stop at the initial lower band distance.
© 2024 lite-C Forums