If i switch on enable intraday orders and then write this:[/b]
If Rsi(close,2)<30 then buy 1 contract next bar at opend(0) + .25*Avgtruerange(20) stop;
If RSI(close,2)>70 then sell all contracts next bar at opend(0)-.25*Avgtruerange(20) stop;
Why is that not the same as switching off enable intraday orders and writing this:
If Rsi(close,2)<30 then
buy 1 contract next bar at open next bar + .25*Avgtruerange(20) stop;
If RSI(close,2)>70 then
sell all contracts next bar at open next bar -.25*Avgtruerange(20) stop;
Converting a EOD system to intraday
- Dave Masalov
- Posts: 1712
- Joined: 16 Apr 2010
- Has thanked: 51 times
- Been thanked: 489 times
Re: Converting a EOD system to intraday
Dear evanscje,
Because in the first case RSI is calculated for the current bar (on which the order is generated) and on every tick. In the second case RSI is calculated on the current bar, but the order will be generated for the next bar.
Because in the first case RSI is calculated for the current bar (on which the order is generated) and on every tick. In the second case RSI is calculated on the current bar, but the order will be generated for the next bar.