PureBytes Links
Trading Reference Links
|
: If time > 1545 and open equity is greater than X then exitlong
:
: The "open equity is greater than X" is the part I don't know how to
: code.
from the top of my head (and before my morning coffee):
if time> 1545 and (Close-EntryPrice)> X then exitlong **************;
- you can exitlong on close;
-or exitlong (Close-Entryprice+1) limit;
-or :
If time>1545 and (close-entryprice-1)>X then exitlong (Close-Entryprice)
limit;
|