PureBytes Links
Trading Reference Links
|
Hi
Is it possible to set (close long positions) N Bars from the time the BUY
position is entered? How is this done?
In TradeStation the following puseduo code would accomplish this:
"If current bar if greater than or equal to the number of bars from the
Position Bar than Exit."
What I want to do in MetaStock for example:
Long:
Cross(mov(c,18,e), mov(c,33,e))
Close Long:
N Bars from going Long.
Buy on next day Open.
Exit on next day Open.
Any suggestion would be most welcome.
Regards
Siva
|