|
chaz
2013-03-09 00:20:24
0
|
|
Hi QS,
Thank you for the answer. I tried it in Trading system but it throws an error when I run it with intraday timeframe:
"QuantShare encountered a problem
Please report this error by clicking on send
Unexpected behaviour (1) "
I sent it few times but I do not know if QS receives those messages.
the formulas are:
buy = TimeFrameDecompress(TimeframeApply (3*60,close > sma(7)));
sell = TimeFrameDecompress(TimeframeApply(3*60, ema(7) > close));
They work fine when default timeframe (in Symbols & Dates is 'Daily') and
in Chart
plot(buy,"cross_Up",ColorBlue);
plot(sell,"cross_Down",ColorRed);
Any idea what is wrong & why it doesn't work with intraday data ?
QS Vers. 2.9.7 Win7x64 SP1
|
|