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

Bars Since Buying?



PureBytes Links

Trading Reference Links

I want to write an expert that gives the new stop values on an existing position. Entering the position does *not* depend on technical analysis. How can I write a formula that executes something like

BarsSinceBuy();

Example:

on 27.12.01 I buy stock XYZ. If it does not reach a new 52-week-high within 10 days after buying, I will sell it. The Expert shall give an alert. How can I accomplish this?

Thx,
Bodo