PureBytes Links
Trading Reference Links
|
Dear Group Members and Tomasz,
I am intraday trader from India and in total 35 bars are plotted in
my afl ( code given below) during the day.
please help me in coding the following afl so that second last bar(
i.e 34th Bar) is not plotted and nor my afl takes 34th bars high or
low values in the calculations.
_SECTION_BEGIN( "Heikin" );
Haclose = ( O + H + L + C ) / 4;
HaClose = ( O + H + L + C ) / 4;
HaOpen = AMA( Ref( HaClose, -1 ), 0.5 );
HaHigh = Max( H, Max( HaClose, HaOpen ) );
HaLow = Min( L, Min( HaClose, HaOpen ) );
heikincolor = IIf( HaClose >= HaOpen, colorGreen, colorRed );
PlotOHLC( HaOpen, HaHigh, HaLow, HaClose, "", heikincolor,
styleCandle + styleNoLabel + styleNoTitle );
_SECTION_END();
DailyH = TimeFrameExpand( TimeFrameCompress(HaClose, inDaily,
compressHigh), inDaily, expandFirst);
DailyL = TimeFrameExpand( TimeFrameCompress(HaClose, inDaily,
compressLow), inDaily, expandFirst);
Plot( Haclose, "haclose", colorBlue, styleDots );
Plot( DailyH , "dailyHigh", colorGreen, styleStaircase);
Plot( DailyL , "dailyLow", colorRed, styleStaircase);
// end
i would be highly indebted
regards
bobby kular
------------------------------------
**** IMPORTANT ****
This group is for the discussion between users only.
This is *NOT* technical support channel.
*********************
TO GET TECHNICAL SUPPORT from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
*********************
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
For other support material please check also:
http://www.amibroker.com/support.html
*********************************
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/amibroker/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:amibroker-digest@xxxxxxxxxxxxxxx
mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx
<*> 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/
|