PureBytes Links
Trading Reference Links
|
The plotshapes is not really needed to be within the loop to show all of the
signals
You can have this outside the loop
Plotshapes(buy*shapeuparrow, colorblue, 0, L, 0 );
Or if you want to put it inside the loop
Plotshapes(buy[i]*shapeuparrow, colorblue, 0, L[i], 0 );// I think the [i]
is required for the position L, but not certain
Cheers,
Graham
http://www.golala.com/forums/?mforum=asxsharetrading
http://groups.msn.com/fmsaustralia
-----Original Message-----
From: pip_hunter_2003 [mailto:pip_hunter_2003@xxxxxxxxx]
Sent: Thursday, 22 January 2004 10:01 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Plotting shapes in for() loop
How can I plot shapes in for() loop?
I am trying to plot arrows to the near of the current bar on the
chart as follows,
--- start of clip ---
for(i=0; i<BarCount; i++) {
if(Buy[i] == 1) {
// Plot arrow here
}
}
--- end of clip ---
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/
|