PureBytes Links
Trading Reference Links
|
On a 15 minute chart I want to use plotshapes to indicate if a 4hr bar's close was up or
down relative to prev a 4hr bar. I've tried the following, but it doesn't work. Obviously
I'm doing something wrong, but I can't quite work it out. Anyone? Thanks!
TimeFrameSet( 4*inHourly );
CLU4 = C > Ref( C,-1) AND Ref(C,-1) > Ref(O,-1);
CLD4 = C < Ref( C,-1) AND Ref(0,-1) < Ref(C,-1);
TimeFrameRestore();
CLU44 = TimeFrameExpand(CLU4,4*inHourly);
CLD44 = TimeFrameExpand(CLD4,4*inHourly);
PlotShapes(CLU44*shapeUpArrow,colorAqua,0,High,-15);
PlotShapes(CLD44*shapeDownArrow,colorDarkYellow,0,Low,-15);
------------------------ Yahoo! Groups Sponsor --------------------~-->
What would our lives be like without music, dance, and theater?
Donate or volunteer in the arts today at Network for Good!
http://us.click.yahoo.com/Tcy2bD/SOnJAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~->
Check AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
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/
|