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

Re: [amibroker] Import metastock volume problem



PureBytes Links

Trading Reference Links




Now I'm perplexed.  You seem to be putting 
back errors that you had corrected as suggested by Bob Jagow.  You can't 
have parentheses in that buy signal.
 
Gernot
 
Here is your formula in working order:
 

function T3(price,periods)
{
s = 0.618;
e1=EMA<FONT 
size=1>(price,periods);
e2=EMA(e1,Periods);
e3=EMA(e2,Periods);
e4=EMA(e3,Periods);
e5=EMA(e4,Periods);
e6=EMA(e5,Periods);
c1=-s*s*s;
c2=3*s*s+<FONT 
color=#ff00ff size=1>3*s*s*s;
c3=-6*s*s-<FONT 
color=#ff00ff size=1>3*s-<FONT color=#ff00ff 
size=1>3*s*s*s;
c4=1+<FONT 
color=#ff00ff size=1>3*s+s*s*s+<FONT color=#ff00ff 
size=1>3*s*s;
Ti3=c1*e6+c2*e5+c3*e4+c4*e3;
return ti3;
}
Plot(C,<FONT color=#ff00ff 
size=1>"",1<FONT 
size=1>,64<FONT 
size=1>);
Plot(T3(C,<FONT color=#ff00ff 
size=1>3),"T3"<FONT 
size=1>,colorBlue,1<FONT 
size=1>);
Plot(t3(C,<FONT color=#ff00ff 
size=1>9),"T3"<FONT 
size=1>,colorRed,1<FONT 
size=1>);
T3A=T3(C,3);
T3B=T3(C,9<FONT 
size=1>);
Buy = Cross<FONT 
size=1>(T3A,T3B);
PlotShapes(<FONT color=#0000ff 
size=1>IIf(Buy,shapeUpArrow,shapeNone) 
,colorBrightGreen,0<FONT 
size=1>,Graph0,-15<FONT 
size=1>);
AlertIf( Buy, <FONT color=#ff00ff 
size=1>"SOUND C:\\Program Files\\ahead\\Nero\\Beeth9th.wav", 
"Audio alert", 
2 
);
 
 
 
 
 
  
<BLOCKQUOTE 
>
  ----- Original Message ----- 
  <DIV 
  >From: 
  <A title=bruiserbbq@xxxxxxxxxxxx 
  href="">bruiserbbq 
  To: <A title=amibroker@xxxxxxxxxxxxxxx 
  href="">amibroker@xxxxxxxxxxxxxxx 
  Sent: Wednesday, April 28, 2004 10:28 
  PM
  Subject: [amibroker] Re: What's wrong 
  with this formula?
  Here's what I have at the momentBuy = Cross( "T3" 
  (C,3) , "T3" (C,9) );AlertIf( Buy, "SOUND C:\\Program 
  Files\\ahead\\Nero\\Beeth9th.wav", "Audio alert", 2 );AND THIS 
  IS THE ERROR I GET:Line 1, Column 19:Buy = Cross( "T3" 
  (-----------------^Error 23.Syntax 
  errorCheers   BruiserSend BUG 
  REPORTS to bugs@xxxxxxxxxxxxxSend 
  SUGGESTIONS to 
  suggest@xxxxxxxxxxxxx-----------------------------------------Post 
  AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A 
  href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check 
  group FAQ at: <A 
  href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
  


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








Yahoo! Groups Sponsor


  ADVERTISEMENT 












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 the Yahoo! Terms of Service.