PureBytes Links
Trading Reference Links
|
<SPAN
class=697063704-30062004>Dead tired, outa here, but
quickly...
<SPAN
class=697063704-30062004>
<SPAN
class=697063704-30062004>- ApplyStop doesn't return a value, it just generates
sell and cover signals. (Not that you're tyring to, but there's no way to plot
the exist line generated by ApplyStop. For a plottable line, you neeed to roll
your own.)
<SPAN
class=697063704-30062004>
<SPAN
class=697063704-30062004>- If you want to see the signals from Apply Stop in an
indicator or exploration, you need to call Equity(1).
<SPAN
class=697063704-30062004>
<SPAN
class=697063704-30062004>Check the docs (:-).
<SPAN
class=697063704-30062004>
<SPAN
class=697063704-30062004>Dave
<BLOCKQUOTE
>Hi
Guy's, I'm having a problem with backtesting this basic system..I'm only
getting one days result for each signal...can anyone point out what's
wrong with this code?cond1 = ADX(14) > 20;cond2 = High >
Ref(HHV(H,30),-1);cond3 = Volume > 200000;cond4 = Close >
0.15;Filter = cond1 AND cond2 AND Cond3 AND Cond4;Buy = cond1
AND cond2 AND Cond3 AND Cond4;Sell = ApplyStop( stopTypeLoss,
stopModePoint, 3 * ATR( 10 ), True );PlotShapes( shapeUpArrow * Buy,
colorGreen
);AddColumn(Buy,"Buy");AddColumn(Open,"Open",1.3);AddColumn(Close,"Close",1.3);AddColumn(
ADX(14), "ADX", 1.2 );AddColumn(Volume,"Volume",1.0);Thanks in
advance.Dumb Ol'Bruiser
Check AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Sponsor
ADVERTISEMENT
Yahoo! Groups Links
To visit your group on the web, go to:http://groups.yahoo.com/group/amibroker/
To unsubscribe from this group, send an email to:amibroker-unsubscribe@xxxxxxxxxxxxxxx
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
|