PureBytes Links
Trading Reference Links
|
Try this
if( Lastvalue( DateNum() )==Now(3)) Plot( Close, "", ColIdea, styleCandle);
--
Cheers
Graham Kav
AFL Writing Service
http://www.aflwriting.com
2009/3/15 K. Karunakaran <osp2osp@xxxxxxxxx>:
> Many Many Thanks.
>
> It is plots only the current day many thanks once.
>
> Warm Regards.
>
> K Karunakaran
>
> --- In amibroker@xxxxxxxxxxxxxxx, Tony Grimes <Tonez.Email@xxx> wrote:
>>
>> Try This:
>>
>> a = IIf(DateNum()==Now(3), 1, Null);
>>
>> PlotOHLC( Open*a, High*a, Low*a, Close*a, "", colorBlack, styleCandle );
>>
>>
>>
>> On Sat, Mar 14, 2009 at 5:55 AM, K. Karunakaran <osp2osp@xxx> wrote:
>>
>> > I have tried "IIF" also, something is wrong, unable to figure out. Not a
>> > computer expert. Can you write the correct code please.
>> >
>> > --- In amibroker@xxxxxxxxxxxxxxx <amibroker%40yahoogroups.com>,
>> > "wavemechanic" <fimdot@> wrote:
>> > >
>> > > I assume that you are getting "Error 6". If so, look up this error in the
>> > Users Guide as well as if() and iif().
>> > >
>> > > Bill
>> > > ----- Original Message -----
>> > > From: K. Karunakaran
>> > > To: amibroker@xxxxxxxxxxxxxxx <amibroker%40yahoogroups.com>
>> > > Sent: March 13, 2009 10:41 AM
>> > > Subject: [amibroker] how to plot current days intra day chart alone
>> > >
>> > >
>> > > I have tried the following to plot only current days intra day chart.
>> > >
>> > > if(DateNum()==Now(3)) PlotOHLC( Open, High, Low, Close, "", ColIdea,
>> > styleCandle);
>> > >
>> > > Any help please.
>> > >
>> > > Warm Regards.
>> > >
>> > > K Karunakaran
------------------------------------
**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.
TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com
TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
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/
|