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

[amibroker] Logig help needed



PureBytes Links

Trading Reference Links

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






------------------------ 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/