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

[amibroker] Showing Applystop sellingprice in explorer



PureBytes Links

Trading Reference Links

Hello,

I'm trying to show ALL buying signals along with their Nbar time exits
in explorer. I can't use backtest as it doesn't show entry signals on
 already open positions.
I wrote the code:

Buy = .......;
Sell = o;
Applystop(stopTypeNbar,stopModeBars,10);
Equity(1,0)

Filter = Buy;
Filter = Sell>0;
Addcolumn(BuyPrice,"bp");
Addcolumn(SellPrice,"sp");

This only returns the same sellprice as buyprice. Is my whole approach
to this wrong? Do the stops actually register after buy signals?
or can I only do this in custom backtest?

any help would be greatly appreciated.

ps:sorry if anyone read similar post before as it got lost back there
in the crowd.




Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.13.27/517 - Release Date: 11/3/2006