PureBytes Links
Trading Reference Links
|
If you use a formula in a scan or an exploration, you must have buy or
sell signals.
Add :
Buy=1; // or any buy or sell condition
At the end of your formula.
AL,
-----Message d'origine-----
De : amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] De la
part de osgem_2006
Envoyé : samedi 12 août 2006 04:10
À : amibroker@xxxxxxxxxxxxxxx
Objet : Re: RE : [amibroker] TRENDLINE BREAK ALERTS
thanks for the reply
I get following error when I tried to scan a symbol , " missing buy
sell variable", what change is necessary . also do I need to put
chart id in the formula.Please help
thanks
osgem
--- In amibroker@xxxxxxxxx <mailto:amibroker%40yahoogroups.com> ps.com,
"martinod" <amartinod@xxx> wrote:
>
> That worked for me :
>
>
> Filter=Cross(Study("TL",GetChartID()),CCI(14)) or Cross(CCI(14),
> Study("TL",GetChartID()));
>
> AL,
>
> -----Message d'origine-----
> De : amibroker@xxxxxxxxx <mailto:amibroker%40yahoogroups.com> ps.com
[mailto:amibroker@xxxxxxxxx <mailto:amibroker%40yahoogroups.com> ps.com]
De la
> part de osgem_2006
> Envoyé : samedi 5 août 2006 09:02
> À : amibroker@xxxxxxxxx <mailto:amibroker%40yahoogroups.com> ps.com
> Objet : [amibroker] TRENDLINE BREAK ALERTS
>
> i want to write formula for alert of trendline break on an
indicator.
> I wrote the following
> // Trendline Alerts
> Sell = Cross( CCI 14, Study( "SU" ),CCI 14,GetChartID());
> when i tried to scan a symbol I get syntax error , error 31,syntax
> error, expecting '('
>
> please help me to write the correct code.
>
> thanks
> osgem_2006
>
|