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

Re: [amibroker] Re: Export to Metastock format



PureBytes Links

Trading Reference Links

You need to add somemore bits to the plotshapes like below to tell it where
to plot on the chart

PlotShapes( shapeUpArrow*D1C, colorBrightGreen, 0, L, -10 );

Cheers,
Graham
http://www.golala.com/forums/?mforum=asxsharetrading
http://groups.msn.com/fmsaustralia 

-----Original Message-----
From: hertyil [mailto:herty@xxxxxxxxxxxxxxxx] 
Sent: Monday, 2 February 2004 6:47 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] What's wrong?


Hi fellows,
I'll appreciate help with this. Why doesn't D2C get plotted in the 
following code? D2 or D2C are incorrect, why?

D1L=L==LLV(L,10);
D1C=C==ValueWhen(D1L,C,1);      /* close of Day 1 */
D2=BarsSince(D1L)>8 AND L<D1L OR L<D1C OR C<D1C;  /* condition for 
Day 2 */
D2C=C==ValueWhen(D2,C,1); /* close for day 2  */

Plot(C,"",1,128);
PlotShapes(IIf(D1C,shapeUpArrow,shapeNone) ,colorBrightGreen);
PlotShapes(IIf(D2C,shapeUpArrow,shapeNone) ,colorBlue); 

Herbert 


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 ---------------------~--> Buy
Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark Printer
at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->

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/ 


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 ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->

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/