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

Re: [amibroker] System Trading



PureBytes Links

Trading Reference Links

Larry M. Powell said:


> I am trying to get AA Settings to trade as follows:

> If a buy signal were to come today, I would buy tomorrow when the high of
today is crossed,
> If a sell signal were to come today, I would sell tomorrow when the low to
today is crossed,

> When I put this in AA Settings as per the attached, I get strange results.

I'm only a beginner, but this doesn't sound like something you'd use the
settings for. Why not try:

Tick=/*Insert minimum possible move*/;
Signal=/*Insert your code here*/;
BuyPrice=Max(L,Ref(H,-1) + Tick);
Buy=Ref(Signal,-1) AND H > Ref(H,-1);

Owen Davies