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

tick data and ema's



PureBytes Links

Trading Reference Links

Greetings..

I'm trying to have a signal Buy limit below the moving average of the Lows,
displaced/offset 1. with data compression of 40 tick bars.
I can't get it to work right..
do any of the following look correct..
If marketposition = 0 ***other conditions***** Then buy Average(Low, 3)[1] -
1 limit;
**or maybe**
If marketposition = 0 ***other conditions***** Then buy Average(Low[1], 3) -
1 limit;

also the same with the exits...

I know this isn't right because when applied the signals give entries/exits
way outside the bar ranges.
I just want to have a limit order with use the MA as the target price.....
How can I do this?

thanks