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

RE: [amibroker] Re: Logig help needed



PureBytes Links

Trading Reference Links

Last value in a loop is BarCount - 1 as in:
Buy[BarCount - 1];

--
Terry

-----Original Message-----
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On
Behalf Of dieterdotbraun
Sent: Monday, October 03, 2005 13:32
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Re: Logig help needed

Hi Tomasz,

i have read your link and i understand more and more whats wrong.

I understand the difference between a array avlue and a textstring.
I could not realy understand why i must count through the arry to get
the last value .
In my logic this the Last value i need for compare with .
Could i use the last value()?.
I must make break.(My Brain need a reset).

Tomasz ,there a lot of functions i can not find a discription about .
e.g 
Function() /return
I think there a lot of new functions come from release to release  and
are not decribe in the Ref.libary.
How can i get this Information about.

regards,Dieter


--- In amibroker@xxxxxxxxxxxxxxx, "Tomasz Janeczko" <amibroker@xxxx>
wrote:
> Explained in the User's Guide:
> 
> http://www.amibroker.com/guide/a_mistakes.html
> 
> 
> Best regards,
> Tomasz Janeczko
> amibroker.com
> ----- Original Message ----- 
> From: "dieterdotbraun" <dieterdotbraun@xxxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Monday, October 03, 2005 6:21 PM
> Subject: [amibroker] Logig help needed
> 
> 
> > Hi poeple,
> > 
> > please give a little logig help.
> > 
> > always i get a Massage :
> > 
> > Error 6
> > Condition if,while,for statments
> > use [] Array subscrit Operator
> > 
> > The At1 Signal is from Parametertoogle
> > If i Put this code in a empty Formular its work well.
> > Do iput in my complete Formular with rest code its will not work.
> > The Lines Market with <<<<<<ok works any times well.
> > 
> > Waths wrong?I dont understand why the same syntax somtimes partial
works.
> > 
> > If i change A_Buy with buy its the same problem.
> > 
> > 
> > if(AT1==0 AND M_Buy ==1){Act="BUY" ;ORder_send=1;} <<<<< OK
> > else if(AT1==0 AND M_sell==1){Act="SELL";ORder_send=1;} <<<<< OK
> > 
> > else if(AT1==1 AND A_Buy==1){Act="BUY" ;ORder_send=1;} <<<<< ???
> > else if(AT1==1 AND A_Sell==1){Act="SELL";ORder_send=1;} <<<<< ???
> > else if(AT1==1 AND A_Cover==1){Act="BUY" ;ORder_send=1;} <<<<< ???
> > else if(AT1==1 AND A_Short==1){Act="SELL";ORder_send=1;} <<<<< ???
> > 
> > Thanks for hel in advance.
> > Dieter
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > Please note that this group is for discussion between users only.
> > 
> > To get support from AmiBroker please send an e-mail directly to 
> > SUPPORT {at} amibroker.com
> > 
> > For other support material please check also:
> > http://www.amibroker.com/support.html
> > 
> > 
> > Yahoo! Groups Links
> > 
> > 
> > 
> > 
> > 
> > 
> >





Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html

 
Yahoo! Groups Links



 




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Try Online Currency Trading with GFT. Free 50K Demo. Trade 
24 Hours. Commission-Free. 
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html

 
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:
    http://docs.yahoo.com/info/terms/