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

RE: [amibroker] Can you plot a horizontal line for Gapup?



PureBytes Links

Trading Reference Links

Try something like this
Startbar = valuewhen(gapup(),barindex());
GapUpLow = valuewhen(gapup(),L);
LineUp = IIf(BarIndex()<startbar, Null, GapUpLow );
Plot(LineUp, "GapUp", colorGreen, styleLine);

Cheers,
Graham
http://groups.msn.com/ASXShareTrading
http://groups.msn.com/FMSAustralia


-----Original Message-----
From: theoldchartreader [mailto:theoldchartreader@xxxxxxxxx] 
Sent: Saturday, 5 July 2003 6:28 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Can you plot a horizontal line for Gapup?


This is the formula that I am using, it does find the Gapup and 
Gapdown.
But I can not figure out how to plot a horizontal from the Gapup to 
the right side of the chart. does any one have any ideas.

Plot(GapDown(),"GAP",colorRed,styleLine);
Plot(GapUp(),"GAP",colorGreen,styleStaircase);
PlotOHLC( Open, High,  Low, Close, "Price",colorGreen, styleBar );

Thank you,
Dennis



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 http://docs.yahoo.com/info/terms/ 


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Save on Coral Calcium. Get Better Health and
Stronger Bones. Seen on TV
http://www.challengerone.com/t/l.asp?cid-2805&lp=calcium2.asp
http://us.click.yahoo.com/9gf46B/EfUGAA/ySSFAA/GHeqlB/TM
---------------------------------------------------------------------~->

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 http://docs.yahoo.com/info/terms/