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

[amibroker] Re: really really need help....



PureBytes Links

Trading Reference Links

Assuming you are buying on C then why not just ...

AddColumn(C,"C", 10.2);


--- In amibroker@xxxxxxxxxxxxxxx, "thecoolestdude1369" 
<thecoolestdude1369@xxx> wrote:
>
> i've sent this in before but can't seem to get it to work and have 
not 
> got any fix.  i've read the guide, i've looked at countless 
examples 
> and went through the tutorial several times and still can't get 
this 
> to work.  here's a simple formula that i found in the tutorial--
which 
> seems to work fine in scan and backtest but having abolutely no 
> success in exploration.... buy and sell price are always the same 
and 
> never show the profit or loss.  what am i doing wrong!?  please 
help...
> i want it to work for exploration./
> 
> Buy = Cross(Signal(),MACD());
> Sell = Cross(MACD(), Signal());
> 
> 
> Filter = Buy OR Sell;
> 
> AddColumn(BuyPrice,"buy price", 10.2);
> AddColumn(SellPrice,"sell price",10.2);
> AddColumn(BuyPrice-SellPrice,"profit",10.2);
>




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