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

[Metastockusers] barssince() problem



PureBytes Links

Trading Reference Links


Dear all,
 
I use barssince function to count the number of periods passed since the last buy order is true. The problem is before the  next sell order is true, there could be a chance to have another buy order condition true generated but is ignored before the next sell order is genreated  because I choose only one open position at all time. But the barsince() function is changed accroding to the second buy order not first. I want the number of periods passed since the first buy order. That is if there is a open order available but before the sell order is gernerated, any new buy order will be ingored by the barssince() function.  How to do it?  I really appreciated.
 
best regards,
 
Eric 
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard






Yahoo! Groups Sponsor


  ADVERTISEMENT 









To unsubscribe from this group, send an email to:
Metastockusers-unsubscribe@xxxxxxxxxxx





Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.