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

[amibroker] Formula



PureBytes Links

Trading Reference Links









I’m attempting to write this code for an exploration.
When I get to the end, it says syntax error and puts the black curser on the
final character, the semi-colon.

Can anyone tell me what I am doing wrong? Thanks.

 

<font
size=2 color=black face="Courier New">Filter<font
size=2 color=blue face="Courier New">=<font size=2
color=black face="Courier New">C<font size=2 color=blue
face="Courier New">>=<font size=2 color=fuchsia
face="Courier New">12<span
>
<span
>AND<font
size=2 color=blue face="Courier New"> <span
class=GramE>MA(<font size=2 color=black
face="Courier New">V<font size=2 color=blue
face="Courier New">,<font size=2 color=fuchsia
face="Courier New">50<span
>)>=<font
size=2 color=fuchsia face="Courier New">100000<font size=2
color=blue face="Courier New">;

<font
size=2 color=blue face="Courier New"> 

<span
class=SpellE><span
>IIf<span
class=GramE><span
>(<font
size=2 color=blue face="Courier New">Cross(CCI<span
>(<font size=2 color=fuchsia
face="Courier New">40<span
>),<font
size=2 color=blue face="Courier New">MA(CCI<span
>(<font size=2 color=fuchsia
face="Courier New">40<span
>,<font
size=2 color=fuchsia face="Courier New">5<font size=2
color=blue face="Courier New">)) <font size=2 color=black
face="Courier New">AND<font size=2 color=blue
face="Courier New">

<span
class=GramE>CCI(<font size=2 color=fuchsia
face="Courier New">40<span
>)<=-<font
size=2 color=fuchsia face="Courier New">100<font size=2
color=blue face="Courier New">,<font size=2 color=fuchsia
face="Courier New">4<span
>),

<font
size=2 color=blue face="Courier New"> 

<font
size=2 color=blue face="Courier New">/*IIf<span
class=GramE>(Cross(CCI(40),MA(CCI(40,5)) AND

<span
class=GramE>CCI(<font
size=2 color=blue face="Courier New">40)>-100 AND CCI(40)<=0,3),

<font
size=2 color=blue face="Courier New"> 

<span
class=SpellE><span
>IIf<span
class=GramE>(<font
size=2 color=blue face="Courier New">Cross(CCI(40),MA(CCI(40),5)) AND

<span
class=GramE>CCI(<font
size=2 color=blue face="Courier New">40)>0 AND CCI(40)<=100,2),

<font
size=2 color=blue face="Courier New"> 

<span
class=SpellE><span
>IIf<span
class=GramE>(<font
size=2 color=blue face="Courier New">Cross(CCI(40),MA(CCI(40),5)) AND

<span
class=GramE>CCI(<font
size=2 color=blue face="Courier New">40)>100,1),

<font
size=2 color=blue face="Courier New"> 

<span
class=SpellE><span
>IIf<span
class=GramE>(<font
size=2 color=blue face="Courier New">Cross(CCI(40),MA(CCI(40,5)) AND

<span
class=GramE>CCI(<font
size=2 color=blue face="Courier New">40)<=-100,-1),

<font
size=2 color=blue face="Courier New"> 

<span
class=SpellE><span
>IIf<span
class=GramE>(<font
size=2 color=blue face="Courier New">Cross(MA(CCI(40),5),CCI(40)) AND

<span
class=GramE>CCI(<font
size=2 color=blue face="Courier New">40)>-100 AND CCI(40)<=0,-2),

<font
size=2 color=blue face="Courier New"> 

<span
class=SpellE><span
>IIf<span
class=GramE>(<font
size=2 color=blue face="Courier New">Cross(MA(CCI(40),5),CCI(40)) AND

<span
class=GramE>CCI(<font
size=2 color=blue face="Courier New">40)>0 AND CCI(40)<=100,-3),

<font
size=2 color=blue face="Courier New"> 

<span
class=SpellE><span
>IIf<span
class=GramE>(<font
size=2 color=blue face="Courier New">Cross(MA(CCI(40),5),CCI(40)) AND

<span
>CCI(<font
size=2 color=blue face="Courier New">40)>100,-4,0;<font size=2
face=Arial>

 

<font size=3
face=BrushScrD>Bob Flori<span
>

 

<font
face=Arial>bflori@xxxxxxx<span
>

 

 <span
>

 










Yahoo! Groups Sponsor












Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.