PureBytes Links
Trading Reference Links
|
In order to generate an "exitlong", the program has to first generate a
"buy".
If you don't have a particular signal to generate the buy there will be no
buy and no exit long.
An easy way to generate a "manual" buy where YOU tell the program that it is
now in a long position would be
to have an input like:
Inputs: nowlong(0);
If nowlong=1 and C > Avg(C,3)
then ExitLong;
Of course, in order for this to occur, you have to change the system input
to "1" as your manual entry.
I'm not sure this is what you want but that's my implementation.
Indextrader
> Does anyone know if I can have a strategy that only stops me out of a
trade
> by does not take the entry. A manual entry with an automatic exit.
>
> For example - something like (syntax may not be right)
>
> if Marketposition = 1
> and C > Avg(C,3)
> then ExitLong;
>
>
> Or do I need to enter the trade with a strategy to be able to close it
with
> one?
>
> thanks
>
>
>
>
|