[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Multiple Stops



PureBytes Links

Trading Reference Links

To anyone who can help,

Currently my maximum stop loss is 4% and trailing stop is 8% in 
Settings. What I would like to do is this, if the price drops from 
4% to 6% below my buy price, give a signal to exit at the open the 
next trading day, but if the price drops more than 6%, I want to exit 
it immediately. 

I tried using: ApplyStop(0,1,6,1); -- maximum stop loss, percent 
mode, 6%, exit at stop YES; -- but by useing it, it made everything 
a 6% max stop, exit @ stop and ignored the 4%. 
I'm looking for: 
max stop at 4%(exit at stop=NO)
max stop at 6%(exit at stop=YES)
trailing stop at 8%(exit at stop=NO)
How can I do this in afl code?
Nathan