I would like to encode a second entry if an additional condition is met 
following the first entry.  Both positions would subsequently be sold on the 
same sell signal following the second entry.  I've made an attempt to do this 
below but have no confidence that my solution is correct.  Would someone be 
kind enough to comment on the correct way to achieve such a second entry?

Thank you,

Fred


Buy     = C > MA(C,200) and RSI(2) < 10;  //First Entry

Sell    = RSI(2) > 70;  

InLong  = Flip(Buy,Sell);

Buy     = iif(InLong and RSI(2) < 6,Buy,0);  //Second Entry

Sell    = RSI(2) > 70;


Reply via email to