PureBytes Links
Trading Reference Links
|
I'm having trouble coding a reversal for a system which trades intraday data
and uses a multidata stream of 5 minute bars over 60 minute. Once in a
position, I want to reverse at the opposite extreme of the 60min bar
preceding entry (this is a static stop through the day). So if I'm long, I
want to reverse and go short only at the low of the 60min bar preceding
entry. I know I can use at$ to stop out at that point, but I haven't figured
how to reverse. I've tried using "if marketposition crosses above .5 then
sellreverse=low of data2; sell at sellreverse stop," but this doesn't work.
Does anyone have a suggestion?
Thanks,
Lincoln
|